chiark / gitweb /
fdroidserver.git
10 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

10 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

10 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

10 years agoinit set config.py perms to 0600, otherwise warn user if config.py is not
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.

10 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

10 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

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

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

10 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

10 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

10 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

10 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.

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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'

10 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

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

10 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.

10 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.

10 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)

10 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

10 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

10 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

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

10 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

10 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.

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

10 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

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

10 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

10 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

10 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

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

10 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

10 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

10 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

10 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

10 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

10 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

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

10 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

10 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

10 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

10 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

10 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,...'

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

10 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

10 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...

10 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

10 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

10 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

10 years agoNo quotes in --commit messages
Daniel Martí [Fri, 1 Nov 2013 10:05:41 +0000 (11:05 +0100)]
No quotes in --commit messages

10 years agoAvoid pyflakes error
Ciaran Gultnieks [Thu, 31 Oct 2013 22:16:05 +0000 (22:16 +0000)]
Avoid pyflakes error

10 years ago--auto --commit now behaves like fd-commit, consistency
Daniel Martí [Thu, 31 Oct 2013 17:20:45 +0000 (18:20 +0100)]
--auto --commit now behaves like fd-commit, consistency

10 years agoFix --auto for the new BV syntax
Daniel Martí [Thu, 31 Oct 2013 16:59:45 +0000 (17:59 +0100)]
Fix --auto for the new BV syntax

10 years agoDon't remove output dirs twice. --subprojects is useless.
Daniel Martí [Thu, 31 Oct 2013 16:56:12 +0000 (17:56 +0100)]
Don't remove output dirs twice. --subprojects is useless.

10 years agoFix mistake in 08287a1f
Ciaran Gultnieks [Thu, 31 Oct 2013 16:42:42 +0000 (16:42 +0000)]
Fix mistake in 08287a1f

10 years agoForgot to actually use the real repotype variable
Daniel Martí [Thu, 31 Oct 2013 16:35:13 +0000 (17:35 +0100)]
Forgot to actually use the real repotype variable

10 years agoBetter gradle signature config filter
Daniel Martí [Thu, 31 Oct 2013 16:22:08 +0000 (17:22 +0100)]
Better gradle signature config filter

10 years agoAlso remove 'obj' when removing jni dirs
Daniel Martí [Thu, 31 Oct 2013 16:21:49 +0000 (17:21 +0100)]
Also remove 'obj' when removing jni dirs

10 years agoMinor fixes to git-svn
Daniel Martí [Thu, 31 Oct 2013 14:54:52 +0000 (15:54 +0100)]
Minor fixes to git-svn

10 years agoNew field: scandelete, like scanignore but deleting
Daniel Martí [Fri, 1 Nov 2013 12:46:19 +0000 (13:46 +0100)]
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

10 years agoNew metadata field: Vercode Operation
Daniel Martí [Fri, 1 Nov 2013 12:25:50 +0000 (13:25 +0100)]
New metadata field: Vercode Operation

10 years agoAlso reset --hard and clean -dffx the git submodules
Daniel Martí [Fri, 1 Nov 2013 12:19:29 +0000 (13:19 +0100)]
Also reset --hard and clean -dffx the git submodules

10 years agoCheckout with --force on git
Daniel Martí [Fri, 1 Nov 2013 12:19:07 +0000 (13:19 +0100)]
Checkout with --force on git

10 years agoNo quotes in --commit messages
Daniel Martí [Fri, 1 Nov 2013 10:05:41 +0000 (11:05 +0100)]
No quotes in --commit messages

10 years agoStart using config and options as common.py globals
Daniel Martí [Thu, 31 Oct 2013 22:27:03 +0000 (23:27 +0100)]
Start using config and options as common.py globals

10 years agoAvoid pyflakes error
Ciaran Gultnieks [Thu, 31 Oct 2013 22:16:05 +0000 (22:16 +0000)]
Avoid pyflakes error

10 years ago--auto --commit now behaves like fd-commit, consistency
Daniel Martí [Thu, 31 Oct 2013 17:20:45 +0000 (18:20 +0100)]
--auto --commit now behaves like fd-commit, consistency

10 years agoFix --auto for the new BV syntax
Daniel Martí [Thu, 31 Oct 2013 16:59:45 +0000 (17:59 +0100)]
Fix --auto for the new BV syntax

10 years agoDon't remove output dirs twice. --subprojects is useless.
Daniel Martí [Thu, 31 Oct 2013 16:56:12 +0000 (17:56 +0100)]
Don't remove output dirs twice. --subprojects is useless.

10 years agoFix mistake in 08287a1f
Ciaran Gultnieks [Thu, 31 Oct 2013 16:42:42 +0000 (16:42 +0000)]
Fix mistake in 08287a1f

