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

7509 Commits

Author SHA1 Message Date
Michael Pöhn
723bd110a6 test that yaml parsing does not accept provides 2019-07-11 03:35:23 +02:00
Michael Pöhn
191363ad55 exclude Provides metadata from yml 2019-07-11 03:35:23 +02:00
Hans-Christoph Steiner
051596dd0d
tests: conditionally disable tests that can't work with apksigner
apksigner treats MD5 signatures as valid, fdroid does not.
2019-07-10 14:35:03 +02:00
Hans-Christoph Steiner
26af94974a Merge branch 'rsync-buildslogs-to-webroot-repo' into 'master'
build: rsync buildlogs to <webroot>/repo

See merge request fdroid/fdroidserver!651
2019-07-10 08:55:04 +00:00
Michael Pöhn
06c798c618 Merge branch 'more-test-fixes' into 'master'
More test and release process fixes

See merge request fdroid/fdroidserver!652
2019-07-07 21:47:58 +00:00
Marcus
4d90474460 Merge branch 'update-gradle' into 'master'
Add Gradle 5.5

See merge request fdroid/fdroidserver!653
2019-07-07 19:50:15 +00:00
Thomas Wirth
48fce5f6be Add Gradle 5.5 2019-07-07 21:03:24 +02:00
Michael Pöhn
6bd39d7532 Merge branch 'checkupdates-regex' into 'master'
checkupdates: match whole words

See merge request fdroid/fdroidserver!649
2019-07-06 15:31:05 +00:00
Michael Pöhn
2c87b5e6f9 deploy build logs: no timestamps 2019-07-06 16:48:56 +02:00
Michael Pöhn
f30983368c build: rsync buildlogs to <webroot>/repo 2019-07-06 16:48:56 +02:00
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
relan
781b55f777 checkupdates: match whole words
Match only whole words when looking for versionCode, versionName, etc. in
manifests. A real build.gradle example:

    flutterVersionCode = '1'
    flutterVersionName = '1.0'
    ...
    defaultConfig {
        versionCode 53
        versionName "2.0.3"
    }

Before this change checkupdates was erroneously getting version code and
version name from the first two lines and failing to find a new release.
2019-06-13 19:51:44 +03: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