f-droid:fdroidserver.git
4 years agoAllow usage of fd-commit inside the main fdroiddata directories
Daniel Martí [Mon, 18 Nov 2013 14:13:18 +0000 (15:13 +0100)]
Allow usage of fd-commit inside the main fdroiddata directories

4 years agoTry to fix srclibs on server builds
Daniel Martí [Mon, 18 Nov 2013 09:24:02 +0000 (10:24 +0100)]
Try to fix srclibs on server builds

4 years agoSmall fix to ant srclib numbers
Daniel Martí [Mon, 18 Nov 2013 07:41:29 +0000 (08:41 +0100)]
Small fix to ant srclib numbers

4 years agoAdd srclib proj.prop lines if not already there
Daniel Martí [Sun, 17 Nov 2013 22:20:58 +0000 (23:20 +0100)]
Add srclib proj.prop lines if not already there

4 years agoAlso avoid readLines from build.gradle
Daniel Martí [Sun, 17 Nov 2013 20:58:43 +0000 (21:58 +0100)]
Also avoid readLines from build.gradle

4 years agoAdd crashlytics to usual suspects
Daniel Martí [Sun, 17 Nov 2013 20:58:33 +0000 (21:58 +0100)]
Add crashlytics to usual suspects

4 years agoCorrection to a5fafe6
Ciaran Gultnieks [Sun, 17 Nov 2013 12:16:24 +0000 (12:16 +0000)]
Correction to a5fafe6

4 years agoUse individual antifeature template on wiki
Ciaran Gultnieks [Sun, 17 Nov 2013 12:05:02 +0000 (12:05 +0000)]
Use individual antifeature template on wiki

4 years agoDefault new import.py apps to UCM:Tags (should be a standard)
Daniel Martí [Sat, 16 Nov 2013 21:53:04 +0000 (22:53 +0100)]
Default new import.py apps to UCM:Tags (should be a standard)

4 years agogradle and maven keys should be among the first
Daniel Martí [Sat, 16 Nov 2013 21:51:03 +0000 (22:51 +0100)]
gradle and maven keys should be among the first

4 years agoFix remaining srclib issues
Daniel Martí [Sat, 16 Nov 2013 21:49:37 +0000 (22:49 +0100)]
Fix remaining srclib issues

4 years agoCheck that getsig.class exists, give user hints how to make it.
Paul Sokolovsky [Sat, 16 Nov 2013 17:06:41 +0000 (19:06 +0200)]
Check that getsig.class exists, give user hints how to make it.

4 years agoFix keysigning patching (again)
Daniel Martí [Sat, 16 Nov 2013 11:54:35 +0000 (12:54 +0100)]
Fix keysigning patching (again)

4 years agoFix srclib subdir paths
Daniel Martí [Sat, 16 Nov 2013 11:54:23 +0000 (12:54 +0100)]
Fix srclib subdir paths

4 years agoFix keysigning patches
Daniel Martí [Fri, 15 Nov 2013 20:24:54 +0000 (21:24 +0100)]
Fix keysigning patches

4 years agoNew feature: Srclibs much easier to use for ant, recursive srclibs
Daniel Martí [Fri, 15 Nov 2013 19:42:17 +0000 (20:42 +0100)]
New feature: Srclibs much easier to use for ant, recursive srclibs

Will write its documentation once it's stable and polished

4 years agoOnly notify of those gradle/ant files that were stripped of signing keys
Daniel Martí [Fri, 15 Nov 2013 11:42:39 +0000 (12:42 +0100)]
Only notify of those gradle/ant files that were stripped of signing keys

4 years agoAlways include Maintainer Notes, even if only for auto-generated parts
Ciaran Gultnieks [Fri, 15 Nov 2013 10:00:04 +0000 (10:00 +0000)]
Always include Maintainer Notes, even if only for auto-generated parts

4 years agoMerge branch 'master' of gitorious.org:f-droid/fdroidserver
Ciaran Gultnieks [Fri, 15 Nov 2013 09:47:32 +0000 (09:47 +0000)]
Merge branch 'master' of gitorious.org:f-droid/fdroidserver

4 years agoCorrectly detect subproject update failure
Ciaran Gultnieks [Fri, 15 Nov 2013 09:47:12 +0000 (09:47 +0000)]
Correctly detect subproject update failure

4 years agoStop excessive build output
Ciaran Gultnieks [Fri, 15 Nov 2013 09:46:46 +0000 (09:46 +0000)]
Stop excessive build output

