chiark / gitweb /
fdroidserver.git
9 years agoRemove more prints in favour of logging
Daniel Martí [Wed, 2 Jul 2014 22:35:43 +0000 (00:35 +0200)]
Remove more prints in favour of logging

9 years agoFind the 'android' executable in the same manner
Daniel Martí [Wed, 2 Jul 2014 22:34:16 +0000 (00:34 +0200)]
Find the 'android' executable in the same manner

9 years agoAlso find zipalign at the start
Daniel Martí [Wed, 2 Jul 2014 22:31:10 +0000 (00:31 +0200)]
Also find zipalign at the start

9 years agoFind aapt as part of the main config initialisation
Daniel Martí [Wed, 2 Jul 2014 22:27:44 +0000 (00:27 +0200)]
Find aapt as part of the main config initialisation

9 years agoRefuse to try downloading a repo twice
Daniel Martí [Wed, 2 Jul 2014 15:21:45 +0000 (17:21 +0200)]
Refuse to try downloading a repo twice

9 years agoException handling improvements
Daniel Martí [Wed, 2 Jul 2014 13:30:05 +0000 (15:30 +0200)]
Exception handling improvements

* Replace some prints with proper logging messages
* Make VCSException as verbose as BuildException, including error output

9 years agoDon't set $SDK, it's too ambiguous with e.g. the Java SDK
Daniel Martí [Wed, 2 Jul 2014 13:01:08 +0000 (15:01 +0200)]
Don't set $SDK, it's too ambiguous with e.g. the Java SDK

9 years agoSet up SDK and NDK env vars from python
Daniel Martí [Tue, 1 Jul 2014 19:03:50 +0000 (21:03 +0200)]
Set up SDK and NDK env vars from python

No need to make the buildserver do it

9 years agoImprove some log levels
Daniel Martí [Tue, 1 Jul 2014 18:32:49 +0000 (20:32 +0200)]
Improve some log levels

9 years agoRemove @dir support from gradle
Daniel Martí [Tue, 1 Jul 2014 17:39:41 +0000 (19:39 +0200)]
Remove @dir support from gradle

9 years agoSimpler way to get the available gradle versions
Daniel Martí [Tue, 1 Jul 2014 17:18:12 +0000 (19:18 +0200)]
Simpler way to get the available gradle versions

Also, sort by version names instead of alphabetically

9 years agoFix the default config.py descriptions following the tuple syntax
Daniel Martí [Tue, 1 Jul 2014 16:22:05 +0000 (18:22 +0200)]
Fix the default config.py descriptions following the tuple syntax

9 years agoMerge branch 'bug-fixes-for-v0.2.1' of https://gitlab.com/eighthave/fdroidserver
Daniel Martí [Tue, 1 Jul 2014 16:13:00 +0000 (18:13 +0200)]
Merge branch 'bug-fixes-for-v0.2.1' of https://gitlab.com/eighthave/fdroidserver

9 years agoRename PopenResult.stdout to output since it also contains stderr
Daniel Martí [Tue, 1 Jul 2014 16:04:41 +0000 (18:04 +0200)]
Rename PopenResult.stdout to output since it also contains stderr

9 years agoFix very silly typo that broke all apps using buildjni
Daniel Martí [Tue, 1 Jul 2014 15:51:17 +0000 (17:51 +0200)]
Fix very silly typo that broke all apps using buildjni

9 years agoonly move GPG signature if APK exists
Hans-Christoph Steiner [Tue, 1 Jul 2014 01:47:47 +0000 (21:47 -0400)]
only move GPG signature if APK exists

The .asc moving code just needed to be indented so it only runs when
'srcname' exists in apk[], otherwise it just throws a KeyError

9 years agorun pre-commit hook as part of test suite
Hans-Christoph Steiner [Tue, 1 Jul 2014 01:40:31 +0000 (21:40 -0400)]
run pre-commit hook as part of test suite

