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

5606 Commits

Author SHA1 Message Date
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
Hans-Christoph Steiner
9963cf1aba
jenkins-setup-build-environment: fix typo 2019-02-14 14:09:17 +01:00
Hans-Christoph Steiner
a8957447d6 Merge branch 'gradle5.2' into 'master'
Gradle5.2

See merge request fdroid/fdroidserver!625
2019-02-14 13:08:23 +00:00
Marcus Hoffmann
0bc5287db0 Remove gradle 5.1 from default install
gradle.org recommends using the latest patch release.
It can still be downloaded on demand.
2019-02-13 18:41:07 +01:00
Marcus Hoffmann
40cf7311d0 add gradle 5.2 and 5.2.1
Only install 5.2.1 into the buildserver though. It took only 4 days
until 5.2.1 came out and gradle.org recommends using the latest patch
release.
2019-02-13 18:37:26 +01:00
Hans-Christoph Steiner
9be0b3733b
jenkins: switch test fdroidclient build to version we care about
96150 is so old, we no longer install the required version of build-tools:
v23.0.0
2019-02-12 23:17:26 +01:00
Hans-Christoph Steiner
b3cd020edb jenkins: update makebuildserver.config.py based on new specs 2019-02-12 20:42:17 +01:00
Hans-Christoph Steiner
40edb1a87d jenkins: purge libvirt, the runner is now baremetal+virtualbox 2019-02-12 20:38:40 +01:00
Hans-Christoph Steiner
94affe9421
version 1.2 alpha 2019-02-12 12:43:37 +01:00
Hans-Christoph Steiner
d03b121152
update: allow tests to pass when apksigner is not installed
This is only for the v2/v3 signatures.

fdroid/fdroidserver#627
2019-02-12 12:43:21 +01:00
Michael Pöhn
35e67295e9 Merge branch 'mvglasow-master-patch-68763' into 'master'
Clarify warning message about skipped sudo commands

See merge request fdroid/fdroidserver!608
2019-02-09 18:08:23 +00:00
Michael Pöhn
dc0b70bd15 Merge branch 'log_guest_ram_cpu' into 'master'
build: log buildserver guest ram + cpu

See merge request fdroid/fdroidserver!623
2019-02-08 18:53:10 +00:00
Marcus Hoffmann
94c6b776fe build: log buildserver guest ram + cpu 2019-02-07 19:48:03 +01:00
Marcus
e5886a498b Merge branch 'feature/cloudrail' into 'master'
Add cloudrail to blacklist

Closes #628

See merge request fdroid/fdroidserver!622
2019-02-07 10:20:38 +00:00
Pierre Rudloff
b3754af137 Add cloudrail to blacklist 2019-02-07 10:26:03 +01:00
Hans-Christoph Steiner
2157498dcf version 1.1.1 2019-02-03 15:50:39 +01:00
Hans-Christoph Steiner
43f8c29cc6 add CHANGELOG 2019-02-03 15:50:39 +01:00
Hans-Christoph Steiner
50ca3967cc update: fix tests when running without apksigner 2019-02-03 15:50:39 +01:00
Hans-Christoph Steiner
17dc231dc9 update: fix running without androguard
Soon, we can rip out all the aapt parsing stuff, but not yet!
2019-02-03 15:50:39 +01:00
Hans-Christoph Steiner
5d39a97ab8 Merge branch 'index-v1-sdk-as-int' into 'master'
fdroid update: treat target and min sdk version as integers

Closes #596

See merge request fdroid/fdroidserver!596
2019-02-03 14:47:36 +00:00
Hans-Christoph Steiner
c386774413 Merge branch 'weblate' into 'master'
Updated by hook in Weblate to make PO files to match POT (msgmerge)

See merge request fdroid/fdroidserver!620
2019-02-01 15:20:36 +00:00
Hans-Christoph Steiner
ec578fe85f Updated by hook in Weblate to make PO files to match POT (msgmerge) 2019-02-01 15:20:36 +00:00
Hans-Christoph Steiner
9bc81f2689 Merge branch 'encoding-warning' into 'master'
log a warning when encoding is not set to utf-8

Closes #617

See merge request fdroid/fdroidserver!619
2019-02-01 13:16:50 +00:00
Michael Pöhn
5a1c6cf2de log a warning when encoding is not set to utf-8 2019-02-01 13:26:31 +01:00