Commit graph

1394 commits

Author SHA1 Message Date
Daniel Martí
b416795166 Start supporting gradle tasks that belong to subprojects 2015-04-10 00:14:25 +02:00
Daniel Martí
acd49c6e4d When patching or checking plugin versions, use *.gradle
Apparently all *.gradle files are valid, e.g. global.gradle.
2015-04-06 17:42:26 +02:00
Daniel Martí
021df3c424 Other minor file reading fixes 2015-04-03 00:14:32 +02:00
Daniel Martí
241a3f02ac Always check that files actually are files before reading
This fixes crashes with e.g. broken symlinks
2015-04-03 00:05:22 +02:00
Daniel Martí
85b48a5c25 Fix buildTools versions that reference variables 2015-03-31 23:08:32 +02:00
Daniel Martí
45925c6816 Forgot to bump build_tools in the configs 2015-03-24 21:36:42 +01:00
Boris Kraut
6353dd1a09 Importer: Fix duplicated urls 2015-03-22 03:24:43 +01:00
Daniel Martí
fdb71e2a41 lint: don't take commas as punctuation 2015-03-05 15:32:45 +01:00
Daniel Martí
3b7b8b9bde Don't take placeholders commits as possible tags 2015-03-05 15:25:21 +01:00
Daniel Martí
edd3a787aa Also set ANDROID_NDK_HOME since gradle may need it 2015-03-05 15:25:09 +01:00
Ciaran Gultnieks
ad1e936ad7 Failed to update what page? 2015-02-01 20:32:03 +00:00
Ciaran Gultnieks
d3f8a9f276 Signature file names are not fixed 2015-01-31 16:16:21 +00:00
Ciaran Gultnieks
d254fb81f2 Use jarsigner-based verification in publish 2015-01-31 15:59:00 +00:00
Ciaran Gultnieks
94edef3b34 Need the information about what's different from verify_apks 2015-01-31 15:58:08 +00:00
Parménides GV
f26a908dab Add function to verify apks via jarsigner 2015-01-31 15:55:18 +00:00
Ciaran Gultnieks
3e7046e23b Use pre-retrieved Binary when publishing
This allows this system to work when the machine that runs 'fdroid
publish' is offline.
2015-01-31 15:36:57 +00:00
Ciaran Gultnieks
d1c03fbdbf Retrieve Binaries at build time 2015-01-31 15:36:26 +00:00
Ciaran Gultnieks
95ff6de599 Improve validation of fdroid import page parsing 2015-01-31 12:07:42 +00:00
Ciaran Gultnieks
e26ad377a6 Handle not-found package name gracefully 2015-01-31 12:07:42 +00:00
Ciaran Gultnieks
384f97e998 Ensure package names are valid 2015-01-26 18:30:01 +00:00
Ciaran Gultnieks
fe7f6cfe50 Remove shell option from FDroidPopen 2015-01-26 18:30:01 +00:00
Hans-Christoph Steiner
e3628b2d74 fix PEP8 E124 closing bracket missing visual indentation 2015-01-21 10:21:54 +01:00
Ciaran Gultnieks
6a780a5a27 Fix no-checksum option type for local sync (fixes #67) 2015-01-21 09:16:08 +00:00
Daniel Martí
3b3704710e Fix adding paths to the PATH env variable 2015-01-13 16:37:10 +01:00
Daniel Martí
ff2b061351 Fix issue introduced in 49549f4cad (fixes #62) 2015-01-13 16:15:11 +01:00
Ciaran Gultnieks
24aaa568da Fix PEP8 issues from latest pull request 2015-01-13 08:26:30 +00:00
Ciaran Gultnieks
12f65953e6 Correction to 5b868c8a4 2015-01-13 08:25:27 +00:00
Daniel Martí
c60cca57cf Don't limit gradle's forceversion to string literals 2015-01-13 00:28:19 +01:00
Ciaran Gultnieks
5b868c8a4c Only set Auto Name if one isn't set already 2015-01-12 18:58:21 +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
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í
2edddda234 scanner: adapt to new scan_source format (fixes #59) 2015-01-10 13:49:54 +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