9 years agoreplace redundant build_tools check that breaks `fdroid init`
Hans-Christoph Steiner [Tue, 1 Jul 2014 01:37:46 +0000 (21:37 -0400)]
replace redundant build_tools check that breaks `fdroid init`

This reverts b637568a624cc75f4e67a0df59a017872e2129c6 since it added a
redundant check that broke `fdroid init` when the default version dir of
build_tools does not exist on the local system.  It then uses the function
that was already in place for checking the build_tools setup in a way that
does not break `fdroid init`.

Now that the fake android home version is not matching the default version,
the tests will catch this bug in the future.

9 years agofix bad syncing from local copy, force trailing slash to make rsync happy
Hans-Christoph Steiner [Mon, 30 Jun 2014 20:09:57 +0000 (16:09 -0400)]
fix bad syncing from local copy, force trailing slash to make rsync happy

It seems that paths for rsync must have a trailing slash in order to sync
rather than make a subdir, i.e. this makes a duplicate subdir:

  rsync /tmp/fdroid/repo repo

While this syncs the dirs

  rsync /tmp/fdroid/repo/ repo/

9 years agocheck repo icons exist now before running through all of `fdroid update`
Hans-Christoph Steiner [Mon, 30 Jun 2014 16:19:47 +0000 (12:19 -0400)]
check repo icons exist now before running through all of `fdroid update`

Before, if repo_icon or archive_icon pointed to a non-existent file, then
`fdroid update` would run through the whole process of building a repo,
then fail at the very end because of the non-existent file.  On the next
run, `fdroid update` then starts from the beginning.

This just checks for those files at the beginning, and exits with an error
if they are not found.

9 years agouse 'python2' everywhere since fdroidserver has not been tested with 3.x
Hans-Christoph Steiner [Mon, 30 Jun 2014 15:31:38 +0000 (11:31 -0400)]
use 'python2' everywhere since fdroidserver has not been tested with 3.x

9 years agotests: create_fake_android_home should create old build-tools version
Hans-Christoph Steiner [Mon, 30 Jun 2014 15:28:38 +0000 (11:28 -0400)]
tests: create_fake_android_home should create old build-tools version

This is testing the build-tools version auto-detect in `fdroid init`, so it
should be kept as an older version.  This is not meant to test the current
version of the build tools.

9 years agofix PEP8 fdroidserver/common.py:65:13: E126 continuation line over-indented for hangi...
Hans-Christoph Steiner [Mon, 30 Jun 2014 15:27:21 +0000 (11:27 -0400)]
fix PEP8 fdroidserver/common.py:65:13: E126 continuation line over-indented for hanging indent

9 years agoMove gpg signatures to archive along with the other files
Ciaran Gultnieks [Mon, 30 Jun 2014 21:53:02 +0000 (22:53 +0100)]
Move gpg signatures to archive along with the other files

9 years agoGenerate gpg signatures for apks in archive repo also
Ciaran Gultnieks [Mon, 30 Jun 2014 21:49:54 +0000 (22:49 +0100)]
Generate gpg signatures for apks in archive repo also

9 years agoFix indent
Ciaran Gultnieks [Mon, 30 Jun 2014 20:32:43 +0000 (21:32 +0100)]
Fix indent

9 years agoDon't change the behaviour in debian setups
Daniel Martí [Mon, 30 Jun 2014 17:52:59 +0000 (19:52 +0200)]
Don't change the behaviour in debian setups

9 years agoSupport calling of 'fdroid init' from other places
Daniel Martí [Mon, 30 Jun 2014 17:38:38 +0000 (19:38 +0200)]
Support calling of 'fdroid init' from other places

e.g. from a symlink to fdroid or from a script. Also more reliable in other
cases where argv[0] is not what we want.

9 years agoUpdate the SDK to version 23.0.0
Daniel Martí [Mon, 30 Jun 2014 15:03:26 +0000 (17:03 +0200)]
Update the SDK to version 23.0.0