10 years agoForgot to actually use the real repotype variable
Daniel Martí [Thu, 31 Oct 2013 16:35:13 +0000 (17:35 +0100)]
Forgot to actually use the real repotype variable

10 years agoBetter gradle signature config filter
Daniel Martí [Thu, 31 Oct 2013 16:22:08 +0000 (17:22 +0100)]
Better gradle signature config filter

10 years agoAlso remove 'obj' when removing jni dirs
Daniel Martí [Thu, 31 Oct 2013 16:21:49 +0000 (17:21 +0100)]
Also remove 'obj' when removing jni dirs

10 years agoMerge branch 'master' of gitorious.org:f-droid/fdroidserver
Ciaran Gultnieks [Thu, 31 Oct 2013 15:51:06 +0000 (15:51 +0000)]
Merge branch 'master' of gitorious.org:f-droid/fdroidserver

10 years agoFix import error message
Ciaran Gultnieks [Thu, 31 Oct 2013 15:47:24 +0000 (15:47 +0000)]
Fix import error message

10 years agoTidied up some unused junk
Ciaran Gultnieks [Thu, 31 Oct 2013 15:46:32 +0000 (15:46 +0000)]
Tidied up some unused junk

10 years agoDisplay previously ignored checkupdates error
Ciaran Gultnieks [Thu, 31 Oct 2013 15:39:47 +0000 (15:39 +0000)]
Display previously ignored checkupdates error

10 years agoHandle repo config in a more sensible way
Ciaran Gultnieks [Thu, 31 Oct 2013 15:37:39 +0000 (15:37 +0000)]
Handle repo config in a more sensible way

10 years agoMinor fixes to git-svn
Daniel Martí [Thu, 31 Oct 2013 14:54:52 +0000 (15:54 +0100)]
Minor fixes to git-svn

10 years agoDid not mean to commit these
Daniel Martí [Thu, 31 Oct 2013 14:45:16 +0000 (15:45 +0100)]
Did not mean to commit these

10 years agoSkip the single app, not all of them...
Daniel Martí [Thu, 31 Oct 2013 14:43:36 +0000 (15:43 +0100)]
Skip the single app, not all of them...

10 years agoGet rid of unnecessary indentation
Daniel Martí [Thu, 31 Oct 2013 14:42:58 +0000 (15:42 +0100)]
Get rid of unnecessary indentation

10 years agoSwitch all shebangs to 'env python2'
Daniel Martí [Thu, 31 Oct 2013 12:25:39 +0000 (13:25 +0100)]
Switch all shebangs to 'env python2'

10 years agoRename commitupdates to fd-commit
Daniel Martí [Thu, 31 Oct 2013 12:10:08 +0000 (13:10 +0100)]
Rename commitupdates to fd-commit

10 years agocategorycount is no longer of any use
Daniel Martí [Thu, 31 Oct 2013 12:08:39 +0000 (13:08 +0100)]
categorycount is no longer of any use

10 years agoTwo new stats files: categories.txt, antifeatures.txt
Daniel Martí [Thu, 31 Oct 2013 12:08:15 +0000 (13:08 +0100)]
Two new stats files: categories.txt, antifeatures.txt

10 years agoDocument git-svn auth
Daniel Martí [Thu, 31 Oct 2013 10:54:19 +0000 (11:54 +0100)]
Document git-svn auth

10 years agoSupport user:pass authentication on git-svn
Daniel Martí [Thu, 31 Oct 2013 10:53:12 +0000 (11:53 +0100)]
Support user:pass authentication on git-svn

10 years agoIf config.py is not in the CWD, error before doing anything
Daniel Martí [Wed, 30 Oct 2013 21:13:15 +0000 (22:13 +0100)]
If config.py is not in the CWD, error before doing anything

10 years agoAdd support for UCM:Tags in bzr
Daniel Martí [Wed, 30 Oct 2013 20:54:09 +0000 (21:54 +0100)]
Add support for UCM:Tags in bzr

10 years agoAvoid newlines in git-svn RepoTrunk
Daniel Martí [Wed, 30 Oct 2013 20:40:48 +0000 (21:40 +0100)]
Avoid newlines in git-svn RepoTrunk

10 years agocommitupdates now treats all other changes in a generic manner
Daniel Martí [Wed, 30 Oct 2013 19:17:56 +0000 (20:17 +0100)]
commitupdates now treats all other changes in a generic manner

10 years agoDon't error when finding apk files, just delete them
Daniel Martí [Wed, 30 Oct 2013 18:15:15 +0000 (19:15 +0100)]
Don't error when finding apk files, just delete them