1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-04 14:30:11 +01:00
Commit Graph

2957 Commits

Author SHA1 Message Date
Ciaran Gultnieks
5b868c8a4c Only set Auto Name if one isn't set already 2015-01-12 18:58:21 +00:00
Ciaran Gultnieks
dffaaccbc4 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
2015-01-12 10:06:26 +00:00
Hans-Christoph Steiner
4e68655437 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.
2015-01-12 10:51:54 +01:00
Hans-Christoph Steiner
2458577209 if meld is available, use it to show differences on failed APK compare
meld is much easier to browse when comparing directory trees.
2015-01-12 10:46:04 +01:00
Hans-Christoph Steiner
fc4679cebb 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.
2015-01-12 10:46:04 +01:00
Hans-Christoph Steiner
6bc6ba05b2 fix typo in error message 2015-01-12 10:46:04 +01:00
Hans-Christoph Steiner
74a785a888 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.
2015-01-12 10:46:04 +01:00
Hans-Christoph Steiner
b53746dc7b 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.
2015-01-12 10:46:04 +01:00
Hans-Christoph Steiner
a14f82c49e 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.
2015-01-12 10:46:03 +01:00
Ciaran Gultnieks
b5ed40684f Detect apk cache changes to avoid having to blow the whole thing 2015-01-11 18:22:00 +00:00
Ciaran Gultnieks
75aa384e80 Correction to no-checksum 2015-01-11 17:46:42 +00:00
Ciaran Gultnieks
49549f4cad Remove support for git-svn with authentication 2015-01-11 17:46:10 +00:00
Ciaran Gultnieks
e8d7e69630 Add option to not use rsync --checksum 2015-01-11 15:35:04 +00:00
Ciaran Gultnieks
52de223435 Documentation fix 2015-01-11 15:33:52 +00:00
Daniel Martí
6f4ffefb05 Complete missing server options 2015-01-11 14:24:45 +01:00
Daniel Martí
443af0bba4 scanner --nosvn was removed 2015-01-11 14:22:30 +01:00
Daniel Martí
bf7a93ecf0 Complete update --nosign 2015-01-11 14:21:22 +01:00
Daniel Martí
679f3e0661 complete -h/--help for all commands implicitly 2015-01-11 14:19:31 +01:00
Daniel Martí
3c9dd9bc86 Add bash-completion to pre-commit bash checks 2015-01-11 14:17:25 +01:00
Daniel Martí
50a146bf6f Add signindex to bash-completion 2015-01-11 14:16:57 +01:00
Ciaran Gultnieks
ba177472da Add fdroid signindex to sign previously unsigned indexes 2015-01-11 08:20:14 +00:00
Ciaran Gultnieks
cad82ad669 Add ability to not sign the indexes when doing fdroid update 2015-01-11 08:20:14 +00:00
Ciaran Gultnieks
4ae896511e Allow repo pubkey to defined directly in config 2015-01-11 08:20:14 +00:00
Ciaran Gultnieks
1cc1ee32ee Extra debug logging when parsing manifests 2015-01-11 08:20:14 +00:00
Ciaran Gultnieks
1fa6ecc1eb Sanitise tags at point of reading 2015-01-11 08:20:14 +00:00
Ciaran Gultnieks
38f975dd49 More detail for package ID mismatches 2015-01-11 08:20:14 +00:00
Daniel Martí
d1cf1c37b4 fd-commit: read entire metadata files 2015-01-10 20:04:49 +01:00
Daniel Martí
2edddda234 scanner: adapt to new scan_source format (fixes #59) 2015-01-10 13:49:54 +01:00
Daniel Martí
e830b25561 pre-commit: differentiate sh and bash files 2015-01-09 16:08:27 +01:00
Daniel Martí
547661fd3a hooks/pre-commit: Fix message 2015-01-09 15:36:17 +01:00
Daniel Martí
6819e3c30e Set up the ndk in $PATH before each build 2015-01-06 19:41:55 +01:00
Daniel Martí
9b200f47d8 Don't allow --skip-scan if scandelete is set up 2015-01-06 14:40:31 +01:00
Daniel Martí
347ff7b876 Error if any scanignore/delete paths are useless 2015-01-06 14:37:13 +01:00
Daniel Martí
0ffc53fa9a Merge branch 'fix_build_exception' of https://gitlab.com/Rancor/fdroidserver 2015-01-06 14:03:23 +01:00
Rancor
8a09ebc446 Removed second parameter in replace_config_vars call 2015-01-06 12:37:34 +01:00
Daniel Martí
cd7ae381a5 Properly capitalize all flavours (fixes org.ligi.fast) 2015-01-05 13:07:22 +01:00
Daniel Martí
24a8523c0b Gradle cleaner: support multilines with backslashes 2015-01-05 12:59:33 +01:00
Daniel Martí
371e64dfc2 Fix build passing madness (closes #55) 2015-01-05 00:29:27 +01:00
Daniel Martí
388665ff43 Remove trailing whitespace 2015-01-04 20:52:27 +01:00
Daniel Martí
0ee2efd3e7 Merge branch 'fix_permission' of https://gitlab.com/Rancor/fdroidserver 2015-01-04 20:51:56 +01:00
Rancor
80957c625f Fixes #52 : Fix permission for executing android-ndk bin 2015-01-04 20:41:43 +01:00
Daniel Martí
3645471a1c Never let build['ndk_path'] be None 2015-01-04 20:41:22 +01:00
Daniel Martí
e9be413d3c Add apis 20 and 21 to wp-fdroid's androidversion() 2015-01-04 04:26:24 +01:00
Daniel Martí
f31ca7c852 Create the ndk_loc dir first (fixes #52) 2015-01-04 04:19:19 +01:00
Daniel Martí
d5af8ec8e6 Don't crash if no suitable NDK is found 2015-01-04 01:45:52 +01:00
Daniel Martí
526813eae6 Plaintext descriptions are no longer needed 2015-01-03 00:08:21 +01:00
Daniel Martí
f60f1bc59e Add NDK r10d, this time alongside r9b
Specified per-build with ndk=<version> defaulting to the oldest, r9b.
2015-01-03 00:07:01 +01:00
Daniel Martí
43092407a3 Don't run a global "gradle clean" which configures all projects
Also properly capitalize words for gradle tasks
2015-01-02 22:26:22 +01:00
Daniel Martí
b1053ac1a7 Bump to 0.3.0 2015-01-02 22:19:24 +01:00
Daniel Martí
cba9f25c49 One remaining dump badging without output=False 2014-12-31 17:18:19 +01:00