9 years agoUpdate build-tools to 20.0.0
Daniel Martí [Mon, 30 Jun 2014 15:03:16 +0000 (17:03 +0200)]
Update build-tools to 20.0.0

9 years agoReport the vercode as well as the version name when building
Daniel Martí [Mon, 30 Jun 2014 14:34:26 +0000 (16:34 +0200)]
Report the vercode as well as the version name when building

9 years agoAdd optipng, useful for some apps
Daniel Martí [Mon, 30 Jun 2014 14:22:31 +0000 (16:22 +0200)]
Add optipng, useful for some apps

Specifically, for cz.jirkovsky.lukas.chmupocasi

9 years agoAlways run aapt with SilentPopen
Daniel Martí [Mon, 30 Jun 2014 14:15:14 +0000 (16:15 +0200)]
Always run aapt with SilentPopen

9 years agoAlways run read_srclibs as part of read_metadata
Daniel Martí [Mon, 30 Jun 2014 12:39:52 +0000 (14:39 +0200)]
Always run read_srclibs as part of read_metadata

9 years agoRecognise published .asc signatures in web repo browser
Ciaran Gultnieks [Mon, 30 Jun 2014 11:04:22 +0000 (12:04 +0100)]
Recognise published .asc signatures in web repo browser

9 years agoGenerate gpg signatures with .asc extension
Ciaran Gultnieks [Mon, 30 Jun 2014 11:04:04 +0000 (12:04 +0100)]
Generate gpg signatures with .asc extension

9 years agoFix stats update bug
Ciaran Gultnieks [Mon, 30 Jun 2014 11:03:45 +0000 (12:03 +0100)]
Fix stats update bug

9 years agoFix the copyright notice in gpgsign.py
Daniel Martí [Sun, 29 Jun 2014 22:08:10 +0000 (00:08 +0200)]
Fix the copyright notice in gpgsign.py

9 years agogit-svn: use 'origin/' when passing a treeish (branches) to find-rev
Daniel Martí [Sat, 28 Jun 2014 23:29:31 +0000 (01:29 +0200)]
git-svn: use 'origin/' when passing a treeish (branches) to find-rev

This fixes the builds of de.blau.android. This worked before for some reason.
Git-svn probably changed in some way.

9 years agoMerge branch 'fix-and-test-source-tarball-process' of https://gitlab.com/eighthave...
Daniel Martí [Sat, 28 Jun 2014 17:57:45 +0000 (19:57 +0200)]
Merge branch 'fix-and-test-source-tarball-process' of https://gitlab.com/eighthave/fdroidserver

9 years agoPlace more examples/config.py stuff into the defaults
Daniel Martí [Sat, 28 Jun 2014 17:57:14 +0000 (19:57 +0200)]
Place more examples/config.py stuff into the defaults

9 years agotests: create a source tarball and use that to build a repo
Hans-Christoph Steiner [Fri, 27 Jun 2014 21:06:52 +0000 (17:06 -0400)]
tests: create a source tarball and use that to build a repo

This tests that setup.py is in working order and creating a functional
source tarball.

9 years agotests: by default, run on included urzip.apk
Hans-Christoph Steiner [Fri, 27 Jun 2014 21:06:18 +0000 (17:06 -0400)]
tests: by default, run on included urzip.apk

This means you can just do `cd tests/ && ./run-tests` to run the tests now.
You can still override the APK source with the first argument, like:

cd tests/ && ./run-tests /path/to/lots/of/apks/dir

9 years agoMerge branch 'add-local_copy_dir-and-v0.2-fixes' of https://gitlab.com/eighthave... 0.2
Daniel Martí [Fri, 27 Jun 2014 19:11:52 +0000 (21:11 +0200)]
Merge branch 'add-local_copy_dir-and-v0.2-fixes' of https://gitlab.com/eighthave/fdroidserver

