chiark / gitweb /
fdroidserver.git
9 years agoAdd build-deps for Firefox
Boris Kraut [Sun, 25 Jan 2015 00:09:13 +0000 (01:09 +0100)]
Add build-deps for Firefox

9 years agoMerge branch 'master' into 'master'
Ciaran Gultnieks [Wed, 21 Jan 2015 16:30:43 +0000 (16:30 +0000)]
Merge branch 'master' into 'master'

fix build issues

Fixed three build issues: one PEP8 and two small errors in the tests.

See merge request !39

9 years agofix update.TestCase: remove unused SilentPopen import, that class was removed
Hans-Christoph Steiner [Tue, 20 Jan 2015 21:43:55 +0000 (22:43 +0100)]
fix update.TestCase: remove unused SilentPopen import, that class was removed

9 years agofix install test by making sure common.options is set
Hans-Christoph Steiner [Tue, 20 Jan 2015 21:40:45 +0000 (22:40 +0100)]
fix install test by making sure common.options is set

9 years agofix PEP8 E124 closing bracket missing visual indentation
Hans-Christoph Steiner [Tue, 20 Jan 2015 17:01:29 +0000 (18:01 +0100)]
fix PEP8 E124 closing bracket missing visual indentation

9 years agoMerge branch 'antifeature' into 'master'
Ciaran Gultnieks [Wed, 21 Jan 2015 09:19:12 +0000 (09:19 +0000)]
Merge branch 'antifeature' into 'master'

Update docs: AntiFeatures

See merge request !38

