Commit graph

612 commits

Author SHA1 Message Date
Ciaran Gultnieks
c75aa26115 Improve error output for missing extlibs 2013-11-12 20:14:16 +00:00
Ciaran Gultnieks
652674f4eb Only say 'reading config file' in verbose mode 2013-11-12 20:00:15 +00:00
Ciaran Gultnieks
60fbbead5c Silence silly warning on buildserver vm 2013-11-12 10:55:27 +00:00
Daniel Martí
355dc1bfd9 Fix crashes when writing boolean metadata fields 2013-11-10 17:27:47 +01:00
Daniel Martí
47f31b72c0 Revert "Revert "Don't allow values other than 'yes' or 'no' on boolean fields, integrity fixes""
Yo dawg
2013-11-10 17:27:47 +01:00
Ciaran Gultnieks
080536467b Only print 'Nothing to do' in verbose mode 2013-11-09 15:39:12 +00:00
Ciaran Gultnieks
a7c077634b Revert "Don't allow values other than 'yes' or 'no' on boolean fields, integrity fixes"
This reverts commit 04f7485949. Breaks too
many things.
2013-11-09 06:52:11 +00:00
Daniel Martí
04f7485949 Don't allow values other than 'yes' or 'no' on boolean fields, integrity fixes 2013-11-08 21:53:34 +01:00
Daniel Martí
6e0ad365d0 Don't pass config variables as arguments - much simpler code 2013-11-08 20:44:27 +01:00
Daniel Martí
72151355b1 Look for '.apk', not just 'apk', for ant/maven outputs 2013-11-08 19:03:23 +01:00
Daniel Martí
55e3fc9aa3 Fix maven apk finding method 2013-11-08 18:56:28 +01:00
Daniel Martí
b313c12637 Avoid crashes in rewritemeta regarding xrefs 2013-11-07 16:57:55 +01:00
Ciaran Gultnieks
3d849dccbc Merge branch 'master' of gitorious.org:f-droid/fdroidserver 2013-11-07 08:12:15 +00:00
Ciaran Gultnieks
5245640fdc Verify generated key alias uniqueness
Refuses to sign in the event of any problem - see comments for details
2013-11-07 08:11:05 +00:00
Daniel Martí
4f6fb4df82 Merge commit 'refs/merge-requests/129' of gitorious.org:f-droid/fdroidserver 2013-11-05 23:58:32 +01:00
Hans-Christoph Steiner
5f06fba591 init set config.py perms to 0600, otherwise warn user if config.py is not
Since config.py contains passwords in it, it should be protected as much as
possible.  At the very least, the file permissions should be 0600 to
restrict access to user that actually edits and runs 'fdroid' commands.
2013-11-05 17:27:08 -05:00
Daniel Martí
40488a9486 Replace some 'if len(s) == 0' by 'if not s', remove unnecessary code 2013-11-05 19:42:29 +01:00
Ciaran Gultnieks
356f12ab2f Write maintainer notes to wiki 2013-11-05 16:40:23 +00:00
Ciaran Gultnieks
ceee4c0e95 Handle 'Maintainer Notes' field in metadata 2013-11-05 16:40:23 +00:00
Daniel Martí
2b0badd4c4 Fix init with common, don't require cwd in FDroidPopen 2013-11-05 09:26:56 +01:00
Hans-Christoph Steiner
633103b1b6 add options to 'fdroid init': --distinguished-name and --repo-keyalias
These allow the user to set these config.py options from the command line
when initing a new repo.
2013-11-05 09:26:56 +01:00
Hans-Christoph Steiner
3ea4e08135 in 'fdroid init' if no keystore exists or was given, then generate it 2013-11-05 09:26:55 +01:00
Ciaran Gultnieks
75d616c5e5 Fix fdroid stats, checking config before reading it 2013-11-05 07:58:56 +00:00
Daniel Martí
145b38252a Basic completion for init, add --verbose to it 2013-11-04 20:28:32 +01:00
Daniel Martí
de0986e77d Avoid init.py crash due to options being None 2013-11-04 20:21:24 +01:00
Daniel Martí
3638edd252 Make FDroidPopen a lot simpler, pythonize a few things 2013-11-04 20:19:31 +01:00
Daniel Martí
5cdca44b69 Use the new read_config in init.py 2013-11-04 20:03:45 +01:00
Daniel Martí
e2bcf4304d Don't override built-in 'dir' 2013-11-04 20:01:30 +01:00
Daniel Martí
429221f282 Don't check for dirs and files in the main script 2013-11-04 18:41:20 +01:00
Hans-Christoph Steiner
9344bca245 implement 'fdroid init' to set up a barebones repo from scratch
This tries to auto-detect the SDK and NDK.  If it can't find the SDK, it
prompts the user to type in the path.  It also tries to find the most
recent version of the build-tools, and should also support the old
unversioned layout.
2013-11-04 12:22:58 -05:00
Daniel Martí
a8810b809a Don't use proj.prop if not present (fixes tiltmazes) 2013-11-04 17:03:43 +01:00
Daniel Martí
1ef3e2408a Implement forceversion and forcevercode for gradle projects 2013-11-04 16:09:23 +01:00
Daniel Martí
22a02a02c4 Fix sed typo that broke forceversion and forcevercode 2013-11-04 15:42:01 +01:00
Daniel Martí
7c5be575c6 Fix server.py NoneType error 2013-11-04 15:16:30 +01:00
Daniel Martí
45e68b45d4 Revert "Fix git-svn find-rev, also search for svn revisions after HEAD"
This reverts commit e35a1093cd.
2013-11-04 10:43:28 +01:00
Daniel Martí
fc804e68d2 Fixes to makebuildserver and verify 2013-11-04 10:22:22 +01:00
Daniel Martí
65e708908e Merge branch 'master' into verbose-rewrite
Conflicts:
	fdroidserver/common.py
2013-11-03 14:00:09 +01:00
Daniel Martí
962b603a6a variable typo 2013-11-03 13:54:55 +01:00
Daniel Martí
ccf0c0664f Default to update=auto, find subprojects automatically 2013-11-03 13:45:22 +01:00
Ciaran Gultnieks
bfaf162700 Allow auto-committer author to be specified in config 2013-11-03 12:07:47 +00:00
Daniel Martí
070feb3d21 Fix all the possibe local.properties files, add sdk dir if oldsdk is not set 2013-11-03 11:49:11 +01:00
Daniel Martí
7a4ec5c083 AM.xml is not the only file that designates an android app source dir 2013-11-02 22:52:52 +01:00
Daniel Martí
5b613292c3 Merge branch 'master' into verbose-rewrite 2013-11-02 22:36:55 +01:00
Daniel Martí
e069da3562 Don't accept empty icons; Don't add <icon> xml element if none is present 2013-11-02 22:14:32 +01:00
Daniel Martí
8bab7a06ce Fix: use -cp (classpath) to fix problems with java getsig 2013-11-02 22:01:50 +01:00
Daniel Martí
f16f8a4313 Read output queues a bit more often 2013-11-02 20:30:21 +01:00
Daniel Martí
67b8825560 Merge branch 'master' into verbose-rewrite 2013-11-02 19:56:31 +01:00
Daniel Martí
79a24e3e11 Fixes to categories in update.py 2013-11-02 16:04:50 +01:00
Daniel Martí
f1526faa47 Translate 'Category:categ1;categ2;...' into 'Categories:categ1,categ2,...' 2013-11-02 12:04:02 +01:00
Daniel Martí
ee759a3a0e Start doing multiple categories as comma separated lists
Don't drop support for old clients (only one category) yet
2013-11-02 01:14:01 +01:00