9 years agoset version to v0.2
Hans-Christoph Steiner [Thu, 26 Jun 2014 23:52:19 +0000 (19:52 -0400)]
set version to v0.2

9 years agoinclude getsig.java and opensc-fdroid.cfg in the source tarball
Hans-Christoph Steiner [Thu, 26 Jun 2014 23:52:11 +0000 (19:52 -0400)]
include getsig.java and opensc-fdroid.cfg in the source tarball

9 years agoserver update: mkdir 'archive' if it does not exist
Hans-Christoph Steiner [Thu, 26 Jun 2014 19:46:47 +0000 (15:46 -0400)]
server update: mkdir 'archive' if it does not exist

If `fdroid server update` is run with config that includes an archive, but
the 'archive' subdir does not exist, create it.  This mirrors the code that
is in `fdroid update`.  Seems to trivial to move to common.py.

9 years agoserver: --sync-from-local-copy-dir for updating from offline signing repo
Hans-Christoph Steiner [Thu, 26 Jun 2014 18:18:29 +0000 (14:18 -0400)]
server: --sync-from-local-copy-dir for updating from offline signing repo

To support a fully offline build/signing machine, there is the "local copy
dir".  The repo is generated on the offline machine and then copied to a
local dir where a thumb drive or SD Card is mounted.  Then on the online
machine, using `fdroid server update --sync-from-local-copy-dir` allows
the whole server update process to happen in a single command:

0. read config.py on online machine's repo
1. rsync from the local_copy_dir to the current dir
2. copy to serverwebroot, awsbucket, etc.

9 years agoswitch serverwebroot rsync to --archive for guaranteed full sync
Hans-Christoph Steiner [Thu, 26 Jun 2014 17:05:24 +0000 (13:05 -0400)]
switch serverwebroot rsync to --archive for guaranteed full sync

In `fdroid server update`, the rsync command used --update, which
`man rsync` says: "skip files that are newer on the receiver".  That could
cause issues of the public repo getting out of sync with the private,
master repo.  --archive is a better sync method since it aims to exactly
reproduce the sending dir to the receiving dir.

9 years agoserver: 'local_copy_dir' config/options to automate offline repo signing
Hans-Christoph Steiner [Thu, 26 Jun 2014 15:57:40 +0000 (11:57 -0400)]
server: 'local_copy_dir' config/options to automate offline repo signing

This allows a dir to be specified in config.py that `fdroid server update`
will automatically rsync the repo to.  The idea is that the path would
point to an SD card on a fully offline machine that serves as the secure
repo signing machine.

9 years agoRaise gotorevision exceptions with more useful info
Daniel Martí [Thu, 26 Jun 2014 11:07:49 +0000 (13:07 +0200)]
Raise gotorevision exceptions with more useful info

9 years agoAlways try to recover origin/HEAD in case it's not there
Daniel Martí [Thu, 26 Jun 2014 11:03:51 +0000 (13:03 +0200)]
Always try to recover origin/HEAD in case it's not there

9 years agoEasier multiline strings
Daniel Martí [Thu, 26 Jun 2014 10:52:16 +0000 (12:52 +0200)]
Easier multiline strings

9 years agoError if UCM:Tags is used with git-svn without tags set up
Daniel Martí [Thu, 26 Jun 2014 10:41:50 +0000 (12:41 +0200)]
Error if UCM:Tags is used with git-svn without tags set up

9 years agoSimplify check_metadata
Daniel Martí [Thu, 26 Jun 2014 10:39:42 +0000 (12:39 +0200)]
Simplify check_metadata

9 years agoFix pep8 error in previous commit
Ciaran Gultnieks [Wed, 25 Jun 2014 11:38:25 +0000 (12:38 +0100)]
Fix pep8 error in previous commit

