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í
af0ac4a4c2
os imported but not used in fdroid
2013-11-05 19:43:17 +01: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
749739ec72
Docs for maintainer notes field
2013-11-05 16:40:23 +00: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
ee67e96aad
add new 'fdroid init' options to bash completion
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í
cdccd89df4
Solve issues with fd-commit when no Auto Name is present
2013-11-05 00:11:54 +01: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
85d32576eb
ignore egg-info and docs build products
2013-11-04 12:22:58 -05: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
Hans-Christoph Steiner
94342ee43c
install sample config files in a standard location
...
This means they'll automatically be installed in the right place by the
packaging processes of various UNIX distros, and then that makes it easy
for the upcoming 'fdroid init' to find them.
2013-11-04 12:20:19 -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í
a81aebb236
Switch to build-tools 19.0.0
2013-11-04 16:09:45 +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
Ciaran Gultnieks
9910e74242
Force apt-get update on buildserver creation
2013-11-04 12:35:53 +00: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í
223b0ea061
Merge branch 'master' into verbose-rewrite
2013-11-03 11:53:36 +01:00
Daniel Martí
19ef29ed15
Add fd-commit package completion
2013-11-03 11:53:20 +01:00
Daniel Martí
8acbc33f0d
fd-commit can now take app ids as filter; retab
2013-11-03 11:50:44 +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í
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í
7f43797a64
Add android-19 platform
2013-11-02 20:35:45 +01:00
Daniel Martí
4db24c43f2
Android sdk from 22.2.1 to 22.3
2013-11-02 20:35:03 +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í
3f673654bd
Update docs regarding categories
2013-11-02 01:18:56 +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