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

8398 Commits

Author SHA1 Message Date
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
Hans-Christoph Steiner
09bbca4a51 update: force all "SDK Version" values to int when parsing aapt 2019-02-01 09:56:36 +01:00
Michael Pöhn
dd695c650e update: treat target and min sdk version as int 2019-02-01 09:56:21 +01:00
Hans-Christoph Steiner
64bab7a94c Merge branch 'v2-sig-support' into 'master'
first basic support for APK Signature v2 and v3

See merge request fdroid/fdroidserver!618
2019-02-01 08:40:20 +00:00
Hans-Christoph Steiner
2907aa3ea3 fallback to v3 signatures if v1 and v2 are not available 2019-02-01 09:18:00 +01:00
Hans-Christoph Steiner
d96f5ff660 support APK Signature V2 when apksigner is installed
This was done with much help from @uniqx.  This is the first level of
supporting APK Signatures v1, v2, and v3.  This is enough to include
APKs with any combo of v1/v2/v3 signatures.  For this to work at all,
apksigner and androguard 3.3.3+ must be installed.

closes #399
2019-02-01 09:17:56 +01:00
Hans-Christoph Steiner
ea84014f9b make signer_fingerprint() accept DER encoded certs
androguard's v2 signature methods return DER-encoded certificates.  The DER-
encoded certificates are parsed from JAR Signature's raw "Signature Block
File".
2019-02-01 08:50:57 +01:00
Hans-Christoph Steiner
4d68163175 remove --on-server from completion, it is not a user option
fdroid/fdroidserver!617
a787d123a2
2019-02-01 08:50:57 +01:00
Hans-Christoph Steiner
709d35be0e Merge branch 'patch-1' into 'master'
change glob filter for graphics to not filter out valid IETF RFC5646 locales (fixes #621 and #357)

Closes #357 and #621

See merge request fdroid/fdroidserver!611
2019-01-31 22:09:41 +00:00