9 years agoFix nasty problem caused by 7c2e61a4
Ciaran Gultnieks [Wed, 25 Jun 2014 10:43:23 +0000 (11:43 +0100)]
Fix nasty problem caused by 7c2e61a4

9 years agoUse origin/HEAD as the default checkout for git
Daniel Martí [Wed, 25 Jun 2014 09:12:53 +0000 (11:12 +0200)]
Use origin/HEAD as the default checkout for git

This should fix many RepoManifest UCMs where 'master' is not the default
branch

9 years agoBe more specific when logging repository deletes
Ciaran Gultnieks [Wed, 25 Jun 2014 08:54:14 +0000 (09:54 +0100)]
Be more specific when logging repository deletes

9 years agoFix popen command logging
Ciaran Gultnieks [Wed, 25 Jun 2014 08:25:47 +0000 (09:25 +0100)]
Fix popen command logging

9 years agoSmall buildjni= fixes
Daniel Martí [Tue, 24 Jun 2014 20:31:39 +0000 (22:31 +0200)]
Small buildjni= fixes

9 years agoDon't error about native code if buildjni=no
Daniel Martí [Tue, 24 Jun 2014 20:09:05 +0000 (22:09 +0200)]
Don't error about native code if buildjni=no

9 years agoOnly report files that were actually cleaned of signing stuff
Daniel Martí [Sun, 22 Jun 2014 19:34:14 +0000 (21:34 +0200)]
Only report files that were actually cleaned of signing stuff

9 years agoSet the FDroidOpen output default back to true
Daniel Martí [Sun, 22 Jun 2014 19:29:07 +0000 (21:29 +0200)]
Set the FDroidOpen output default back to true

Having it at False just makes SilentPopen useless.

9 years agoDon't use logging.info with verbose ifs
Daniel Martí [Sun, 22 Jun 2014 19:28:33 +0000 (21:28 +0200)]
Don't use logging.info with verbose ifs

9 years agoWarn about config permissions before loading the defaults
Daniel Martí [Sun, 22 Jun 2014 19:24:05 +0000 (21:24 +0200)]
Warn about config permissions before loading the defaults

Now, configs that don't contain passwords don't trigger the warning.

9 years agoA bit more None magic to fix some UCMs
Daniel Martí [Sun, 22 Jun 2014 15:36:00 +0000 (17:36 +0200)]
A bit more None magic to fix some UCMs

9 years agoDon't output everything when using --verbose
Daniel Martí [Sat, 21 Jun 2014 21:03:36 +0000 (23:03 +0200)]
Don't output everything when using --verbose

This is especially painful when using stuff like aapt to obtain data

9 years agoRevert "Keep version names even if found separate from the code"
Daniel Martí [Fri, 20 Jun 2014 09:10:52 +0000 (11:10 +0200)]
Revert "Keep version names even if found separate from the code"

This reverts commit 75381ef14718f3821acefaa64a4f7d5243ba15df.

9 years agoBetter support for gradle plugin versions
Daniel Martí [Thu, 19 Jun 2014 10:41:34 +0000 (12:41 +0200)]
Better support for gradle plugin versions

9 years agoUse gradle_dir, not root_dir, to fetch the plugin version
Daniel Martí [Thu, 19 Jun 2014 10:32:21 +0000 (12:32 +0200)]
Use gradle_dir, not root_dir, to fetch the plugin version

9 years agoMerge branch 'master' into 'master'
Daniel Martí [Tue, 17 Jun 2014 08:48:28 +0000 (08:48 +0000)]
Merge branch 'master' into 'master'

run-tests: find current version of aapt in folder rather than in PATH

The Jenkins server did not yet have 19.1.0 build-tools installed yet, so your fixed commits failed to build.  This commit fixes the build:

Not everyone adds the build-tools to their PATH, so this makes it so this script will find aapt in the most recent build-tools version that is installed on the local system.

