Daniel Martí
15f2eada8e
Move config.py keystore checks to after vars have been expanded
2014-02-17 20:04:39 +01:00
Daniel Martí
263731e9bc
Complain if buildjni is used but the NDK isn't available
2014-02-17 20:03:55 +01:00
Daniel Martí
f6ffbb5997
Small config fixes
2014-02-17 20:01:55 +01:00
Daniel Martí
f6f23030e2
Move config.buildserver.py into buildserver subdir
2014-02-17 19:16:14 +01:00
moparisthebest
8e40b59c00
Support both debian's and pypi's python-magic libraries, which are different...
2014-02-16 22:42:16 -05:00
Daniel Martí
9fb006b567
Remove python-magic pip dep to avoid magic modules confusion
...
We use the one from the 'file' package, not the standalone one found on PIP.
2014-02-17 17:26:32 +01:00
Daniel Martí
b752aff8ed
Don't crash if an apk got built without source (e.g. with --no-tarball)
2014-02-17 16:51:42 +01:00
Daniel Martí
d192b40687
Can't update an app if there is no CV
2014-02-17 16:51:22 +01:00
Daniel Martí
9064942d06
Remove leftover debug prints
2014-02-17 15:42:21 +01:00
Daniel Martí
a051ea9b93
Don't send a string as cmds to SilentPopen
...
Also, rm= checks for the validity of the paths. That's not useful, since one
could easily do "init=rm -rf ." without that same error popping up.
2014-02-17 14:59:55 +01:00
Daniel Martí
8533b8c44e
Continue using FDroidPopen and SilentPopen more, support shell=
2014-02-17 13:30:11 +01:00
Daniel Martí
cc0943777e
Start implementing SilentPopen
2014-02-17 13:12:25 +01:00
Daniel Martí
0ecd5172b1
Make the 'update' flag a list too
2014-02-17 13:09:44 +01:00
Daniel Martí
f894ac3b29
Docs '@' fix
2014-02-17 13:06:13 +01:00
Daniel Martí
63d7cbee9f
Fix a buildjni regression
2014-02-17 13:04:39 +01:00
Daniel Martí
aa4fec9ca1
Remove stdin from FDroidPopen
2014-02-17 11:23:53 +01:00
Daniel Martí
517ce3a274
Don't git reset if nothing is to be done
2014-02-17 08:26:29 +01:00
Daniel Martí
898e4485c2
Add another build option to skip source scanning
...
It can be very slow on large source code dirs, and if one is trying to get an
application building and the scan already succeeded once, running it again and
again is a waste of time.
2014-02-16 17:40:54 +01:00
Ciaran Gultnieks
cb3a08ff4b
Improve build output situation since logging changes
2014-02-15 23:27:19 +00:00
Ciaran Gultnieks
995e5c84f0
Minor docs typo fix
2014-02-15 23:26:45 +00:00
Daniel Martí
ea4190e241
Also strip comma-separated build flags
2014-02-15 11:00:19 +01:00
Daniel Martí
67acf4c3fc
buildjni is a list field too, some server fixes
2014-02-15 10:56:35 +01:00
Daniel Martí
d0cde659ca
Let the no such package logs in first
2014-02-15 00:40:25 +01:00
Daniel Martí
8b5d510fe2
Append apk dates on the same line as verison names
2014-02-15 00:10:40 +01:00
Daniel Martí
adaa460082
readmeta doesn't take any arguments
2014-02-15 00:00:05 +01:00
Daniel Martí
a49f04a947
Minor fixes to lint.py
2014-02-14 23:59:39 +01:00
Daniel Martí
7f2c0e27ca
Unify Build and Buildv2 parsing into one
...
Fixes:
* Buildv2 errors
* Buildv2 now checks with ordered_flags like Build
* Build now has more descriptive exceptions like Buildv2
2014-02-14 18:33:00 +01:00
Daniel Martí
0da4667bad
Don't clean the main ant project twice
2014-02-13 09:19:26 +01:00
Daniel Martí
c2963c9cde
Prettier fd-commit indenting
2014-02-13 08:17:58 +01:00
Hans-Christoph Steiner
b706ec986f
lint.py: add checks for https:// in various URLs
...
Many times, the http:// URL automatically redirects to https://, like with
github and gitorious. For git repos, using https:// reduces metadata
leakage for more privacy, and increases the security a little bit. For SVN
repos, using https:// is much more important since the repo format itself
does not provide the same level of verification as git, hg, etc. do.
2014-02-12 22:43:27 -05:00
Daniel Martí
24c9232398
Have all multi-value build flags work similarly
...
Semicolons are still supported, but commas are now the better standard.
2014-02-12 11:15:19 +01:00
Daniel Martí
5125b52e39
Remove fixapos and fixtrans
...
These are legacy fixes for very old versions of the Android SDK tools. These
issues have been fixed in stable versions for years.
2014-02-12 10:23:02 +01:00
Daniel Martí
7309b3c198
Show <filename>:<line> when complaining about metadata errors
2014-02-11 20:48:14 +01:00
Daniel Martí
e5539303ff
Get rid of all the debugging flags, not just the ones in the main project
2014-02-11 17:56:36 +01:00
Daniel Martí
255d4a03ef
'Category' isn't accepted, so don't do backwards support of it
2014-02-11 17:08:58 +01:00
Daniel Martí
25d22fdd3f
Remove update=force
...
It is broken (doesn't support auto or multiple paths), generally useless and
builds using it can easily be fixed via init=rm -f build.xml
2014-02-11 16:46:54 +01:00
Daniel Martí
f7c77ac584
Move project updating to after prebuild (and before clean+build)
...
With this, the legacy echos of android.library.reference... work with
update=auto again.
2014-02-11 16:30:49 +01:00
Daniel Martí
2f1094b5cc
Deprecate "Update Project" in favour of update=auto
2014-02-11 16:30:44 +01:00
Daniel Martí
ff8fa2305e
Update ant projects more elegantly
2014-02-11 16:26:06 +01:00
Daniel Martí
86aa3d1530
Fix Tags <pattern> stats
2014-02-11 08:47:47 +01:00
Daniel Martí
0cef32a407
Small automatic ant updating rewrite
...
* Support two levels of subprojects
* Do lower level libraries first, doing '.' last
* Run 'ant clean' AFTER android update, since a missing build.xml results in ant clean doing nothing
2014-02-10 23:03:02 +01:00
Daniel Martí
e5915072c0
Don't crash if cwd==None
2014-02-10 20:17:48 +01:00
Daniel Martí
6e89e68f76
Fix local.properties sdk-location inserting
2014-02-10 18:26:33 +01:00
Daniel Martí
ff87af1933
Always run normpath on cwd in FDroidPopen
2014-02-10 17:44:31 +01:00
Daniel Martí
1e80ebef6d
Fix texinfo syntax
2014-02-10 16:42:04 +01:00
Daniel Martí
fd1b708ef2
Finish fixing orderings
2014-02-10 16:39:56 +01:00
Daniel Martí
098b8f433d
Fix archive policy ordering
2014-02-10 16:39:04 +01:00
Daniel Martí
cc9314732f
Fix auto name ordering
2014-02-10 16:35:36 +01:00
Daniel Martí
a239a60c31
Add "Tags [pattern]" doc
2014-02-10 12:36:10 +01:00
Daniel Martí
6489ef070b
Add srclib numbers doc
2014-02-10 12:31:53 +01:00