9 years agoFix no-checksum option type for local sync (fixes #67)
Ciaran Gultnieks [Wed, 21 Jan 2015 09:15:20 +0000 (09:15 +0000)]
Fix no-checksum option type for local sync (fixes #67)

9 years agoUpdate docs: Add UpstreamNonFree; apps with AFs are not hidden.
Boris Kraut [Sat, 17 Jan 2015 00:11:43 +0000 (01:11 +0100)]
Update docs: Add UpstreamNonFree; apps with AFs are not hidden.

9 years agoMerge branch 'update_docs' into 'master'
Ciaran Gultnieks [Fri, 16 Jan 2015 21:05:02 +0000 (21:05 +0000)]
Merge branch 'update_docs' into 'master'

Added docs how to get platform cache files (closes #53)

See merge request !37

9 years agoAdded docs how to get platform cache files (closes #53)
Rancor [Fri, 16 Jan 2015 20:59:33 +0000 (21:59 +0100)]
Added docs how to get platform cache files (closes #53)

9 years agoFix adding paths to the PATH env variable
Daniel Martí [Tue, 13 Jan 2015 15:37:10 +0000 (16:37 +0100)]
Fix adding paths to the PATH env variable

9 years agoFix issue introduced in 49549f4cad2097 (fixes #62)
Daniel Martí [Tue, 13 Jan 2015 15:15:11 +0000 (16:15 +0100)]
Fix issue introduced in 49549f4cad2097 (fixes #62)

9 years agoFix PEP8 issues from latest pull request
Ciaran Gultnieks [Tue, 13 Jan 2015 08:26:30 +0000 (08:26 +0000)]
Fix PEP8 issues from latest pull request

9 years agoCorrection to 5b868c8a4
Ciaran Gultnieks [Tue, 13 Jan 2015 08:25:27 +0000 (08:25 +0000)]
Correction to 5b868c8a4

9 years agoDon't limit gradle's forceversion to string literals
Daniel Martí [Mon, 12 Jan 2015 22:47:40 +0000 (23:47 +0100)]
Don't limit gradle's forceversion to string literals

9 years agoOnly set Auto Name if one isn't set already
Ciaran Gultnieks [Mon, 12 Jan 2015 18:58:03 +0000 (18:58 +0000)]
Only set Auto Name if one isn't set already

9 years agoMerge branch 'master' into 'master'
Ciaran Gultnieks [Mon, 12 Jan 2015 10:06:26 +0000 (10:06 +0000)]
Merge branch 'master' into 'master'

streamline verify process in `fdroid publish`

This is a collection of small fixes to streamline the process of verifying a build against a provided APK as set in the `Binaries:` metadata.

See merge request !35

9 years agoif a build did verify against Binaries:, delete the comparison dirs
Hans-Christoph Steiner [Mon, 12 Jan 2015 09:51:54 +0000 (10:51 +0100)]
if a build did verify against Binaries:, delete the comparison dirs

If the comparison between the provided APK and the built APK is verified,
then there is no need to keep the old comparison files around. On big build
servers like f-droid.org, there will be thousands of leftover dirs from all
the builds, so this is necessary.

9 years agoif `meld` is available, use it to show differences on failed APK compare
Hans-Christoph Steiner [Wed, 7 Jan 2015 19:09:03 +0000 (20:09 +0100)]
if `meld` is available, use it to show differences on failed APK compare

meld is much easier to browse when comparing directory trees.

9 years agoif `apktool` is available, use it to decompress APKs when verifying
Hans-Christoph Steiner [Wed, 7 Jan 2015 19:08:15 +0000 (20:08 +0100)]
if `apktool` is available, use it to decompress APKs when verifying

apktool decompiles the binary XML to regular XML, so it is much easier to
read for differences.

9 years agofix typo in error message
Hans-Christoph Steiner [Wed, 7 Jan 2015 18:57:15 +0000 (19:57 +0100)]
fix typo in error message

9 years agouncompress using `jar xf` in a folder with the same name
Hans-Christoph Steiner [Wed, 7 Jan 2015 18:56:55 +0000 (19:56 +0100)]
uncompress using `jar xf` in a folder with the same name

This makes it easier to compare the whole APK folders when there are
multiple methods of uncompressing the APK.

9 years agomake resulting dirs of compare_apks() have clearer dir names
Hans-Christoph Steiner [Wed, 7 Jan 2015 18:55:26 +0000 (19:55 +0100)]
make resulting dirs of compare_apks() have clearer dir names

This makes it a lot easier to remember which APK is which when trying to
make sense of the differences.

9 years agoprevent `fdroid publish` from repeatedly downloading the developer binary
Hans-Christoph Steiner [Wed, 7 Jan 2015 17:54:01 +0000 (18:54 +0100)]
prevent `fdroid publish` from repeatedly downloading the developer binary

wget's --continue makes wget not overwrite the existing file, or create a
new version with a .1 extension.  Instead it tries to finish an incomplete
download, or does nothing if the download is complete and matching.

9 years agoDetect apk cache changes to avoid having to blow the whole thing
Ciaran Gultnieks [Sun, 11 Jan 2015 18:22:00 +0000 (18:22 +0000)]
Detect apk cache changes to avoid having to blow the whole thing

9 years agoCorrection to no-checksum
Ciaran Gultnieks [Sun, 11 Jan 2015 17:46:42 +0000 (17:46 +0000)]
Correction to no-checksum

9 years agoRemove support for git-svn with authentication
Ciaran Gultnieks [Sun, 11 Jan 2015 17:46:10 +0000 (17:46 +0000)]
Remove support for git-svn with authentication

9 years agoAdd option to not use rsync --checksum
Ciaran Gultnieks [Sun, 11 Jan 2015 15:33:41 +0000 (15:33 +0000)]
Add option to not use rsync --checksum

9 years agoDocumentation fix
Ciaran Gultnieks [Sun, 11 Jan 2015 15:26:15 +0000 (15:26 +0000)]
Documentation fix

9 years agoComplete missing server options
Daniel Martí [Sun, 11 Jan 2015 13:24:45 +0000 (14:24 +0100)]
Complete missing server options

9 years agoscanner --nosvn was removed
Daniel Martí [Sun, 11 Jan 2015 13:22:30 +0000 (14:22 +0100)]
scanner --nosvn was removed

9 years agoComplete update --nosign
Daniel Martí [Sun, 11 Jan 2015 13:21:22 +0000 (14:21 +0100)]
Complete update --nosign

9 years agocomplete -h/--help for all commands implicitly
Daniel Martí [Sun, 11 Jan 2015 13:19:31 +0000 (14:19 +0100)]
complete -h/--help for all commands implicitly

9 years agoAdd bash-completion to pre-commit bash checks
Daniel Martí [Sun, 11 Jan 2015 13:17:25 +0000 (14:17 +0100)]
Add bash-completion to pre-commit bash checks

9 years agoAdd signindex to bash-completion
Daniel Martí [Sun, 11 Jan 2015 13:16:57 +0000 (14:16 +0100)]
Add signindex to bash-completion

9 years agoAdd fdroid signindex to sign previously unsigned indexes
Ciaran Gultnieks [Sat, 10 Jan 2015 16:36:26 +0000 (16:36 +0000)]
Add fdroid signindex to sign previously unsigned indexes

9 years agoAdd ability to not sign the indexes when doing fdroid update
Ciaran Gultnieks [Sat, 10 Jan 2015 16:35:12 +0000 (16:35 +0000)]
Add ability to not sign the indexes when doing fdroid update

9 years agoAllow repo pubkey to defined directly in config
Ciaran Gultnieks [Sat, 10 Jan 2015 15:44:16 +0000 (15:44 +0000)]
Allow repo pubkey to defined directly in config

9 years agoExtra debug logging when parsing manifests
Ciaran Gultnieks [Sat, 10 Jan 2015 15:15:23 +0000 (15:15 +0000)]
Extra debug logging when parsing manifests

9 years agoSanitise tags at point of reading
Ciaran Gultnieks [Sat, 10 Jan 2015 15:15:01 +0000 (15:15 +0000)]
Sanitise tags at point of reading

9 years agoMore detail for package ID mismatches
Ciaran Gultnieks [Sat, 10 Jan 2015 15:13:38 +0000 (15:13 +0000)]
More detail for package ID mismatches

9 years agofd-commit: read entire metadata files
Daniel Martí [Sat, 10 Jan 2015 19:04:49 +0000 (20:04 +0100)]
fd-commit: read entire metadata files

9 years agoscanner: adapt to new scan_source format (fixes #59)
Daniel Martí [Sat, 10 Jan 2015 12:49:54 +0000 (13:49 +0100)]
scanner: adapt to new scan_source format (fixes #59)

9 years agopre-commit: differentiate sh and bash files
Daniel Martí [Fri, 9 Jan 2015 15:08:27 +0000 (16:08 +0100)]
pre-commit: differentiate sh and bash files

9 years agohooks/pre-commit: Fix message
Daniel Martí [Fri, 9 Jan 2015 14:36:17 +0000 (15:36 +0100)]
hooks/pre-commit: Fix message

9 years agoSet up the ndk in $PATH before each build
Daniel Martí [Tue, 6 Jan 2015 18:41:55 +0000 (19:41 +0100)]
Set up the ndk in $PATH before each build

9 years agoDon't allow --skip-scan if scandelete is set up
Daniel Martí [Tue, 6 Jan 2015 13:40:31 +0000 (14:40 +0100)]
Don't allow --skip-scan if scandelete is set up

9 years agoError if any scanignore/delete paths are useless
Daniel Martí [Tue, 6 Jan 2015 13:37:13 +0000 (14:37 +0100)]
Error if any scanignore/delete paths are useless

9 years agoMerge branch 'fix_build_exception' of https://gitlab.com/Rancor/fdroidserver
Daniel Martí [Tue, 6 Jan 2015 13:03:23 +0000 (14:03 +0100)]
Merge branch 'fix_build_exception' of https://gitlab.com/Rancor/fdroidserver

9 years agoRemoved second parameter in replace_config_vars call
Rancor [Tue, 6 Jan 2015 11:37:34 +0000 (12:37 +0100)]
Removed second parameter in replace_config_vars call

9 years agoProperly capitalize all flavours (fixes org.ligi.fast)
Daniel Martí [Mon, 5 Jan 2015 12:07:22 +0000 (13:07 +0100)]
Properly capitalize all flavours (fixes org.ligi.fast)

9 years agoGradle cleaner: support multilines with backslashes
Daniel Martí [Mon, 5 Jan 2015 11:59:33 +0000 (12:59 +0100)]
Gradle cleaner: support multilines with backslashes

9 years agoFix build passing madness (closes #55)
Daniel Martí [Sun, 4 Jan 2015 23:29:27 +0000 (00:29 +0100)]
Fix build passing madness (closes #55)

9 years agoRemove trailing whitespace
Daniel Martí [Sun, 4 Jan 2015 19:52:27 +0000 (20:52 +0100)]
Remove trailing whitespace

9 years agoMerge branch 'fix_permission' of https://gitlab.com/Rancor/fdroidserver
Daniel Martí [Sun, 4 Jan 2015 19:51:56 +0000 (20:51 +0100)]
Merge branch 'fix_permission' of https://gitlab.com/Rancor/fdroidserver

9 years agoFixes #52 : Fix permission for executing android-ndk bin
Rancor [Sun, 4 Jan 2015 19:41:43 +0000 (20:41 +0100)]
Fixes #52 : Fix permission for executing android-ndk bin

9 years agoNever let build['ndk_path'] be None
Daniel Martí [Sun, 4 Jan 2015 19:41:22 +0000 (20:41 +0100)]
Never let build['ndk_path'] be None

9 years agoAdd apis 20 and 21 to wp-fdroid's androidversion()
Daniel Martí [Sun, 4 Jan 2015 03:26:24 +0000 (04:26 +0100)]
Add apis 20 and 21 to wp-fdroid's androidversion()

9 years agoCreate the ndk_loc dir first (fixes #52)
Daniel Martí [Sun, 4 Jan 2015 03:19:19 +0000 (04:19 +0100)]
Create the ndk_loc dir first (fixes #52)

9 years agoDon't crash if no suitable NDK is found
Daniel Martí [Sun, 4 Jan 2015 00:45:52 +0000 (01:45 +0100)]
Don't crash if no suitable NDK is found

9 years agoPlaintext descriptions are no longer needed
Daniel Martí [Fri, 2 Jan 2015 23:08:21 +0000 (00:08 +0100)]
Plaintext descriptions are no longer needed

9 years agoAdd NDK r10d, this time alongside r9b
Daniel Martí [Fri, 2 Jan 2015 23:02:54 +0000 (00:02 +0100)]
Add NDK r10d, this time alongside r9b

Specified per-build with ndk=<version> defaulting to the oldest, r9b.

9 years agoDon't run a global "gradle clean" which configures all projects
Daniel Martí [Fri, 2 Jan 2015 21:26:22 +0000 (22:26 +0100)]
Don't run a global "gradle clean" which configures all projects

Also properly capitalize words for gradle tasks

9 years agoBump to 0.3.0 0.3.0
Daniel Martí [Fri, 2 Jan 2015 21:19:24 +0000 (22:19 +0100)]
Bump to 0.3.0

9 years agoOne remaining dump badging without output=False
Daniel Martí [Wed, 31 Dec 2014 16:18:19 +0000 (17:18 +0100)]
One remaining dump badging without output=False

9 years agoApply some autopep8-python2 suggestions
Daniel Martí [Wed, 31 Dec 2014 15:42:26 +0000 (16:42 +0100)]
Apply some autopep8-python2 suggestions

9 years agoMake dump xmltree and dump badging silent again
Daniel Martí [Wed, 31 Dec 2014 15:34:11 +0000 (16:34 +0100)]
Make dump xmltree and dump badging silent again

9 years agoFix gradleVersions without =
Daniel Martí [Wed, 31 Dec 2014 12:29:03 +0000 (13:29 +0100)]
Fix gradleVersions without =

9 years agoMerge branch 'doc-update-v1' into 'master'
Ciaran Gultnieks [Tue, 30 Dec 2014 22:48:58 +0000 (22:48 +0000)]
Merge branch 'doc-update-v1' into 'master'

Update documentation re: testing32 image

Use different subsections for the Debian base box setup (which can be bypassed using the prebuilt image) and the F-Droid / SDK setup (which cannot be bypassed).

Side note: would it be possible to offer a torrent for testing32.box?  The direct download is taking over 2 hours on a 50Mbps link.

See merge request !32

9 years agoAdd nasm to the buildserver box (fixes: #51)
Daniel Martí [Tue, 30 Dec 2014 22:42:26 +0000 (23:42 +0100)]
Add nasm to the buildserver box (fixes: #51)

9 years agoFix FDroidPopen refactor typo
Daniel Martí [Tue, 23 Dec 2014 11:54:16 +0000 (12:54 +0100)]
Fix FDroidPopen refactor typo

9 years agoCatch new version of outputFile
Daniel Martí [Tue, 23 Dec 2014 11:24:07 +0000 (12:24 +0100)]
Catch new version of outputFile

9 years agolint: warn (pedantic) about potentially dangerous auto updates
Daniel Martí [Mon, 22 Dec 2014 17:18:07 +0000 (18:18 +0100)]
lint: warn (pedantic) about potentially dangerous auto updates

9 years agolint: find the current build like checkupdates does
Daniel Martí [Mon, 22 Dec 2014 17:17:29 +0000 (18:17 +0100)]
lint: find the current build like checkupdates does

9 years agomanual: Clarify separation of Debian base box vs. F-Droid base box
Kevin Cernekee [Sun, 21 Dec 2014 20:33:59 +0000 (12:33 -0800)]
manual: Clarify separation of Debian base box vs. F-Droid base box

9 years agoUpdate comment referring to old "raring32.box" image
Kevin Cernekee [Sun, 21 Dec 2014 19:02:47 +0000 (11:02 -0800)]
Update comment referring to old "raring32.box" image

9 years agoDon't break os.symlink if app names contain '/'
Daniel Martí [Sun, 14 Dec 2014 14:43:22 +0000 (15:43 +0100)]
Don't break os.symlink if app names contain '/'

9 years agoRemove SilentPopen for consistency with SdkToolsPopen
Daniel Martí [Sun, 14 Dec 2014 14:32:20 +0000 (15:32 +0100)]
Remove SilentPopen for consistency with SdkToolsPopen

9 years agoMerge branch 'master' of https://gitlab.com/eighthave/fdroidserver
Daniel Martí [Sun, 14 Dec 2014 14:18:30 +0000 (15:18 +0100)]
Merge branch 'master' of https://gitlab.com/eighthave/fdroidserver

9 years agodo not set sdk_path in config.py if using system-provided aapt
Hans-Christoph Steiner [Tue, 9 Dec 2014 14:20:29 +0000 (15:20 +0100)]
do not set sdk_path in config.py if using system-provided aapt

By not setting sdk_path when /usr/bin/aapt is found, sdk_path then defaults
to $ANDROID_HOME when its used.  Since in this case, aapt will be used from
the system path, using aapt entirely ignores sdk_path.  If the user runs
`fdroid build` in this setup, sdk_path will be $ANDROID_HOME, so it should
check the env vars for it, but maybe that doesn't actually work like that
yet.

9 years agorun all SDK tools commands using SdkToolsPopen
Hans-Christoph Steiner [Tue, 9 Dec 2014 14:15:36 +0000 (15:15 +0100)]
run all SDK tools commands using SdkToolsPopen

9 years agofind cmds from SDK build-tools in a more flexible way, on the fly
Hans-Christoph Steiner [Tue, 9 Dec 2014 13:12:41 +0000 (14:12 +0100)]
find cmds from SDK build-tools in a more flexible way, on the fly

This is a more flexible approach than testing for the complete SDK and
build-tools up front.  This will only test for the commands that are
actually being run, so that if you only have `aapt` installed, you can do
`fdroid update` without errors, but other commands will still give
appropriate errors.

This also makes the build_tools item in config.py optional, it is only
needed if you want to force a specific version of the build-tools.

9 years agoadded test case for common.isApkDebuggable()
Hans-Christoph Steiner [Mon, 8 Dec 2014 21:55:14 +0000 (22:55 +0100)]
added test case for common.isApkDebuggable()

Just getting into the habit of adding tests to everything that I change...
Also, it should be useful to have an unsigned APK in the test collection,
since `fdroid update` should handle it gracefully and give a warning of
some kind.

9 years agoswitched last aapt call to use central config['aapt']
Hans-Christoph Steiner [Mon, 8 Dec 2014 21:53:25 +0000 (22:53 +0100)]
switched last aapt call to use central config['aapt']

9 years agoremove redundant test_sdk_exists() call, its called by test_build_tools_exists()
Hans-Christoph Steiner [Mon, 8 Dec 2014 21:02:17 +0000 (22:02 +0100)]
remove redundant test_sdk_exists() call, its called by test_build_tools_exists()

No need to call test_sdk_exists() before test_build_tools_exists() since
test_build_tools_exists() calls test_sdk_exists() as the first thing it
does.

9 years agoBump build-tools again to 21.1.2
Daniel Martí [Fri, 12 Dec 2014 11:57:12 +0000 (12:57 +0100)]
Bump build-tools again to 21.1.2

9 years agoUpdate build-tools to 21.1.1
Daniel Martí [Fri, 12 Dec 2014 11:39:12 +0000 (12:39 +0100)]
Update build-tools to 21.1.1

9 years agoUpdate sdk to 24.0.1
Daniel Martí [Fri, 12 Dec 2014 11:39:04 +0000 (12:39 +0100)]
Update sdk to 24.0.1

9 years agoAdd ruby tests to the pre-commit hook
Daniel Martí [Fri, 12 Dec 2014 11:34:28 +0000 (12:34 +0100)]
Add ruby tests to the pre-commit hook

9 years agoAdd gradle 2.2.1 for plugin versions 1.0.X
Daniel Martí [Fri, 12 Dec 2014 11:29:16 +0000 (12:29 +0100)]
Add gradle 2.2.1 for plugin versions 1.0.X

9 years agoAdd inkscape to buildserver
Ciaran Gultnieks [Thu, 4 Dec 2014 11:38:02 +0000 (11:38 +0000)]
Add inkscape to buildserver

9 years agoMerge branch 'master' into 'master'
Daniel Martí [Mon, 17 Nov 2014 17:03:22 +0000 (17:03 +0000)]
Merge branch 'master' into 'master'

fix bugs in run-tests scripts

This fixes a couple of subtle bugs in `./run-tests` that only showed up recently.

See merge request !30

9 years agorun-tests: properly handle zero and multiple args
Hans-Christoph Steiner [Mon, 17 Nov 2014 16:40:48 +0000 (17:40 +0100)]
run-tests: properly handle zero and multiple args

The test for the help flag threw an error if there were 0 args, or if arg 1
was set to a space-separated list.  The -z tests would fail if the arg was
set to a space-separated list.

9 years agorun-tests: make sure not to include the bad APKs in tests/
Hans-Christoph Steiner [Mon, 17 Nov 2014 16:24:02 +0000 (17:24 +0100)]
run-tests: make sure not to include the bad APKs in tests/

These APKs are meant for specific tests, not the tests that want just a
collection of good APKs.

9 years agoMerge branch 'current-version-links' into 'master'
Ciaran Gultnieks [Mon, 17 Nov 2014 09:01:11 +0000 (09:01 +0000)]
Merge branch 'current-version-links' into 'master'

Current version links

This is the automatic generation of "current version" symlinks that @ciarang and I chatted about, and is discussed here: https://f-droid.org/forums/topic/static-urls-to-current-version-of-each-app/

See merge request !29

9 years agoFix issue where the wrong gradle version may be used
Daniel Martí [Sat, 15 Nov 2014 20:38:48 +0000 (21:38 +0100)]
Fix issue where the wrong gradle version may be used

9 years agoserver: always use same rsync destination path to allow for strict setups
Hans-Christoph Steiner [Sat, 11 Oct 2014 03:47:16 +0000 (23:47 -0400)]
server: always use same rsync destination path to allow for strict setups

for more info on how:
http://positon.org/rsync-command-restriction-over-ssh
http://ramblings.narrabilis.com/using-rsync-with-ssh

9 years agoserver: upload "current version" symlinks if requested
Hans-Christoph Steiner [Sat, 11 Oct 2014 03:50:27 +0000 (23:50 -0400)]
server: upload "current version" symlinks if requested

If `fdroid update` generates the "current version" symlinks, then
`fdroid server update` should upload them to the server.

9 years agoremove url-unsafe characters from "current version" symlink names
Hans-Christoph Steiner [Sat, 11 Oct 2014 01:12:48 +0000 (21:12 -0400)]
remove url-unsafe characters from "current version" symlink names

This prevents the URL from having ugly %20 stuff in the app name.

9 years agowhen symlinking current version of app, include gpg sig if it exists
Hans-Christoph Steiner [Sat, 11 Oct 2014 00:54:32 +0000 (20:54 -0400)]
when symlinking current version of app, include gpg sig if it exists

Let's make it easy for people to also find the GPG signature, and promote
easy verification!