9 years agorun-tests: find current version of aapt in folder rather than in PATH
Hans-Christoph Steiner [Mon, 16 Jun 2014 23:18:28 +0000 (19:18 -0400)]
run-tests: find current version of aapt in folder rather than in PATH

Not everyone adds the build-tools to their PATH, so this makes it so this
script will find aapt in the most recent build-tools version that is
installed on the local system.

9 years agoCurrent build-tools is 19.1.0, not 19.1
Daniel Martí [Mon, 16 Jun 2014 21:12:47 +0000 (23:12 +0200)]
Current build-tools is 19.1.0, not 19.1

9 years agoFix create_fake_android_home with the new build-tools
Daniel Martí [Mon, 16 Jun 2014 11:09:28 +0000 (13:09 +0200)]
Fix create_fake_android_home with the new build-tools

9 years agoBump default build_tools, small fixes
Daniel Martí [Mon, 16 Jun 2014 10:42:43 +0000 (12:42 +0200)]
Bump default build_tools, small fixes

9 years agoWarn if build_tools is not set up properly
Daniel Martí [Mon, 16 Jun 2014 10:40:04 +0000 (12:40 +0200)]
Warn if build_tools is not set up properly

9 years agoKeep version names even if found separate from the code
Daniel Martí [Mon, 16 Jun 2014 10:30:33 +0000 (12:30 +0200)]
Keep version names even if found separate from the code

9 years agoAvoiding lintVital is no longer necessary in 0.11
Daniel Martí [Sun, 15 Jun 2014 11:34:41 +0000 (13:34 +0200)]
Avoiding lintVital is no longer necessary in 0.11

9 years agoFix crash in 'fdroid import'
Daniel Martí [Sun, 15 Jun 2014 10:30:03 +0000 (12:30 +0200)]
Fix crash in 'fdroid import'

9 years agoFix bug in reading old recipes
Daniel Martí [Sun, 15 Jun 2014 10:16:10 +0000 (12:16 +0200)]
Fix bug in reading old recipes

9 years agoUpdate fdroid init completion
Daniel Martí [Thu, 12 Jun 2014 19:51:33 +0000 (21:51 +0200)]
Update fdroid init completion

9 years agoInstall and lint were missing -q
Daniel Martí [Thu, 12 Jun 2014 19:48:45 +0000 (21:48 +0200)]
Install and lint were missing -q

