Daniel Martí
fb5a2209fc
Use python-magic, filemagic's official python binding lib
2013-10-16 23:19:11 +02:00
Daniel Martí
bd59b2f77d
Don't catch octet-stream, catch static libs and bin exes
2013-10-16 23:19:11 +02:00
Daniel Martí
7eb8dfedc6
Fixes to scanignore and relative paths in scans
2013-10-16 10:54:11 +02:00
Daniel Martí
0154a77854
Import magic only at build time
2013-10-16 09:31:26 +02:00
Daniel Martí
779476e6f4
Find blobs by magic numbers
2013-10-15 23:24:37 +02:00
Ciaran Gultnieks
99510de07a
Fix error message error
2013-10-15 15:52:53 +01:00
Ciaran Gultnieks
25ae0e8d79
Allow archive policy override for indivudual apps
2013-10-14 16:16:34 +01:00
Daniel Martí
47cad8fca7
Add support for Litecoin in the server
2013-10-13 00:03:11 +02:00
Daniel Martí
603aa34114
vcs_svn reset back to shell=True
2013-10-11 17:08:07 +02:00
Daniel Martí
f9eda50276
Fix silly object name issue, also clean jni dirs
2013-10-10 16:30:32 +02:00
Daniel Martí
0bde32fd99
Be more consistent when doing cleans
...
All update dirs, including ., will remove baddirs.
Right before build=, (ant|maven|gradle) clean will run
2013-10-10 15:48:39 +02:00
Daniel Martí
0949395771
Be more consistent when running bash commands ( fixes #365 )
2013-10-09 23:37:53 +02:00
Ciaran Gultnieks
42497533a5
Revert "Don't stop if srclib paths are hard-coded"
...
This reverts commit 33a95637c0
.
2013-10-09 10:11:34 +01:00
Ciaran Gultnieks
5ce730a3a0
Detect proprietary youtube api lib
2013-10-09 09:48:41 +01:00
Daniel Martí
33a95637c0
Don't stop if srclib paths are hard-coded
...
If the raise takes place, UCMs with srclibs don't work.
2013-10-08 00:38:24 +02:00
Daniel Martí
890a1adb6f
Do not repeat stderr and stdout when -v/--verbose
2013-10-02 19:29:17 +02:00
Ciaran Gultnieks
8f8360fcf6
Don't try and parse username/password out of repo address except for svn
2013-10-02 10:25:26 +01:00
Ciaran Gultnieks
e9aff5f31d
Add HTTP update check mode
2013-10-01 10:19:17 +01:00
Daniel Martí
89a4e17c3b
Added myself to copyright notices
2013-09-28 21:06:33 +02:00
Daniel Martí
e3682bd5a8
Fix many cases of UCM for Gradle
2013-09-21 19:43:31 +02:00
Daniel Martí
4193caa0d4
Remove all bin dirs on update= dirs, be more verbose
2013-09-16 12:53:27 +02:00
Daniel Martí
c4237fe732
Fixes to gotorevision(None)
...
Up until now, this would do nothing in most cases
2013-09-15 23:20:42 +02:00
Daniel Martí
9257690f95
Allow for leading and trailing whitespaces in ';'-separated lists (e.g. update= abc ; def ; ...)
2013-09-11 13:45:02 +02:00
Daniel Martí
fba8fb839c
Allow spaces before/after field key names
2013-09-11 01:07:51 +02:00
Daniel Martí
fed04a0429
Don't print all metadata reads; Only print when an exception is present
2013-09-06 22:38:36 +02:00
Daniel Martí
94b083063a
Add UCM:Tags support to hg
2013-09-06 20:33:47 +02:00
Paul Sokolovsky
24af895915
Print progress messages as a build goes thru various stages.
...
Without this, we get bunch of messages at the start of build, which
end with "Applying patch", and then all the things hangs for several
minutes (or more, in case of network problems, etc). So, consistently
keep user aware od what's happening. Note that --verbose switch affects
deatiledness and amount of output (in particular, if it's given, "build"
command output goes to console instead of log).
2013-08-28 22:12:33 +03:00
Daniel Martí
76d3b56ff5
Remove a bunch of unused imports
2013-08-22 16:42:57 +02:00
Daniel Martí
f6554d846c
Remove bin/ and gen/ in update= dirs too!
2013-08-21 16:20:27 +02:00
Daniel Martí
562f539e96
When parsing manifests, default version name to "Unknown"
2013-08-15 16:01:33 +02:00
Daniel Martí
990321d33d
Fetch CV @string values at checkupdates
2013-08-15 12:15:44 +02:00
Daniel Martí
13a8b1fd0a
Return none if no AM.xml paths exist
2013-08-14 15:07:26 +02:00
Daniel Martí
36f524e624
Do not duplicate verbose output when parsing metadata
2013-08-14 14:27:05 +02:00
Daniel Martí
2fdd274580
Merge branch 'gradle' (finally!)
...
Conflicts:
fdroidserver/checkupdates.py
2013-08-14 12:03:19 +02:00
Daniel Martí
a23fb27155
Forgot to remove debugging prints
2013-08-13 16:00:51 +02:00
Daniel Martí
0ad09f6481
Improve checkupdates further, Auto Name works with gradle
2013-08-13 15:58:43 +02:00
Daniel Martí
1fcb56b946
Use last found package name if none found
2013-08-13 15:25:47 +02:00
Daniel Martí
cf47e151f7
Small fixes to checkupdates
2013-08-13 14:51:40 +02:00
Daniel Martí
578e030ee6
Try and adapt checkupdates to gradle better
2013-08-13 12:02:48 +02:00
Daniel Martí
1e7bfc9864
Don't run gradle during checkudpates. Use whatever can be found.
2013-08-09 17:15:27 +02:00
Daniel Martí
705a05f4c1
Market is broken, don't default to it
2013-08-08 16:47:26 +02:00
Daniel Martí
ece2ece071
Deprecate aapt_path in favour of sdk_path + build_tools
2013-08-08 13:00:02 +02:00
Daniel Martí
d86a68b858
Fix gradle checkupdates with tags and RM. new settings.
2013-08-08 12:55:48 +02:00
Daniel Martí
89a9447a8c
Use src/ rather than source/
2013-08-03 18:53:01 +02:00
Daniel Martí
8c8a20bcb1
Merge master into gradle
2013-08-03 18:37:29 +02:00
Daniel Martí
7ff2fafb1b
Print which srclib are we updating
2013-08-03 18:18:10 +02:00
Daniel Martí
a5b8659632
New gradle=[flavour] field
2013-08-03 17:07:55 +02:00
Daniel Martí
59e212d7a3
Try and use new gradle AM.xml path
2013-08-03 16:44:14 +02:00
Daniel Martí
a49b405780
Remove deprecated parameter
2013-07-31 19:51:02 +02:00
Frans Gifford
e0e6e711c3
Use config.py to locate aapt
...
This uses aapt_path in config.py to locate the aapt command. The latest
Android SDK moved aapt out of platform-tools/ causing builds which depend
on this path to fail.
Signed-off-by: Frans Gifford <frans.gifford@cs.ox.ac.uk>
2013-07-31 19:51:02 +02:00
Daniel Martí
6adc661e0e
Auto Names: handle escaped \' and nested strings
2013-07-10 12:02:19 +02:00
Daniel Martí
69619a5acf
Use all xml files to figure out strings
2013-07-08 15:24:48 +02:00
Daniel Martí
fa552b12cb
Add retrieve_string(); use it in parse_androidmanifest
2013-07-05 22:34:53 +02:00
Daniel Martí
bc6e9cd4b4
Try a better regex match for the versionName
2013-07-04 15:55:44 +02:00
Daniel Martí
c2c1792727
Better @string globbing, should fix some AutoNames
2013-06-27 21:39:00 +02:00
Ciaran Gultnieks
e86aab59b6
More srclib-related fixing
2013-06-25 19:13:36 +01:00
Daniel Martí
39c315953f
labels can be on the same line as <application
2013-06-15 18:33:24 +02:00
Daniel Martí
304412dee5
Never use @string/* as Auto Name
2013-06-14 10:09:23 +02:00
Daniel Martí
d1ef217895
Only match label of the first application element
2013-06-14 10:06:22 +02:00
Daniel Martí
3f7b6b8734
Allow extra fields in real name string
2013-06-14 08:42:43 +02:00
Daniel Martí
182fd08cf4
Remove tabs from previous commit
2013-06-13 09:37:42 +02:00
David Black
00471847c5
add google-play-services and crittercism to scanner
2013-06-12 15:20:58 +01:00
Daniel Martí
ed64737678
real name can't be None
2013-06-12 12:05:55 +02:00
Daniel Martí
58f555737f
Add "Auto Name" field, fill it in checkupdates
2013-06-11 00:30:30 +02:00
Daniel Martí
9c3b4a9daa
Substitute variables in Prepare for srclibs too
2013-06-09 23:15:46 +02:00
Ciaran Gultnieks
68df47779d
Fix more srclib-related stuff
2013-06-05 12:54:47 +01:00
Ciaran Gultnieks
cfa2646b8f
Transfer srclibs properly
2013-06-04 22:42:18 +01:00
Ciaran Gultnieks
9ff536eae6
Use bash for init/prebuild, not sh
2013-06-04 22:38:44 +01:00
Daniel Martí
785e17428a
Add support for spaces in git-svn tags, fixes
2013-06-03 11:20:49 +02:00
Daniel Martí
c11464bdd5
Fix git-svn tags and checkouts
2013-06-03 10:56:17 +02:00
Ciaran Gultnieks
94afbd8878
Merge branch 'master' of gitorious.org:f-droid/fdroidserver
2013-05-31 07:59:50 +01:00
Ciaran Gultnieks
7707e0902e
Report missing srclib properly
2013-05-31 07:50:47 +01:00
Daniel Martí
5d36f41c3f
Forgot to remove "trunk" in git-svn checkout
2013-05-28 16:36:52 +02:00
Daniel Martí
86cff4e49c
Treat git-svn git checkouts correctly. Mute tags/*
2013-05-28 16:25:23 +02:00
Daniel Martí
d042a685ce
branches= on git-svn + muliple arguments allowed
2013-05-27 15:03:42 +02:00
Daniel Martí
0861f870a3
More os.path.join() use cases
2013-05-24 23:43:49 +02:00
Daniel Martí
79ec50719d
Add Tags and RM support for srclib, don't copy dir
2013-05-24 23:35:56 +02:00
Ciaran Gultnieks
8d85c7c2c3
Be less vague about svn errors
...
There can be multiple svn repos in use (e.g. srclibs) so it's helpful
to report the source of a failure.
2013-05-22 10:18:10 +01:00
Ciaran Gultnieks
d832bf8e9e
Better build log formatting for wiki
2013-05-20 21:19:53 +01:00
Daniel Martí
77a7e640ad
Forgot to remove a debugging print
2013-05-20 21:57:46 +02:00
Daniel Martí
6808d5d5ed
Revert "fix vercodes."
...
This (partially) reverts commit 05735e9fca
.
2013-05-20 15:48:55 +02:00
Daniel Martí
05735e9fca
build-tools TODO is unnecessary. fix vercodes.
2013-05-20 14:06:18 +02:00
Daniel Martí
9efa52276d
Use build/srclib instead of build/extlib
2013-05-20 13:34:03 +02:00
Daniel Martí
eb39d110d0
Externalize srclibs to fdroiddata
2013-05-20 13:16:06 +02:00
Daniel Martí
775e348853
TODO: use new build-tools path
2013-05-17 09:25:27 +02:00
Daniel Martí
d44d3863ee
Add "No Source Since:[Version]" field.
...
I'll document it once we make sure it works fine.
2013-05-16 21:45:25 +02:00
David Black
6b749852b5
had forgotten to change error message in srclib when copy/pasting
2013-05-15 17:24:26 +01:00
David Black
dfd5a9fd65
Rescu srclib
2013-05-15 17:22:04 +01:00
Daniel Martí
979dc7840d
Use non-greedy version matches
2013-05-15 17:08:17 +02:00
Daniel Martí
f8dfe532e6
Properly match app_version or version
2013-05-15 14:33:14 +02:00
Daniel Martí
166432e0b1
"app_version" is sometimes called "version"
2013-05-15 14:23:18 +02:00
Daniel Martí
607beec675
Use tags for Google-Gson
2013-05-14 23:53:43 +02:00
Daniel Martí
7fce90deba
Add PhotoView srclib
2013-05-14 23:06:06 +02:00
Daniel Martí
13e760ece6
Version names can contain any character
2013-05-14 21:23:36 +02:00
Daniel Martí
f6fb7416c5
Fall back to res/values to avoid @strings/app_name
2013-05-14 20:50:40 +02:00
David Black
cd7f12e44e
add libs/armeabi-v7a to list of dirs deleted before building...
...
I had completely forgotten that native libs were being deleted before
building . It is a sensible thing to do but I'm sure others will fall
foul of this one day.
2013-05-08 14:04:33 +01:00
David Black
552822d9ac
Common-AskSven srclib
2013-05-06 20:41:42 +01:00
David Black
442538a98e
Jutf7 srclib
2013-05-03 15:53:37 +01:00
David Black
3621a9a5f5
NineOldAndroids srclib (dependency of ShowCase-Androzic)
2013-05-02 13:04:38 +01:00
David Black
149cdff204
ShowCaseView (Androzic fork thereof) srclib
2013-05-02 12:21:16 +01:00
David Black
48670b9e6c
PrettyTime srclib
2013-04-28 18:52:27 +01:00
David Black
23efb8999c
force android-10 in K9 srclib
2013-04-27 20:12:39 +01:00
David Black
33315cf438
fix MenuDrawer srclib
2013-04-25 11:06:27 +01:00
David Black
117b3c2400
QuickdicUtils srclib
2013-04-24 18:25:37 +01:00
David Black
7c5a9793ad
DragSort srclib
2013-04-24 17:01:50 +01:00
David Black
1914bb05dc
four srclibs
2013-04-23 20:11:10 +01:00
Daniel Martí
98b7452d95
Fix ABS >= 4.3.0
2013-04-22 17:53:50 +02:00
Daniel Martí
66f52fd59a
Merge gitorious.org:f-droid/fdroidserver
2013-04-19 16:51:13 +02:00
Ciaran Gultnieks
2bb6d51dd3
Don't rely on undocumented global
2013-04-15 15:07:23 +01:00
Ciaran Gultnieks
94a33f0a04
Issue warnings for debuggable apks
2013-04-15 13:04:13 +01:00
Ciaran Gultnieks
ce19ba1c29
Validate version code when parsing metadata
2013-04-14 10:48:40 +01:00
Daniel Martí
a05c43d708
Add srclib for musicbrainz
2013-04-09 23:34:38 +02:00
Daniel Martí
ce371d8b98
elif statements are useless when returns are used
2013-04-08 12:20:21 +02:00
Daniel Martí
8f0ef401da
Merge git://gitorious.org/f-droid/fdroidserver
2013-04-08 12:10:17 +02:00
David Black
acadbdbaa9
XChange srclib
2013-04-07 19:39:53 +01:00
Daniel Martí
4454627ee9
Don't reset gitsvn_cmd mid-process
2013-04-05 22:04:24 +02:00
Daniel Martí
8fc426203d
tags and trunk are variable; append to repo
...
They will be in the form Repo:http://foo.com/svn/project;trunk=...;tags= ...
Both trunk and tags are optional. If trunk is not given, it is assumed that the
Repo url itself contains the raw trunk folder.
2013-04-05 21:55:34 +02:00
Daniel Martí
3abfa5714c
git-svn improvements
...
New features:
* Support for Tags, which allow their use on recipes
* Add Tags Update Check Mode support to git-svn
* Add RepoManifest Update Check Mode support to git-svn
2013-04-05 15:43:12 +02:00
Daniel Martí
81d838dc46
Revert "Remove unnecessary spacings"
...
This reverts commit 1ea46b55dc
.
2013-03-27 00:25:41 +01:00
Daniel Martí
a80938a2aa
Fix srclib
2013-03-26 23:48:23 +01:00
Daniel Martí
1ea46b55dc
Remove unnecessary spacings
2013-03-26 23:39:07 +01:00
Daniel Martí
b655d109cf
Use elif!
2013-03-26 23:37:11 +01:00
Daniel Martí
910f35e415
Add srclib
2013-03-26 23:35:41 +01:00
Daniel Martí
95a70d0e0e
Dumb mistake fixes
2013-03-26 14:34:04 +01:00
Ciaran Gultnieks
1608f3e4a8
Merge commit 'refs/merge-requests/118' of git://gitorious.org/f-droid/fdroidserver into merge-requests/118
2013-03-25 08:24:32 +00:00
Ciaran Gultnieks
538d6d45fc
Allow rm to act on multiple paths (issue #50 )
2013-03-23 13:01:03 +00:00
Daniel Martí
3972fa8fab
New srclibs
2013-03-22 14:44:01 +01:00
Ciaran Gultnieks
9a72cb7209
Add ability to supress scanner for specific files
2013-03-20 09:46:30 +00:00
Ciaran Gultnieks
8c195c637a
Merge commit 'refs/merge-requests/117' of git://gitorious.org/f-droid/fdroidserver into merge-requests/117
2013-03-20 09:36:00 +00:00
Ciaran Gultnieks
64729ba9fe
Add extra build commands that can run after scan/tarball
...
Commands used in the 'build' section are for actual building that
produces binary output. Some existing stuff will need to move from
'prebuild' to this. See manual for more information.
2013-03-20 09:30:56 +00:00
Daniel Martí
df4345e275
Fix elf check
2013-03-19 15:38:54 +01:00
Daniel Martí
e64a3ad515
As per @daithib8's request, remove some extra dirs
2013-03-19 15:32:51 +01:00
Daniel Martí
b5047139e9
Don't check for .elf. .so is just a warning now.
2013-03-19 15:16:46 +01:00
Ciaran Gultnieks
4b472aed5a
Merge commit 'refs/merge-requests/116' of git://gitorious.org/f-droid/fdroidserver into merge-requests/116
2013-03-18 17:34:31 +00:00
Ciaran Gultnieks
02492c3563
Merge commit 'refs/merge-requests/115' of git://gitorious.org/f-droid/fdroidserver into merge-requests/115
...
Conflicts:
fdroidserver/common.py
2013-03-18 17:33:20 +00:00
Ciaran Gultnieks
44d62557a4
Add srclib now needed for org.ttrssreader
2013-03-18 09:17:23 +00:00
Daniel Martí
2b4b484530
Don't need to use find()
2013-03-17 12:44:06 +01:00
Daniel Martí
4f61623501
Better scan
2013-03-17 12:29:54 +01:00
David Black
cbfa2d35a4
LockPattern srclib
2013-03-15 15:41:47 +00:00
David Black
2ec7334048
iptables srclib
2013-03-15 15:29:29 +00:00
Daniel Martí
c050279383
Fix Google-Gson (it is not an ant project)
2013-03-15 16:18:07 +01:00
Daniel Martí
0fb9af733a
Add Google-Gson srclib
2013-03-15 15:20:50 +01:00
David Black
7a26a5dbf9
fix path in RootCommands srclib
2013-03-14 13:40:10 +00:00
Daniel Martí
7bb4d5865b
has_key() is uglier and slower than "if key in..."
2013-03-13 17:56:17 +01:00
David Black
2474242da6
srclib SunriseSunset
2013-03-01 19:39:30 +00:00
David Black
2c0f772efd
MeterLib srclib
2013-03-01 17:59:01 +00:00
David Black
99a4ca87b0
two srclibs: HoloColorPicker and ChartLib
2013-02-27 14:25:22 +00:00
David Black
fa461543ad
srclib: KoushWidgets for Clockworkmod Superuser
2013-02-25 12:02:31 +00:00
David Black
da071715e1
srclib: dashclock
2013-02-17 19:11:42 +00:00
David Black
25c6c4abd4
Merge branch 'master' of git://gitorious.org/f-droid/fdroidserver
...
Conflicts:
fdroidserver/common.py
2013-02-11 16:05:24 +00:00