4 years agoImprove error reporting for rm problems
Ciaran Gultnieks [Fri, 15 Nov 2013 09:46:04 +0000 (09:46 +0000)]
Improve error reporting for rm problems

4 years agoRemove keysigning configs more consistently:
Daniel Martí [Thu, 14 Nov 2013 13:09:37 +0000 (14:09 +0100)]
Remove keysigning configs more consistently:

* Do it for srclibs as well as apps
* Find all ant *.properties files like we do with gradle ones
* Remove extra gradle problems (e.g. changing apk names)

4 years agoEnsure end of buildserver output is always captured
Ciaran Gultnieks [Wed, 13 Nov 2013 18:45:37 +0000 (18:45 +0000)]
Ensure end of buildserver output is always captured

4 years agoFix auto names for apps using RM/branch
Daniel Martí [Wed, 13 Nov 2013 16:31:35 +0000 (17:31 +0100)]
Fix auto names for apps using RM/branch

4 years agoFix import.py crash
Daniel Martí [Wed, 13 Nov 2013 16:29:10 +0000 (17:29 +0100)]
Fix import.py crash

4 years agoA couple of wiki improvements
Ciaran Gultnieks [Wed, 13 Nov 2013 14:56:58 +0000 (14:56 +0000)]
A couple of wiki improvements

4 years agoRevert "Switch to build-tools 19.0.0" - buggy build tools
Ciaran Gultnieks [Wed, 13 Nov 2013 14:54:38 +0000 (14:54 +0000)]
Revert "Switch to build-tools 19.0.0" - buggy build tools

This reverts commit a81aebb2369cf0ac1b5552969f8e9a9a9c609658.

4 years agoLose a lot of vbox/vagrant/general output noise
Ciaran Gultnieks [Tue, 12 Nov 2013 22:21:35 +0000 (22:21 +0000)]
Lose a lot of vbox/vagrant/general output noise

4 years agoImprove error output for missing extlibs
Ciaran Gultnieks [Tue, 12 Nov 2013 20:14:16 +0000 (20:14 +0000)]
Improve error output for missing extlibs

4 years agoOnly say 'reading config file' in verbose mode
Ciaran Gultnieks [Tue, 12 Nov 2013 20:00:15 +0000 (20:00 +0000)]
Only say 'reading config file' in verbose mode

4 years agoSilence silly warning on buildserver vm
Ciaran Gultnieks [Tue, 12 Nov 2013 10:55:27 +0000 (10:55 +0000)]
Silence silly warning on buildserver vm

4 years agoAdd texinfo to buildserver
Ciaran Gultnieks [Mon, 11 Nov 2013 17:22:49 +0000 (17:22 +0000)]
Add texinfo to buildserver

4 years agoAdd transfig to buildserver
Ciaran Gultnieks [Mon, 11 Nov 2013 17:20:06 +0000 (17:20 +0000)]
Add transfig to buildserver

4 years agoFix crashes when writing boolean metadata fields
Daniel Martí [Sat, 9 Nov 2013 11:48:39 +0000 (12:48 +0100)]
Fix crashes when writing boolean metadata fields

4 years agoRevert "Revert "Don't allow values other than 'yes' or 'no' on boolean fields, integr...
Daniel Martí [Sat, 9 Nov 2013 11:21:43 +0000 (12:21 +0100)]
Revert "Revert "Don't allow values other than 'yes' or 'no' on boolean fields, integrity fixes""

Yo dawg

4 years agoOnly print 'Nothing to do' in verbose mode
Ciaran Gultnieks [Sat, 9 Nov 2013 15:39:12 +0000 (15:39 +0000)]
Only print 'Nothing to do' in verbose mode

4 years agoWrite buildserver ID to buildserver on creation
Ciaran Gultnieks [Sat, 9 Nov 2013 11:51:39 +0000 (11:51 +0000)]
Write buildserver ID to buildserver on creation

The ID of the buildserver is just the corresponding commit hash in
fdroidserver at the point where it was built, which should be enough to
uniquely identify a version of it.

The idea is that this will ultimately end up as metadata in an apk, such
that its precise lineage can be traced, and the exact same binary can be
reproduced.

4 years agoRevert "Don't allow values other than 'yes' or 'no' on boolean fields, integrity...
Ciaran Gultnieks [Sat, 9 Nov 2013 06:52:11 +0000 (06:52 +0000)]
Revert "Don't allow values other than 'yes' or 'no' on boolean fields, integrity fixes"

This reverts commit 04f74859490e5b3d374030c126ae1a3956a88f18. Breaks too
many things.