9 years agoApk output path is build/outputs/apk/*.apk since 0.11
Daniel Martí [Thu, 12 Jun 2014 08:04:20 +0000 (10:04 +0200)]
Apk output path is build/outputs/apk/*.apk since 0.11

9 years agolintVital was added in 0.8, only exclude it then
Daniel Martí [Thu, 12 Jun 2014 08:00:46 +0000 (10:00 +0200)]
lintVital was added in 0.8, only exclude it then

9 years agoAdd support for plugin version 0.11
Daniel Martí [Thu, 12 Jun 2014 08:00:29 +0000 (10:00 +0200)]
Add support for plugin version 0.11

9 years agoUpdate sdk and build-tools
Daniel Martí [Wed, 11 Jun 2014 20:47:54 +0000 (22:47 +0200)]
Update sdk and build-tools

9 years agoFix small issue in import.py
Daniel Martí [Sun, 8 Jun 2014 19:36:22 +0000 (21:36 +0200)]
Fix small issue in import.py

9 years agoMerge branch 'rsync-improvements-for-fdroid-server-update' into 'master'
Ciaran Gultnieks [Mon, 9 Jun 2014 22:14:34 +0000 (22:14 +0000)]
Merge branch 'rsync-improvements-for-fdroid-server-update' into 'master'

rsync improvements for fdroid server update

This is a couple of improvements to how `fdroid server update` uses `rsync`.

(also, please remove the branch when accepting any of my merge requests)

9 years agoAdd faketime, needed by lildebi
Daniel Martí [Sun, 8 Jun 2014 08:24:37 +0000 (10:24 +0200)]
Add faketime, needed by lildebi

9 years agoExclude lint from gradle build tasks
Daniel Martí [Sat, 7 Jun 2014 22:48:35 +0000 (00:48 +0200)]
Exclude lint from gradle build tasks

9 years agojni problem is critical, so make it an error
Daniel Martí [Sat, 7 Jun 2014 22:38:11 +0000 (00:38 +0200)]
jni problem is critical, so make it an error

9 years agotests: turn off unneeded debug logging during APK copying
Hans-Christoph Steiner [Thu, 5 Jun 2014 20:55:52 +0000 (16:55 -0400)]
tests: turn off unneeded debug logging during APK copying

The whole process of finding and copying APKs can be very verbose, so turn
of the bash verbose logging during that process.

9 years agoserver: specify an identity file for SSH when rsyncing
Hans-Christoph Steiner [Thu, 5 Jun 2014 20:21:12 +0000 (16:21 -0400)]
server: specify an identity file for SSH when rsyncing

This allows the SSH key used to sync with the server to be specified via
the config.py or the command line.  I need it for running automated tests
and setups.

9 years agoupdate: add stricter checking when updating repo index using rsync
Hans-Christoph Steiner [Thu, 5 Jun 2014 19:50:21 +0000 (15:50 -0400)]
update: add stricter checking when updating repo index using rsync

rsync uses the modification time and size of the file when deciding whether
to update a file.  These are relatively easy to control in malicious code,
so instead make rsync use a full MD5 checksum when decided whether the
index needs to be updated.  I suppose we could add an option to use
checksum checking on all files, but since the signed repo already provides
a checksum check, it seems not worth the added load on the process.

Also, renamed 'index' to 'indexxml' to make it clear what is the XML and
what is the JAR.

9 years agoMerge branch 'test-updates-and-related-bug-fixes' into 'master'
Ciaran Gultnieks [Thu, 5 Jun 2014 15:51:24 +0000 (15:51 +0000)]
Merge branch 'test-updates-and-related-bug-fixes' into 'master'

Test updates and related bug fixes

I just set up some big tests of generating repos based on feeding as many random APKs into `fdroid update` as possible.  On our jenkins server, the tests copy all of the APKs that the jenkins server has generated and builds a repo from them.  This process caught lots of little glitches in the whole process.  While these little glitches are usually caused by problematic APKs, `fdroid update` should handle them gracefully.  Hopefully this set of fixes accomplishes that.

9 years agoBe less clumsy when removing signingConfigs
Daniel Martí [Thu, 5 Jun 2014 08:02:30 +0000 (10:02 +0200)]
Be less clumsy when removing signingConfigs

9 years agotests: fix --android-home test to actually work
Hans-Christoph Steiner [Wed, 4 Jun 2014 22:45:06 +0000 (18:45 -0400)]
tests: fix --android-home test to actually work

In this case, ANDROID_HOME is set to a fake, non-working version that will
be detected by fdroid as an Android SDK install.  It should use the path
set by --android-home over the one in ANDROID_HOME, therefore if it uses
the one in ANDROID_HOME, it won't work because it is a fake one.  Only
--android-home provides a working one.

9 years agoupdate name/description in examples/config.py
Hans-Christoph Steiner [Wed, 4 Jun 2014 19:47:54 +0000 (15:47 -0400)]
update name/description in examples/config.py

It was confusing that by default, repos created with `fdroid init` had the
same name/description as f-droid.org/repo

9 years agosome APKs do not have a name, like system APKs
Hans-Christoph Steiner [Tue, 3 Jun 2014 18:18:08 +0000 (14:18 -0400)]
some APKs do not have a name, like system APKs

It is not necessarily a good idea to try to distribute system APKs via
FDroid, but `fdroid update` should just ignore APKs it cannot handle rather
than die and prevent a repo from being fully created.  This is necessary to
handle the automatic creation of repos, like for debug builds from a
Jenkins server.