Hans-Christoph Steiner
a248a69692
tests: skip disabled_algorithms test when apksigner is present
...
apksigner doesn't treat MD5 signatures as deprecated, so that portion of
the tests would always fail.
2019-07-04 16:45:50 +02:00
Hans-Christoph Steiner
a9aa8788e0
tests: only run source tarball test if running from git clone
2019-07-03 22:33:15 +02:00
Hans-Christoph Steiner
60173d35df
./setup.py release: make upload step manual so CI can run first
...
There is lots of CI tests for the Debian package, so it is good to first
run those Debian CI tests before uploading an fdroidserver release.
2019-07-03 20:46:40 +02:00
Hans-Christoph Steiner
aa1e958360
tests: only run hooks/pre-commit if its present (not in source tarball)
2019-07-03 20:46:30 +02:00
Hans-Christoph Steiner
1fdeb4691c
include all relevant files in source tarball (MANIFEST.in)
2019-07-03 20:46:30 +02:00
Michael Pöhn
bde12e2a52
Merge branch 'git-test-overhaul' into 'master'
...
big test overhaul
See merge request fdroid/fdroidserver!650
2019-07-03 12:36:40 +00:00
Hans-Christoph Steiner
b9475374a8
update test badges in README
2019-07-03 11:29:38 +02:00
Hans-Christoph Steiner
2f198c24b9
travis: purge xcode9.2 runner, it has flaky networking
2019-07-03 09:07:45 +02:00
Hans-Christoph Steiner
ab8a623c90
travis: tame unneeded messages in log to prevent job terminiation
...
This is to avoid random job fails from:
"The job exceeded the maximum log length, and has been terminated."
2019-07-03 09:07:42 +02:00
Hans-Christoph Steiner
828ba8aad9
travis: use travis_retry to retry failed sdkmanager/pip3 downloads
2019-07-03 09:07:36 +02:00
Hans-Christoph Steiner
13dbf995d5
travis: uninstall mercurial since it requires Python2 and is unused
2019-07-03 09:07:36 +02:00
Hans-Christoph Steiner
59920b9ab6
travis: upgrade Java to newest release if old enough to still use MD5
...
The Android SDK still requires Java8, so just force it on all macOS
versions.
2019-07-03 09:07:36 +02:00
Hans-Christoph Steiner
4881e6818b
travis: purge "linux" test now that the runner was upgraded to Xenial
...
Xenial test runs are already well covered by GitLab-CI.
2019-07-03 09:07:36 +02:00
Hans-Christoph Steiner
a0f5ee661e
tests: common.test_sign_apk requires aapt to run
2019-07-03 09:07:36 +02:00
Hans-Christoph Steiner
57b9d1e316
tests: handle when apksigner considers MD5 signatures valid
2019-07-02 22:17:06 +02:00
Hans-Christoph Steiner
a9b8687e94
gitlab-ci: the ubuntu_lts test also tests the PPA
2019-07-02 22:17:06 +02:00
Hans-Christoph Steiner
e2351f6c53
gitlab-ci: move pip job to Xenial, Trusty is over
2019-07-02 22:17:06 +02:00
Hans-Christoph Steiner
7381a94b47
gitlab-ci: disable bandit fail on standard debug keystore password
2019-06-30 22:48:52 +02:00
Michael Pöhn
da0d6393bd
Merge branch 'makebuildserver-dl-timeout' into 'master'
...
makebuildserver: explicit timeout for cache downloading
Closes #666
See merge request fdroid/fdroidserver!648
2019-05-28 11:07:21 +00:00
Michael Pöhn
06bbd3044b
makebuildserver: explicit timeout for cache downloading
2019-05-28 12:07:36 +02:00
Michael Pöhn
333098b95a
Merge branch 'improve-litecoin-address-validation' into 'master'
...
improve litecoin validation + tests
Closes #660
See merge request fdroid/fdroidserver!644
2019-05-28 09:26:52 +00:00
Michael Pöhn
66105de833
improve litecoin validation + tests
2019-05-28 11:04:43 +02:00
Michael Pöhn
92f50e5e50
Merge branch 'patch-1' into 'master'
...
makebuildserver: show number of files to download
See merge request fdroid/fdroidserver!647
2019-05-28 08:48:07 +00:00
rubo77
e895e981ad
makebuildserver: show number of files to download
2019-05-28 00:05:27 +02:00
Michael Pöhn
9a10dce0e3
Merge branch 'fix-unit-tests' into 'master'
...
fix bandit reports
Closes #663
See merge request fdroid/fdroidserver!646
2019-05-27 09:05:35 +00:00
Michael Pöhn
716f84ec5e
use actually working bandit version when running tests on alpine
2019-05-24 23:14:20 +02:00
Michael Pöhn
f434670ba5
Merge branch 'allow-bech32-bitcoin-addresses' into 'master'
...
bitcoin validation: allow bech32
Closes #655
See merge request fdroid/fdroidserver!643
2019-05-10 09:07:38 +00:00
Michael Pöhn
06cec2041d
improve bitcoin validation regex + testcases
2019-05-07 22:43:05 +02:00
Michael Pöhn
64275356e4
Merge branch 'four-bug-fixes' into 'master'
...
three bug fixes: let apps build with Debian-local repos, nightly fixes
See merge request fdroid/fdroidserver!642
2019-05-06 21:11:46 +00:00
Hans-Christoph Steiner
0e807264f5
update bash completion for new deploy/nightly flags
2019-05-02 08:51:39 +02:00
Hans-Christoph Steiner
5959a395c4
nightly: archive older versions; remove archive if git mirror is full
2019-05-01 21:16:15 +02:00
Hans-Christoph Steiner
869c68dbdb
deploy: if git mirror > 1GB after deleting history, delete the archive
...
git mirrors are meant to be an easy way to host a repo that is zero
maintenance. They are not meant to be the canonical repo with full,
preserved archive. This option provides the zero maintenance mode.
2019-05-01 21:16:15 +02:00
Hans-Christoph Steiner
f0460dea6e
scanner: allow local Debian Maven repo file:///usr/share/maven-repo
...
It is now possible to build an app using only things in Debian. Since the
buildserver will always control the contents of file:///usr/share/maven-repo,
it is the most safe repo there is.
2019-05-01 21:16:15 +02:00
Hans-Christoph Steiner
a84b515430
add weblate config for wlc CLI tool
...
Set API key by sticking this in a file called ~/.config/weblate:
[weblate]
url = https://hosted.weblate.org/api/
translation = weblate/master
[keys]
https://hosted.weblate.org/api/ = ...
2019-05-01 21:16:15 +02:00
Marcus Hoffmann
cc193e903f
remove obsloleted gradle versions from default buildserver install
...
See https://gitlab.com/fdroid/fdroidserver/merge_requests/641
2019-05-01 14:08:10 +02:00
Michael Pöhn
a670085adb
Merge branch 'gradle541' into 'master'
...
Add Gradle 5.4 and 5.4.1, fix 5.3
See merge request fdroid/fdroidserver!641
2019-04-30 17:59:13 +00:00
Licaon_Kter
293e5483fc
Add Gradle 5.4 and 5.4.1, fix 5.3
2019-04-30 17:59:13 +00:00
Hans-Christoph Steiner
9045e2854a
travis-ci: revert change that broke upgrading old Java
...
https://gitlab.com/fdroid/fdroidserver/merge_requests/637#note_159786747
2019-04-11 14:16:07 +02:00
Hans-Christoph Steiner
dd2f9d60f8
publish: fix stupid error in repro-signing and add integration test
...
stoopid mistake in ea84014f9b
reported
by @CiaranG
2019-04-11 14:06:51 +02:00
Marcus
7272689ced
Merge branch 'master' into 'master'
...
Added newer ndks, gradles, latest sdk-license, and update java 1.8 version
See merge request fdroid/fdroidserver!637
2019-04-11 11:42:18 +00:00
Marcus
3c74c07587
Merge branch 'patch-1' into 'master'
...
metadata.py - typo
See merge request fdroid/fdroidserver!639
2019-04-08 16:30:32 +00:00
Licaon_Kter
0ea03ddfaa
metadata.py - typo
2019-04-08 16:30:32 +00:00
Michael Pöhn
67a8f03fcb
Merge branch 'revert-d45431aa' into 'master'
...
Revert "Merge branch 'write-yaml-overhaul' into 'master'"
See merge request fdroid/fdroidserver!638
2019-04-01 10:45:49 +00:00
Michael Pöhn
67731470cc
Revert "Merge branch 'write-yaml-overhaul' into 'master'"
...
This reverts merge request !630
2019-04-01 10:24:00 +00:00
Taco
457cf22361
Added newer ndks, gradles, latest sdk-license, and update java 1.8 version
2019-03-30 17:10:21 -04:00
Michael Pöhn
d45431aa9e
Merge branch 'write-yaml-overhaul' into 'master'
...
use pyyaml for writing metadata instead of ruamel
Closes #611
See merge request fdroid/fdroidserver!630
2019-03-30 16:53:11 +00:00
Michael Pöhn
7215323982
Merge branch 'makebuildserver-cleanup' into 'master'
...
makebuildserver cleanup
See merge request fdroid/fdroidserver!626
2019-03-30 16:52:40 +00:00
Michael Pöhn
84cae0eebc
Merge branch 'flush-file-before-pass' into 'master'
...
Flush file before passing it to next function
See merge request fdroid/fdroidserver!636
2019-03-28 19:19:30 +00:00
Nico Alt
3798a884a6
Flush file before passing it to next function
...
When downloading a repo index, the downloaded index got written to a
file with `.write()` in a `with` clause. Before the file got actually
written to the disk, it got already passed into the next function,
resulting in a `VerificationException`:
```
JAR signature failed to verify: /tmp/tmppq2r51r0
jarsigner: java.util.zip.ZipException: zip file is empty
```
This behavior got introduced in
869cc114a3
.
I've found this bug with help of Repomaker's tests: https://gitlab.com/fdroid/repomaker/merge_requests/215#note_148994053
2019-03-22 17:15:58 +01:00
Hans-Christoph Steiner
edfd3cf530
Merge branch 'master' into 'master'
...
deploy: show HTTP errors when virustotal error fails.
See merge request fdroid/fdroidserver!635
2019-03-22 10:15:32 +00:00