4 years agoDon't allow values other than 'yes' or 'no' on boolean fields, integrity fixes
Daniel Martí [Fri, 8 Nov 2013 20:53:34 +0000 (21:53 +0100)]
Don't allow values other than 'yes' or 'no' on boolean fields, integrity fixes

4 years agoDon't pass config variables as arguments - much simpler code
Daniel Martí [Fri, 8 Nov 2013 19:44:27 +0000 (20:44 +0100)]
Don't pass config variables as arguments - much simpler code

4 years agoLook for '.apk', not just 'apk', for ant/maven outputs
Daniel Martí [Fri, 8 Nov 2013 18:03:23 +0000 (19:03 +0100)]
Look for '.apk', not just 'apk', for ant/maven outputs

4 years agoFix maven apk finding method
Daniel Martí [Fri, 8 Nov 2013 17:56:28 +0000 (18:56 +0100)]
Fix maven apk finding method

4 years agoAvoid crashes in rewritemeta regarding xrefs
Daniel Martí [Thu, 7 Nov 2013 15:57:55 +0000 (16:57 +0100)]
Avoid crashes in rewritemeta regarding xrefs

4 years agoMerge branch 'master' of gitorious.org:f-droid/fdroidserver
Ciaran Gultnieks [Thu, 7 Nov 2013 08:12:15 +0000 (08:12 +0000)]
Merge branch 'master' of gitorious.org:f-droid/fdroidserver

4 years agoVerify generated key alias uniqueness
Ciaran Gultnieks [Thu, 7 Nov 2013 08:11:05 +0000 (08:11 +0000)]
Verify generated key alias uniqueness

Refuses to sign in the event of any problem - see comments for details

4 years agoMerge commit 'refs/merge-requests/129' of gitorious.org:f-droid/fdroidserver
Daniel Martí [Tue, 5 Nov 2013 22:58:32 +0000 (23:58 +0100)]
Merge commit 'refs/merge-requests/129' of gitorious.org:f-droid/fdroidserver

4 years agoinit set config.py perms to 0600, otherwise warn user if config.py is not 129
Hans-Christoph Steiner [Tue, 5 Nov 2013 22:27:08 +0000 (17:27 -0500)]
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.

4 years agoos imported but not used in fdroid
Daniel Martí [Tue, 5 Nov 2013 18:43:17 +0000 (19:43 +0100)]
os imported but not used in fdroid

4 years agoReplace some 'if len(s) == 0' by 'if not s', remove unnecessary code
Daniel Martí [Tue, 5 Nov 2013 18:42:29 +0000 (19:42 +0100)]
Replace some 'if len(s) == 0' by 'if not s', remove unnecessary code

4 years agoDocs for maintainer notes field
Ciaran Gultnieks [Tue, 5 Nov 2013 16:39:57 +0000 (16:39 +0000)]
Docs for maintainer notes field

4 years agoWrite maintainer notes to wiki
Ciaran Gultnieks [Tue, 5 Nov 2013 16:39:45 +0000 (16:39 +0000)]
Write maintainer notes to wiki

4 years agoHandle 'Maintainer Notes' field in metadata
Ciaran Gultnieks [Tue, 5 Nov 2013 16:21:35 +0000 (16:21 +0000)]
Handle 'Maintainer Notes' field in metadata

4 years agoFix init with common, don't require cwd in FDroidPopen
Daniel Martí [Tue, 5 Nov 2013 08:26:26 +0000 (09:26 +0100)]
Fix init with common, don't require cwd in FDroidPopen

4 years agoadd new 'fdroid init' options to bash completion
Hans-Christoph Steiner [Tue, 5 Nov 2013 02:58:42 +0000 (21:58 -0500)]
add new 'fdroid init' options to bash completion

4 years agoadd options to 'fdroid init': --distinguished-name and --repo-keyalias
Hans-Christoph Steiner [Mon, 4 Nov 2013 22:43:28 +0000 (17:43 -0500)]
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.

4 years agoin 'fdroid init' if no keystore exists or was given, then generate it
Hans-Christoph Steiner [Mon, 4 Nov 2013 22:32:56 +0000 (17:32 -0500)]
in 'fdroid init' if no keystore exists or was given, then generate it

4 years agoFix fdroid stats, checking config before reading it
Ciaran Gultnieks [Tue, 5 Nov 2013 07:58:56 +0000 (07:58 +0000)]
Fix fdroid stats, checking config before reading it

4 years agoSolve issues with fd-commit when no Auto Name is present
Daniel Martí [Mon, 4 Nov 2013 23:11:54 +0000 (00:11 +0100)]
Solve issues with fd-commit when no Auto Name is present

