f-droid:fdroidserver.git
3 years agoMerge branch 'LOffice' into 'master' master
Ciaran Gultnieks [Thu, 5 Feb 2015 09:10:52 +0000 (09:10 +0000)]
Merge branch 'LOffice' into 'master'

Add LibreOffice build-deps.

These are the dependencies that i needed in a VM with a "Debian Jessie netinst" installation. I had in the system the "Standard system utilities", fdroidserver, all the packages listed in "buildserver/cookbooks/fdroidbuild-general/recipes/default.rb", and "build-essential". I assume that the BS has build-essential  installed as its needed to build the "VirtualBox Guest Additions".

See merge request !42

3 years agoAdd dependencies needed by "LibreOffice Viewer Beta"
Matías Zúñiga [Tue, 3 Feb 2015 23:45:26 +0000 (23:45 +0000)]
Add dependencies needed by "LibreOffice Viewer Beta"

3 years agoFailed to update what page?
Ciaran Gultnieks [Sun, 1 Feb 2015 20:32:03 +0000 (20:32 +0000)]
Failed to update what page?

3 years agoNote about required python version
Ciaran Gultnieks [Sun, 1 Feb 2015 20:31:46 +0000 (20:31 +0000)]
Note about required python version

3 years agoAllow buildserver CPU count to be configured
Ciaran Gultnieks [Sun, 1 Feb 2015 09:00:04 +0000 (09:00 +0000)]
Allow buildserver CPU count to be configured

3 years agoSignature file names are not fixed
Ciaran Gultnieks [Sat, 31 Jan 2015 16:04:39 +0000 (16:04 +0000)]
Signature file names are not fixed

3 years agoUse jarsigner-based verification in publish
Ciaran Gultnieks [Sat, 31 Jan 2015 15:59:00 +0000 (15:59 +0000)]
Use jarsigner-based verification in publish

3 years agoNeed the information about what's different from verify_apks
Ciaran Gultnieks [Sat, 31 Jan 2015 15:58:08 +0000 (15:58 +0000)]
Need the information about what's different from verify_apks

3 years agoAdd function to verify apks via jarsigner
Parménides GV [Sat, 31 Jan 2015 15:55:18 +0000 (15:55 +0000)]
Add function to verify apks via jarsigner

3 years agoUse pre-retrieved Binary when publishing
Ciaran Gultnieks [Sat, 31 Jan 2015 15:36:57 +0000 (15:36 +0000)]
Use pre-retrieved Binary when publishing

This allows this system to work when the machine that runs 'fdroid
publish' is offline.

3 years agoRetrieve Binaries at build time
Ciaran Gultnieks [Sat, 31 Jan 2015 15:36:26 +0000 (15:36 +0000)]
Retrieve Binaries at build time

3 years agoImprove validation of fdroid import page parsing
Ciaran Gultnieks [Sat, 31 Jan 2015 12:07:33 +0000 (12:07 +0000)]
Improve validation of fdroid import page parsing

3 years agoHandle not-found package name gracefully
Ciaran Gultnieks [Tue, 27 Jan 2015 07:13:21 +0000 (07:13 +0000)]
Handle not-found package name gracefully

3 years agoMerge branch 'fxbuilddeps' into 'master'
Ciaran Gultnieks [Sat, 31 Jan 2015 12:04:16 +0000 (12:04 +0000)]
Merge branch 'fxbuilddeps' into 'master'

Add firefox build-deps.

See merge request !40

3 years agoEnsure package names are valid
Ciaran Gultnieks [Mon, 26 Jan 2015 18:29:39 +0000 (18:29 +0000)]
Ensure package names are valid

3 years agoRemove shell option from FDroidPopen
Ciaran Gultnieks [Mon, 26 Jan 2015 18:14:29 +0000 (18:14 +0000)]
Remove shell option from FDroidPopen

3 years agowp-fdroid: Properly escape fdfilter
Ciaran Gultnieks [Mon, 26 Jan 2015 18:12:30 +0000 (18:12 +0000)]
wp-fdroid: Properly escape fdfilter

Resolves an XSS issue identified by Cure53 (https://cure53.de)

3 years agoAdd compare-locales via easy_install for Firefox
Boris Kraut [Sun, 25 Jan 2015 18:33:02 +0000 (19:33 +0100)]
Add compare-locales via easy_install for Firefox

3 years agoAdd build-deps for Firefox
Boris Kraut [Sun, 25 Jan 2015 00:09:13 +0000 (01:09 +0100)]
Add build-deps for Firefox

3 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

3 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

3 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

3 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

3 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

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

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

3 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

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

3 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

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

3 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

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

3 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

3 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

3 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

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

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

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

3 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

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

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

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

3 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

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

3 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

3 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

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

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

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

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

3 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

3 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

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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

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

3 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

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

3 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

3 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

3 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

3 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

3 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

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

3 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

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

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

3 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

3 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

3 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

3 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()

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

3 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

3 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

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

3 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

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

3 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

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

3 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

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

3 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

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

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

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

3 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

3 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

3 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

3 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

3 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 '/'

3 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

3 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

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

3 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

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