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

5910 Commits

Author SHA1 Message Date
Weblate
b74bbefcce Translated using Weblate (ml)
suman dev p <sumandev.p@gmail.com>
2019-01-27 23:11:45 +01:00
Weblate
d2ac358e71 Translated using Weblate (bn)
Roufique hossain <roufique@rtat.net>
2019-01-27 23:11:45 +01:00
Weblate
83faf6ecba Translated using Weblate (uk)
AB <ao7nro+6ltrjuwxelfo4@sharklasers.com>
2019-01-27 23:11:45 +01:00
Hans-Christoph Steiner
877fb04e24 androguard v3.3.2 is also missing key API methods 2019-01-27 23:11:44 +01:00
Weblate
aa83aeed49 Translated using Weblate (pl)
Myeongjin Lee <aranet100@gmail.com>
WaldiS <admin@sto.ugu.pl>
2019-01-27 23:11:44 +01:00
Weblate
43df6ab64a Translated using Weblate (fr)
ButterflyOfFire <ButterflyOfFire@protonmail.com>
David Maulat <david@maulat.eu>
gwenderer <gwenael.derer@gmail.com>
Herdir <herdir@herdir.net>
Jean-Baptiste <jean-baptiste@holcroft.fr>
Ldm Public <ldmpub@gmail.com>
pandipanda41 <petitpanda140@gmail.com>
2019-01-27 23:11:44 +01:00
Weblate
fb36ad6a04 Translated using Weblate (es)
Alberto <albertocanetedj@hotmail.com>
Allan Nordhøy <epost@anotheragency.no>
emma peel <emma.peel@riseup.net>
Laura Arjona Reina <larjona@larjona.net>
Markel <wakutiteo@protonmail.com>
Myeongjin Lee <aranet100@gmail.com>
Víctor Manuel Tapia Ramírez <victor-kratos-olympicp@hotmail.com>
2019-01-27 23:11:44 +01:00
Weblate
1ef222ea96 Translated using Weblate (cs)
Clonewayx <fillip1@seznam.cz>
Pavel Borecki <pavel.borecki@gmail.com>
Stanislav Tichý <standa.tichyml@seznam.cz>
2019-01-27 23:11:44 +01:00
Weblate
141ce85333 Translated using Weblate (ko)
Myeongjin Lee <aranet100@gmail.com>
Seokyong Jung <syjung6967@gmail.com>
2019-01-27 23:11:44 +01:00
Weblate
5b3065f146 Translated using Weblate (zh_Hant)
ezjerry liao <ezjerry@gmail.com>
Jeff Huang <s8321414@gmail.com>
2019-01-27 23:11:44 +01:00
Weblate
31face16a8 Translated using Weblate (bo) 2019-01-27 23:11:44 +01:00
Weblate
20ee168499 Translated using Weblate (bn_BD)
Roufique hossain <roufique@rtat.net>
2019-01-27 23:11:44 +01:00
Hans-Christoph Steiner
282a3e0e1d androguard v3.3.0 and v3.3.1 are missing key API methods 2019-01-27 23:00:00 +01:00
Hans-Christoph Steiner
217e6a7c30 metadata: fix pyflakes "use ==/!= to compare str, bytes, and int literals"
$ ./hooks/pre-commit || export EXITVALUE=1
WARNING: ruby is not installed, using dummy placeholder!
fdroidserver/metadata.py:1180: use ==/!= to compare str, bytes, and int literals
fdroidserver/metadata.py:1184: use ==/!= to compare str, bytes, and int literals
fdroidserver/metadata.py:1186: use ==/!= to compare str, bytes, and int literals
fdroidserver/metadata.py:1189: use ==/!= to compare str, bytes, and int literals
ERROR: pyflakes tests failed!
2019-01-27 23:00:00 +01:00
Marcus
7d8fbd3126 Merge branch 'gradle-wrapper-multiple' into 'master'
gradlew-fdroid: fix multiple gradle-wrapper.properties parsing

