Commit graph

703 commits

Author SHA1 Message Date
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
Daniel Martí
3638edd252 Make FDroidPopen a lot simpler, pythonize a few things 2013-11-04 20:19:31 +01:00
Daniel Martí
429221f282 Don't check for dirs and files in the main script 2013-11-04 18:41:20 +01: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í
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
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í
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í
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
Daniel Martí
5644b17048 Various fixes: hg vcs updating, gradle vercode regex... 2013-11-01 19:12:22 +01:00
Daniel Martí
ff3faefd80 Merge branch 'verbose-rewrite' of gitorious.org:f-droid/fdroidserver into verbose-rewrite
Conflicts:
	fdroidserver/common.py
2013-11-01 13:57:10 +01:00
Daniel Martí
d525d987e2 Merge branch 'master' into verbose-rewrite 2013-11-01 13:55:42 +01:00
Daniel Martí
c3be06fb1d Start rewriting options and config as common.py globals 2013-11-01 13:55:38 +01:00
Daniel Martí
08b24b7ad2 Don't remove output dirs twice. --subprojects is useless. 2013-11-01 13:55:38 +01:00
Daniel Martí
aaba6ceec2 Better gradle signature config filter 2013-11-01 13:55:37 +01:00
Daniel Martí
42a41dc3a9 Minor fixes to git-svn 2013-11-01 13:55:37 +01:00
Daniel Martí
e07d35f913 New field: scandelete, like scanignore but deleting
Also, many improvements:

* scanning algorithm is much clearer
* Now paths start by '/', which means the repo dir root.
  - If they don't, '/' is added
  - If they start by './', the dot is removed
  - If "." is in the paths, it is replaced by "/"
* Handling/removing of problems is much easier
* Removed last initfun/funambol bits
2013-11-01 13:46:19 +01:00
Daniel Martí
d507b2e894 New metadata field: Vercode Operation 2013-11-01 13:25:50 +01:00
Daniel Martí
0c8283bc1a Also reset --hard and clean -dffx the git submodules 2013-11-01 13:19:29 +01:00
Daniel Martí
e53f006d08 Checkout with --force on git 2013-11-01 13:19:07 +01:00
Daniel Martí
66a431a14a Start using config and options as common.py globals 2013-10-31 23:27:03 +01:00
Daniel Martí
16baeece58 Don't remove output dirs twice. --subprojects is useless. 2013-10-31 17:56:37 +01:00
Daniel Martí
f07cb7e90f Better gradle signature config filter 2013-10-31 17:23:12 +01:00
Ciaran Gultnieks
41c643d301 Merge branch 'master' of gitorious.org:f-droid/fdroidserver 2013-10-31 15:51:06 +00:00
Ciaran Gultnieks
a762a0cb04 Tidied up some unused junk 2013-10-31 15:46:32 +00:00
Ciaran Gultnieks
08287a1fa8 Handle repo config in a more sensible way 2013-10-31 15:37:39 +00:00
Daniel Martí
ec58f6e313 Minor fixes to git-svn 2013-10-31 15:54:52 +01:00
Daniel Martí
8a05ae3be6 Support user:pass authentication on git-svn 2013-10-31 11:53:12 +01:00
Daniel Martí
4c5cd7a360 Add support for UCM:Tags in bzr 2013-10-30 21:54:09 +01:00
Daniel Martí
d8d3f00e6b Avoid newlines in git-svn RepoTrunk 2013-10-30 21:40:48 +01:00
Daniel Martí
efb161e622 Don't error when finding apk files, just delete them 2013-10-30 19:15:15 +01:00
Daniel Martí
a0e7409148 Away with all the funambol ugly tweaks 2013-10-30 18:24:03 +01:00
Daniel Martí
c234945f75 Automatically remove all android:debuggable flags 2013-10-30 17:17:44 +01:00
Daniel Martí
e35a1093cd Fix git-svn find-rev, also search for svn revisions after HEAD 2013-10-30 16:54:08 +01:00
Daniel Martí
9571c792db Print FDroidPopen params *before* executing 2013-10-29 20:39:49 +01:00
Daniel Martí
fd50903c50 Don't include '!' in disabled= when converting to new syntax 2013-10-29 13:36:06 +01:00