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

8379 Commits

Author SHA1 Message Date
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
Hans-Christoph Steiner
06ef99be6a deploy: show HTTP errors when virustotal error fails.
Otherwise, this was posting mystery JSON parsing errors because it was
trying to parse the HTTP error page as JSON.  This also moves the
virustotal API key to post data so it is not printed out in the stacktrace.
2019-03-22 10:54:28 +01:00
Michael Pöhn
2683b37044 yml metadata write: do not use local functions 2019-03-19 01:01:18 +01:00
Michael Pöhn
881a79fa84 test writing all yaml fields 2019-03-18 22:45:35 +01:00
Michael Pöhn
63afc0acb5 use pyyaml for writing metadata instead of ruamel 2019-03-18 22:45:35 +01:00
Michael Pöhn
7662520b54 makebuildserver: refactored cachedir variable away 2019-03-18 22:45:13 +01:00
Michael Pöhn
b6e45753da makebuildserver: cachefile now static variable
rename cachefile to CACHE_FILE to make clear that it is a static
variable. Also stopped passing it as an argument when it is already
globally visible.
2019-03-18 22:45:13 +01:00
Michael Pöhn
1d4e5952c9 move host vm warning to main block 2019-03-18 22:45:13 +01:00
Michael Pöhn
bb067055d4 move location check to main blok 2019-03-18 22:45:13 +01:00
Michael Pöhn
d4e5fdd95b use same logging setup as in all other fdroid scripts 2019-03-18 22:45:13 +01:00
Michael Pöhn
81f1bcf752 Merge branch 'fix-fedora-tests' into 'master'
fix fedora ci tests: install @development-tools

See merge request fdroid/fdroidserver!634
2019-03-18 18:43:26 +00:00
Michael Pöhn
102340ec5a fix fedora ci tests: install @development-tools
Sometime pip dependencies required a C compiler because they need to
compile something during installation.
2019-03-18 16:01:34 +01:00
Hans-Christoph Steiner
9b44dcd073 Merge branch 'triplet' into 'master'
improved Triple-T support

Closes #567, #579, and #542

See merge request fdroid/fdroidserver!629
2019-02-27 16:03:26 +00:00
Hans-Christoph Steiner
c4a3354c75 update: support flavors and alternate project dirs for Triple-T
closes #542
2019-02-27 16:40:47 +01:00
Hans-Christoph Steiner
67834697e0 update: get localized text/images from Triple-T Play Publisher 2.x
closes #579
closes #567
2019-02-26 23:42:39 +01:00
Marcus
c912d2e1a8 Merge branch 'two-fixes' into 'master'
Two fixes

See merge request fdroid/fdroidserver!628
2019-02-22 22:00:47 +00:00
Hans-Christoph Steiner
7798dcf9dd index: keep mirrors in the order specified in config.py
The mirrors are displayed in fdroidclient in the order they are received,
and there might be some reason why a repo maintainer wants them in a
specific order.  The danger is that if the mirrors are set in config.py
using "mirrors = {'foo', bar'}" they will have a randomized order since it
will be in a set.  They should be set using [] or () to have a fixed order.
2019-02-22 21:38:20 +01:00
Hans-Christoph Steiner
548f73d988 nightly: search subdirs called 'fdroid' for APKs
@MTRNord tracked down this bug while working on his app
https://gitlab.com/Nordgedanken/simplematrix
2019-02-22 21:32:33 +01:00
Marcus Hoffmann
daff6658c0 ndk r19b: missed a few places 2019-02-20 13:18:24 +01:00
Marcus Hoffmann
8d9f885b1c makebuildserver: add ndk r19b 2019-02-19 15:43:35 +01:00