4 years agoBasic completion for init, add --verbose to it
Daniel Martí [Mon, 4 Nov 2013 19:28:32 +0000 (20:28 +0100)]
Basic completion for init, add --verbose to it

4 years agoAvoid init.py crash due to options being None
Daniel Martí [Mon, 4 Nov 2013 19:21:24 +0000 (20:21 +0100)]
Avoid init.py crash due to options being None

4 years agoMake FDroidPopen a lot simpler, pythonize a few things
Daniel Martí [Mon, 4 Nov 2013 19:19:31 +0000 (20:19 +0100)]
Make FDroidPopen a lot simpler, pythonize a few things

4 years agoUse the new read_config in init.py
Daniel Martí [Mon, 4 Nov 2013 19:03:45 +0000 (20:03 +0100)]
Use the new read_config in init.py

4 years agoDon't override built-in 'dir'
Daniel Martí [Mon, 4 Nov 2013 19:01:30 +0000 (20:01 +0100)]
Don't override built-in 'dir'

4 years agoDon't check for dirs and files in the main script
Daniel Martí [Mon, 4 Nov 2013 17:37:57 +0000 (18:37 +0100)]
Don't check for dirs and files in the main script

4 years agoignore egg-info and docs build products 127
Hans-Christoph Steiner [Sat, 2 Nov 2013 00:49:27 +0000 (20:49 -0400)]
ignore egg-info and docs build products

4 years agoimplement 'fdroid init' to set up a barebones repo from scratch
Hans-Christoph Steiner [Sat, 2 Nov 2013 00:39:32 +0000 (20:39 -0400)]
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.

4 years agoinstall sample config files in a standard location
Hans-Christoph Steiner [Fri, 1 Nov 2013 19:09:16 +0000 (15:09 -0400)]
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.

4 years agoDon't use proj.prop if not present (fixes tiltmazes)
Daniel Martí [Mon, 4 Nov 2013 16:03:43 +0000 (17:03 +0100)]
Don't use proj.prop if not present (fixes tiltmazes)

4 years agoSwitch to build-tools 19.0.0
Daniel Martí [Mon, 4 Nov 2013 15:09:45 +0000 (16:09 +0100)]
Switch to build-tools 19.0.0

4 years agoImplement forceversion and forcevercode for gradle projects
Daniel Martí [Mon, 4 Nov 2013 15:09:23 +0000 (16:09 +0100)]
Implement forceversion and forcevercode for gradle projects

4 years agoFix sed typo that broke forceversion and forcevercode
Daniel Martí [Mon, 4 Nov 2013 14:42:01 +0000 (15:42 +0100)]
Fix sed typo that broke forceversion and forcevercode

4 years agoFix server.py NoneType error
Daniel Martí [Mon, 4 Nov 2013 14:16:09 +0000 (15:16 +0100)]
Fix server.py NoneType error

4 years agoForce apt-get update on buildserver creation
Ciaran Gultnieks [Mon, 4 Nov 2013 12:35:53 +0000 (12:35 +0000)]
Force apt-get update on buildserver creation

4 years agoRevert "Fix git-svn find-rev, also search for svn revisions after HEAD"
Daniel Martí [Mon, 4 Nov 2013 09:43:28 +0000 (10:43 +0100)]
Revert "Fix git-svn find-rev, also search for svn revisions after HEAD"

This reverts commit e35a1093cd8b659ab5fd187056c3867a5ce3819b.

4 years agoFixes to makebuildserver and verify verbose-rewrite
Daniel Martí [Mon, 4 Nov 2013 09:22:22 +0000 (10:22 +0100)]
Fixes to makebuildserver and verify

4 years agoMerge branch 'master' into verbose-rewrite
Daniel Martí [Sun, 3 Nov 2013 13:00:09 +0000 (14:00 +0100)]
Merge branch 'master' into verbose-rewrite

Conflicts:
fdroidserver/common.py

4 years agovariable typo
Daniel Martí [Sun, 3 Nov 2013 12:54:55 +0000 (13:54 +0100)]
variable typo

4 years agoDefault to update=auto, find subprojects automatically
Daniel Martí [Sun, 3 Nov 2013 12:44:33 +0000 (13:44 +0100)]
Default to update=auto, find subprojects automatically

4 years agoAllow auto-committer author to be specified in config
Ciaran Gultnieks [Sun, 3 Nov 2013 12:07:47 +0000 (12:07 +0000)]
Allow auto-committer author to be specified in config

