f-droid:fdroidserver.git
4 years agoSupport UpstreamNonFree in web repo browser
Ciaran Gultnieks [Wed, 27 Nov 2013 10:43:47 +0000 (10:43 +0000)]
Support UpstreamNonFree in web repo browser

4 years agoDon't push UpstreamNonFree to index (yet)
Ciaran Gultnieks [Wed, 27 Nov 2013 10:39:36 +0000 (10:39 +0000)]
Don't push UpstreamNonFree to index (yet)

4 years agoAdd UpstreamNonFree antifeature
Ciaran Gultnieks [Wed, 27 Nov 2013 10:39:24 +0000 (10:39 +0000)]
Add UpstreamNonFree antifeature

4 years agoCalculate added dates correctly when archive in use
Ciaran Gultnieks [Wed, 27 Nov 2013 09:35:43 +0000 (09:35 +0000)]
Calculate added dates correctly when archive in use

This fixes what's new, amongst other things.

4 years agoAllow definition of index max age in repo config
Ciaran Gultnieks [Tue, 26 Nov 2013 22:07:47 +0000 (22:07 +0000)]
Allow definition of index max age in repo config

4 years agoSome more kivy wip
Ciaran Gultnieks [Tue, 26 Nov 2013 22:06:45 +0000 (22:06 +0000)]
Some more kivy wip

4 years agoSome more kivy wip
Ciaran Gultnieks [Tue, 26 Nov 2013 22:04:40 +0000 (22:04 +0000)]
Some more kivy wip

4 years agoSome more kivy wip
Ciaran Gultnieks [Tue, 26 Nov 2013 22:02:33 +0000 (22:02 +0000)]
Some more kivy wip

4 years agoKivy build support, wip
Ciaran Gultnieks [Sun, 24 Nov 2013 22:11:41 +0000 (22:11 +0000)]
Kivy build support, wip

4 years agoImport support for kivy projects (with buildozer spec)
Ciaran Gultnieks [Sun, 24 Nov 2013 22:11:29 +0000 (22:11 +0000)]
Import support for kivy projects (with buildozer spec)

4 years agoAdd kivy requirements to buildserver
Ciaran Gultnieks [Sun, 24 Nov 2013 22:11:02 +0000 (22:11 +0000)]
Add kivy requirements to buildserver

4 years agoSome more symlink-related improvements
Ciaran Gultnieks [Sun, 24 Nov 2013 10:29:28 +0000 (10:29 +0000)]
Some more symlink-related improvements

4 years agoPass verbose flag to buildserver's build.py
Ciaran Gultnieks [Sun, 24 Nov 2013 10:29:09 +0000 (10:29 +0000)]
Pass verbose flag to buildserver's build.py

4 years agoMake rm work propery with symlinks
Ciaran Gultnieks [Sun, 24 Nov 2013 09:47:11 +0000 (09:47 +0000)]
Make rm work propery with symlinks

4 years agoMerge branch 'master' of gitorious.org:f-droid/fdroidserver
Ciaran Gultnieks [Sun, 24 Nov 2013 09:42:50 +0000 (09:42 +0000)]
Merge branch 'master' of gitorious.org:f-droid/fdroidserver

4 years agoRemove signing keys later in build
Ciaran Gultnieks [Sun, 24 Nov 2013 09:39:12 +0000 (09:39 +0000)]
Remove signing keys later in build

Specifically, after rm, otherwise it can attempt to modify files (or
symlinks!) that are going to be removed.

4 years agoPrepare srclibs after patches
Daniel Martí [Sat, 23 Nov 2013 11:21:02 +0000 (12:21 +0100)]
Prepare srclibs after patches

4 years agoPermission check correct file
Ciaran Gultnieks [Sat, 23 Nov 2013 10:56:58 +0000 (10:56 +0000)]
Permission check correct file

4 years agoMetaDataException comes from metadata.py
Daniel Martí [Fri, 22 Nov 2013 10:15:08 +0000 (11:15 +0100)]
MetaDataException comes from metadata.py

4 years agoAdd repo types to metadata checks
Daniel Martí [Thu, 21 Nov 2013 23:06:53 +0000 (00:06 +0100)]
Add repo types to metadata checks

4 years agoAdded AUM and UCM matching patterns
Daniel Martí [Thu, 21 Nov 2013 23:00:43 +0000 (00:00 +0100)]
Added AUM and UCM matching patterns

4 years agoBuild server needs metadata.py
Ciaran Gultnieks [Wed, 20 Nov 2013 21:00:28 +0000 (21:00 +0000)]
Build server needs metadata.py

4 years agoSmall fix to keysigning cleaning output
Daniel Martí [Wed, 20 Nov 2013 18:08:59 +0000 (19:08 +0100)]
Small fix to keysigning cleaning output

4 years agoFixes to srclibs with paths
Daniel Martí [Wed, 20 Nov 2013 18:00:22 +0000 (19:00 +0100)]
Fixes to srclibs with paths

4 years agoMerge branch 'metadata-checks'
Daniel Martí [Wed, 20 Nov 2013 17:54:40 +0000 (18:54 +0100)]
Merge branch 'metadata-checks'

4 years agoRevert "Stop excessive build output"
Ciaran Gultnieks [Tue, 19 Nov 2013 22:40:35 +0000 (22:40 +0000)]
Revert "Stop excessive build output"

This reverts commit 7ca5955cac5816203522b6d2fe3e57879b648e5d.
Temporarily reverting because it's better, but somehow losing some
build error detail for the build logs that go to the wiki. Excessive
output is better than missing output for now.

4 years agoSmall fixes, no change in behaviour metadata-checks
Daniel Martí [Tue, 19 Nov 2013 15:11:58 +0000 (16:11 +0100)]
Small fixes, no change in behaviour

4 years agoAdd inline python docs
Daniel Martí [Tue, 19 Nov 2013 15:04:35 +0000 (16:04 +0100)]
Add inline python docs

4 years agoProperly convert boolean strings to bools as before
Daniel Martí [Tue, 19 Nov 2013 14:47:53 +0000 (15:47 +0100)]
Properly convert boolean strings to bools as before

4 years agoMake Archive Policy a standard fieldtype too
Daniel Martí [Tue, 19 Nov 2013 14:38:47 +0000 (15:38 +0100)]
Make Archive Policy a standard fieldtype too

4 years agoFirst metadata checks rewrite; New metadata.py module
Daniel Martí [Tue, 19 Nov 2013 14:35:16 +0000 (15:35 +0100)]
First metadata checks rewrite; New metadata.py module

4 years agoBuildserver apt-get update fix
Ciaran Gultnieks [Mon, 18 Nov 2013 22:35:55 +0000 (22:35 +0000)]
Buildserver apt-get update fix

4 years agoTry to fix srclibs for the BS
Daniel Martí [Mon, 18 Nov 2013 21:31:52 +0000 (22:31 +0100)]
Try to fix srclibs for the BS

4 years agoFix subdir tweaks in the bash completion
Daniel Martí [Mon, 18 Nov 2013 14:40:00 +0000 (15:40 +0100)]
Fix subdir tweaks in the bash completion

4 years agocomplete packages from within the metadata dir too
Daniel Martí [Mon, 18 Nov 2013 14:26:57 +0000 (15:26 +0100)]
complete packages from within the metadata dir too

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