Commit graph

1394 commits

Author SHA1 Message Date
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í
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í
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
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í
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
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í
24cd80ae80 Forgot a dev print (again) 2014-02-10 12:21:42 +01:00
Daniel Martí
409188a4e5 Simplify 'Tags <pattern>' by using regex on top of vcs.gettags()
This automagically enables support for pattern-based tags for all vcs types
that support Tags
2014-02-10 12:20:22 +01:00
Daniel Martí
08607a3cd4 Support UCM:Tags <pattern> using git tag -l <pattern> 2014-02-10 11:29:12 +01:00
Daniel Martí
3f0dbe232c Don't add package ids to commit messages
The package id is already in the name of the file changed, plus it makes most
commit messages too long. Also of little interest to most people.
2014-02-10 10:55:29 +01:00
Daniel Martí
083eab579f Check for subdir after doing submodules 2014-02-09 19:11:15 +01:00
Daniel Martí
ec0de6b370 Do some warnings properly 2014-02-07 21:38:28 +01:00
Daniel Martí
0b6faa5f22 Try to fix some TypeErrors 2014-02-07 21:36:19 +01:00
Daniel Martí
1f3653af15 Strip Auto Name: name to avoid extra spacing errors 2014-02-07 21:08:04 +01:00
Daniel Martí
d661b7a877 Fix UCD writing 2014-02-05 16:10:03 +01:00
Daniel Martí
18deea2ac8 Error when extra spacings are found 2014-02-05 09:47:55 +01:00
Daniel Martí
f36e7bff29 Also check for the validity of build flags 2014-02-05 09:39:09 +01:00
Daniel Martí
56a80483e9 Make f-droid barf on unrecognised field names 2014-02-05 09:29:26 +01:00
Daniel Martí
b8a841a7e4 Fix vagrant popen error 2014-02-04 10:55:14 +01:00
Ciaran Gultnieks
b8e48f32f7 Partly revert c7f2cbd to make stats work again 2014-02-04 07:34:55 +00:00
Daniel Martí
49ec09a78b Add missing -v/--verbose flag to import 2014-02-03 23:38:33 +01:00
Daniel Martí
2efce6cc69 Revert "Switch to python-magic from PIL"
This reverts commit 8541cdf893.
2014-02-03 23:04:33 +01:00
Daniel Martí
8541cdf893 Switch to python-magic from PIL 2014-02-03 14:14:42 +01:00
Daniel Martí
7bf74d47bb Typo 2014-02-03 14:07:01 +01:00
Daniel Martí
9a4fe8c7cd Merge branch 'master' into logging 2014-02-02 19:45:17 +01:00
Daniel Martí
96c5afa03f New command: readmeta, like lint but without warnings 2014-02-02 15:11:26 +01:00
Daniel Martí
f2ca1327f4 Fix a couple copyright notices 2014-02-02 15:11:16 +01:00
Daniel Martí
18ef1b53bc Don't output when checking repo 2014-01-31 11:40:03 +01:00
Daniel Martí
5525c5cd5f Don't print cmd info if output is false 2014-01-31 09:22:30 +01:00