See merge request fdroid/fdroidserver!613
2019-01-27 13:19:34 +00:00
relan
8e471ad856 gradlew-fdroid: fix multiple gradle-wrapper.properties parsing
Stop looking for the Gradle version if we found it via distributionUrl
in ./gradle/wrapper/gradle-wrapper.properties. If we go on to parsing
../gradle/wrapper/gradle-wrapper.properties, we'll erroneously get the
version from there.
2019-01-27 11:45:53 +03:00
westnordost
a227ad6e1a change glob filter for graphics to not filter out valid IETF RFC5646 locales (fixes #621 and #357)
Also, update the documentation comment to be absolutely clear.

The function used to copy images from any locale directory starting with at least two lowercase letters correctly, but only add those to the app metadata that started with two letters plus one big letter or a "-". The same problem did not exist for adding texts to the metadata.
2019-01-23 11:21:19 +00:00
Hans-Christoph Steiner
aa47e93f36 Revert "Revert "lint: check if CurrentVersion is older than oldest build entry""
This reverts commit a5ec1703c9.

fdroid/fdroiddata@42bb872b46
2019-01-21 23:00:33 +01:00
Hans-Christoph Steiner
1174b14d1e Merge branch 'neonsoftware/master' into master
buildserver: include build-tools 28.0.3
  Added test aapt output files for build-tools 28.0.3
  update.py: Still aapt output parsing, setting regex to catch 'name=' without prefixes, needed for build-tools 28.0.3

fdroid/fdroidserver!591
2019-01-21 22:39:35 +01:00
Hans-Christoph Steiner
86ff550dd2 buildserver: include build-tools 28.0.3 2019-01-21 22:37:59 +01:00
Marcus Hoffmann
cf1a45eb4a add gradle plugin version 3.3 detection 2019-01-19 23:54:20 +01:00
Marcus Hoffmann
eee2cb03cf add ndk r19 2019-01-19 23:51:46 +01:00
Marcus
4effc74c2b Merge branch 'gradle-5.1' into 'master'
makebuildserver: add Gradle 5.1 and 5.1.1

See merge request fdroid/fdroidserver!609
2019-01-16 08:50:07 +00:00
relan
56620177aa makebuildserver: add Gradle 5.1 and 5.1.1 2019-01-16 07:25:25 +03:00
Michael von Glasow
f8f17a430d Reword warning message about sudo commands being skipped 2019-01-15 14:14:09 +00:00
Michael von Glasow
868516f3fd Clarify warning message about skipped sudo commands 2019-01-15 12:36:17 +00:00
Francesco Cervigni
984d276c1b Added test aapt output files for build-tools 28.0.3 2019-01-13 19:27:02 +01:00
Marcus Hoffmann
a5ec1703c9 Revert "lint: check if CurrentVersion is older than oldest build entry"
This reverts commit 78473e7dab.

This is currently blocked by some apps in fdroiddata being reset to a
broken state.
2019-01-10 14:48:52 +01:00
Marcus Hoffmann
e1c547cfdf Revert "Revert "Merge branch 'random-fixes' into 'master'""
This reverts commit f6f2fb0b89.

Only one of the included commit should have been reverted.
2019-01-10 14:48:29 +01:00
Marcus
f6f2fb0b89 Revert "Merge branch 'random-fixes' into 'master'"
This reverts merge request !605
2019-01-10 13:46:49 +00:00
Francesco Cervigni
64445520b0 update.py: Still aapt output parsing, setting regex to catch 'name=' without prefixes, needed for build-tools 28.0.3
build-tools 28.0.3 added a new field in the end 'compileSdkVersionCodename=', which also accidentally ends with the string 'name='.
The purpose of this regex was to catch the 'packageName' field, which is in ht eaapt ouput the exact ' name=', therefore added whe non-caracter \W prefix match.

sample aapt output (28.0.3):
package: name='com.a.b.app' versionCode='1' versionName='1.0' compileSdkVersion='28' compileSdkVersionCodename='9'

previously, regex was catching second occurence, so '9'

See merge request !582
2019-01-08 22:46:47 +01:00
Hans-Christoph Steiner
357dea762d Merge branch 'random-fixes' into 'master'
random fixes

See merge request fdroid/fdroidserver!605
2019-01-03 20:29:01 +00:00
Hans-Christoph Steiner
13bcc476a7 androguard>=3.3 fails: "AXMLParser' object has no attribute 'is_valid'"
Traceback (most recent call last):
  File "/builds/eighthave/fdroidserver/tests/build.TestCase", line 120, in test_get_apk_metadata
    vc, vn = fdroidserver.build.get_metadata_from_apk(app, build, apkfilename)
  File "/builds/eighthave/fdroidserver/fdroidserver/build.py", line 332, in get_metadata_from_apk
    appid, versionCode, versionName = common.get_apk_id(apkfile)
  File "/builds/eighthave/fdroidserver/fdroidserver/common.py", line 2126, in get_apk_id
    return get_apk_id_androguard(apkfile)
  File "/builds/eighthave/fdroidserver/fdroidserver/common.py", line 2158, in get_apk_id_androguard
    while axml.is_valid():
AttributeError: 'AXMLParser' object has no attribute 'is_valid'
2019-01-03 21:00:01 +01:00
Hans-Christoph Steiner
76b026e572 lint: check whether the locale was included in an f-droid.org URL 2019-01-03 21:00:01 +01:00
Hans-Christoph Steiner
78473e7dab lint: check if CurrentVersion is older than oldest build entry
This causes F-Droid to never install this app, except for manually via the
Versions list in AppDetails.
2019-01-03 21:00:01 +01:00
Hans-Christoph Steiner
4c5864c975 buildserver: add config option to use 'nfs' instead of '9p'
'9p' is not possible when running KVM in VMware.  Also, 'nfs' might provide
more reliably operation on systems that are properly setup for it.
2019-01-03 21:00:01 +01:00
Hans-Christoph Steiner
a2aef721d8 add timeout to net.http_get() and index.download_repo_index()
The requests docs recommend this:
http://docs.python-requests.org/en/master/user/quickstart/#timeouts

And mirror-monitor was hanging forever on a bad mirror.
2019-01-03 20:26:40 +01:00
Hans-Christoph Steiner
9c900ed63c Merge branch 'fix-virustotal-from-mirror' into 'master'
Fix virustotal from mirror

See merge request fdroid/fdroidserver!604
2019-01-03 19:26:01 +00:00
Marcus Hoffmann
e6388285fd add gradle 4.10.3 2018-12-23 18:07:20 +01:00
Hans-Christoph Steiner
33b097a3aa deploy: upload to VirusTotal using index-v1.json or index-v1.jar
* A mirror of the repo will have only index-v1.jar.
* A buildserver with separate signing might have only index-v1.json
2018-12-17 14:33:02 +01:00
Hans-Christoph Steiner
869cc114a3 create index.get_index_from_jar() for parsing index-v1.json
Also removes redundant comments, should be in the doc string!
2018-12-17 14:30:05 +01:00
Hans-Christoph Steiner
09281bee25 Merge branch 'disable-auto-updates-on-buildserver' into 'master'
buildserver: disable all automatic apt-get updates

Closes #437

See merge request fdroid/fdroidserver!603
2018-12-12 19:37:15 +00:00
Hans-Christoph Steiner
d6545732e4 buildserver: disable all automatic apt-get updates
Prevents errors due to:
dpkg: error: dpkg status database is locked by another process

closes #437
2018-12-12 17:38:26 +01:00
Hans-Christoph Steiner
076f885950 Merge branch 'verification-fixes' into 'master'
verification fixes

See merge request fdroid/fdroidserver!602
2018-12-10 16:46:46 +00:00
Hans-Christoph Steiner
13016c5d63 verify: add --output-json option to generate status reports
This has to do custom dict/encoder/decoder tricks in order to make sure
that each run of `fdroid verify` on the same files doesn't add duplicate
entries.
2018-12-07 13:13:10 +01:00
Hans-Christoph Steiner
e85256e248 verify: rename var remoteapk to remote_apk to fit other style 2018-12-07 11:19:26 +01:00
Hans-Christoph Steiner
fa7c59eea1 buildserver: include disorderfs to avoid sudo: in metadata
Right now, the only thing that Briar needs in sudo: in order to be built
reproducibly is `apt-get install disorderfs`.  This includes it in the
standard image to make it easy to spread that technique to many builds.

@grote
2018-12-06 21:55:02 +01:00
Hans-Christoph Steiner
47e8c9d436 README: point travis badges to fdroidtravis until f-droid mirror returns
@patcon setup https://github.com/f-droid to mirror the official gitlab
repos.  For some unknown reason, Travis stopped building new commits coming
into that repo about 3 months ago.  This switches to a github.com that I
manually push to, and Travis still builds.

Please switch back to the automatic mirror once it works again.
2018-12-06 14:36:47 +01:00
Hans-Christoph Steiner
78cd2b84ce travis-ci: add missing dependency: python3-defusedxml 2018-12-06 14:05:54 +01:00
Hans-Christoph Steiner
51d961630b fix aapt scraping of <uses-permission> with maxSdkVersion
3e0d1beb09 changed this logic a bit, and it
wasn't quite right.  Then changing the SDK Versions to integers everywhere
seemed to bring this out more.
2018-12-06 13:42:45 +01:00