4 years agoMerge branch 'master' into verbose-rewrite
Daniel Martí [Sun, 3 Nov 2013 10:53:36 +0000 (11:53 +0100)]
Merge branch 'master' into verbose-rewrite

4 years agoAdd fd-commit package completion
Daniel Martí [Sun, 3 Nov 2013 10:53:20 +0000 (11:53 +0100)]
Add fd-commit package completion

4 years agofd-commit can now take app ids as filter; retab
Daniel Martí [Sun, 3 Nov 2013 10:50:44 +0000 (11:50 +0100)]
fd-commit can now take app ids as filter; retab

4 years agoFix all the possibe local.properties files, add sdk dir if oldsdk is not set
Daniel Martí [Sun, 3 Nov 2013 10:49:11 +0000 (11:49 +0100)]
Fix all the possibe local.properties files, add sdk dir if oldsdk is not set

4 years agoAM.xml is not the only file that designates an android app source dir
Daniel Martí [Sat, 2 Nov 2013 21:52:52 +0000 (22:52 +0100)]
AM.xml is not the only file that designates an android app source dir

4 years agoMerge branch 'master' into verbose-rewrite
Daniel Martí [Sat, 2 Nov 2013 21:36:55 +0000 (22:36 +0100)]
Merge branch 'master' into verbose-rewrite

4 years agoDon't accept empty icons; Don't add <icon> xml element if none is present
Daniel Martí [Sat, 2 Nov 2013 21:14:32 +0000 (22:14 +0100)]
Don't accept empty icons; Don't add <icon> xml element if none is present

4 years agoFix: use -cp (classpath) to fix problems with java getsig
Daniel Martí [Sat, 2 Nov 2013 21:01:50 +0000 (22:01 +0100)]
Fix: use -cp (classpath) to fix problems with java getsig

4 years agoAdd android-19 platform
Daniel Martí [Sat, 2 Nov 2013 19:35:45 +0000 (20:35 +0100)]
Add android-19 platform

4 years agoAndroid sdk from 22.2.1 to 22.3
Daniel Martí [Sat, 2 Nov 2013 19:33:44 +0000 (20:33 +0100)]
Android sdk from 22.2.1 to 22.3

4 years agoRead output queues a bit more often
Daniel Martí [Sat, 2 Nov 2013 19:30:21 +0000 (20:30 +0100)]
Read output queues a bit more often

4 years agoMerge branch 'master' into verbose-rewrite
Daniel Martí [Sat, 2 Nov 2013 18:56:31 +0000 (19:56 +0100)]
Merge branch 'master' into verbose-rewrite

4 years agoFixes to categories in update.py
Daniel Martí [Sat, 2 Nov 2013 15:04:50 +0000 (16:04 +0100)]
Fixes to categories in update.py

4 years agoTranslate 'Category:categ1;categ2;...' into 'Categories:categ1,categ2,...'
Daniel Martí [Sat, 2 Nov 2013 11:04:02 +0000 (12:04 +0100)]
Translate 'Category:categ1;categ2;...' into 'Categories:categ1,categ2,...'

4 years agoUpdate docs regarding categories
Daniel Martí [Sat, 2 Nov 2013 00:18:56 +0000 (01:18 +0100)]
Update docs regarding categories

4 years agoStart doing multiple categories as comma separated lists
Daniel Martí [Sat, 2 Nov 2013 00:14:01 +0000 (01:14 +0100)]
Start doing multiple categories as comma separated lists

Don't drop support for old clients (only one category) yet

4 years agoVarious fixes: hg vcs updating, gradle vercode regex...
Daniel Martí [Fri, 1 Nov 2013 18:12:22 +0000 (19:12 +0100)]
Various fixes: hg vcs updating, gradle vercode regex...

4 years agoMerge branch 'verbose-rewrite' of gitorious.org:f-droid/fdroidserver into verbose...
Daniel Martí [Fri, 1 Nov 2013 12:57:10 +0000 (13:57 +0100)]
Merge branch 'verbose-rewrite' of gitorious.org:f-droid/fdroidserver into verbose-rewrite

Conflicts:
fdroidserver/common.py

4 years agoMerge branch 'master' into verbose-rewrite
Daniel Martí [Fri, 1 Nov 2013 12:55:42 +0000 (13:55 +0100)]
Merge branch 'master' into verbose-rewrite

4 years agoStart rewriting options and config as common.py globals
Daniel Martí [Fri, 1 Nov 2013 11:10:57 +0000 (12:10 +0100)]
Start rewriting options and config as common.py globals