Commit graph

6491 commits

Author SHA1 Message Date
Hans-Christoph Steiner
ceac1f7264
version 2.0.2 2021-06-01 14:21:30 +02:00
Hans-Christoph Steiner
54ce657b4a
update CHANGELOG 2021-06-01 14:21:29 +02:00
Jochen Sprickerhof
9d589071f0
Fix ruamel round_trip_dump will be removed
https://sourceforge.net/p/ruamel-yaml/code/ci/4b91cd7e820baf97d8d28b1dcf77979530d43c3c/#diff-1

!932
2021-06-01 14:21:27 +02:00
Hans-Christoph Steiner
8e8b87e0b4
gitlab-ci: fix tests using updates from master 2021-06-01 14:21:25 +02:00
Hans-Christoph Steiner
5dddb29bc7 version 2.0.1 2021-03-09 17:53:04 +01:00
Hans-Christoph Steiner
eac75a93bc update CHANGELOG 2021-03-09 17:53:04 +01:00
Hans-Christoph Steiner
8939a336ae run-tests: fix local_copy_dir test, it broke when /tmp/fdroid existed 2021-03-09 17:53:04 +01:00
Hans-Christoph Steiner
92438bbf78 metadata: stop setting up source repo when running lint/rewritemeta
broken in 54e8867a7e
2021-03-09 17:53:03 +01:00
Hans-Christoph Steiner
ff1638c7dc scanner: show error if scan_binary fails to run apkanalyzer 2021-03-09 15:58:04 +01:00
Hans-Christoph Steiner
8b89793d3c common: properly parse version from NDK's source.properties 2021-03-09 15:58:00 +01:00
Hans-Christoph Steiner
2b5093969a update: stop extracting and storing XML icons, they're useless
APKs that only have XML icons in them should include an icon.png in the
metadata or fastlane/triple-t

closes #344
2021-03-09 15:38:19 +01:00
Hans-Christoph Steiner
240139baf9 index: raise error rather than crash on bad repo file
If a non-APK is added with the appid/packageName that matches some APKs, it
should through an error.

Traceback (most recent call last):
  File "/home/hans/code/fdroid/server/fdroid", line 22, in <module>
    fdroidserver.__main__.main()
  File "/home/hans/code/fdroid/server/fdroidserver/__main__.py", line 211, in main
    mod.main()
  File "/home/hans/code/fdroid/server/fdroidserver/update.py", line 2343, in main
    index.make(apps, sortedids, apks, repodirs[0], False)
  File "/home/hans/code/fdroid/server/fdroidserver/index.py", line 142, in make
    fdroid_signing_key_fingerprints)
  File "/home/hans/code/fdroid/server/fdroidserver/index.py", line 166, in make_v1
    v1_sort_packages(packages, fdroid_signing_key_fingerprints)
  File "/home/hans/code/fdroid/server/fdroidserver/index.py", line 292, in v1_sort_packages
    packages.sort(key=v1_sort_keys)
  File "/home/hans/code/fdroid/server/fdroidserver/index.py", line 288, in v1_sort_keys
    .format(apkfilename=package['apkName']))
fdroidserver.exception.FDroidException: at.roteskreuz.stopcorona_8.jobf does not have a valid signature!
2021-03-09 15:38:19 +01:00
Hans-Christoph Steiner
cfbee12ad2 update: handle large, corrupt, or inaccessible fastlane/triple-t files
```
Traceback (most recent call last):
  File "../fdroid", line 22, in <module>
    fdroidserver.__main__.main()
  File "/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroidserver/__main__.py", line 227, in main
    raise e
  File "/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroidserver/__main__.py", line 208, in main
    mod.main()
  File "/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroidserver/update.py", line 2340, in main
    repoapps = prepare_apps(apps, apks, repodirs[0])
  File "/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroidserver/update.py", line 2176, in prepare_apps
    copy_triple_t_store_metadata(apps_with_packages)
  File "/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroidserver/update.py", line 1076, in copy_triple_t_store_metadata
    _set_author_entry(app, 'authorWebSite', os.path.join(root, f))
  File "/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroidserver/update.py", line 784, in _set_author_entry
    with open(f, errors='replace') as fp:
FileNotFoundError: [Errno 2] No such file or directory: 'build/player.efis.cfd/pfd/src/main/play/contact-website.txt'
```
2021-03-09 15:38:19 +01:00
fossdd
152250646e Revert removing Licenses 2021-03-09 15:38:19 +01:00
fossdd
eca7b23fc9 Update SPDX License List 2021-03-09 15:38:19 +01:00
Hans-Christoph Steiner
d94cc94ee0 gitlab-ci: arch job needs to build python-cryptography 2021-03-09 15:38:19 +01:00
Hans-Christoph Steiner
7aa2e3c359 gitlab-ci: use python3-cryptography to avoid building rust sources 2021-03-09 15:38:19 +01:00
Hans-Christoph Steiner
f95f88f64d gitlab-ci: use python3-cryptography to avoid building rust sources 2021-03-09 15:38:19 +01:00
Hans-Christoph Steiner
5ed531ce52 checkupdates: set User-Agent to make gitlab.com happy
closes #863
2021-03-09 14:57:04 +01:00
Jochen Sprickerhof
ba87076d64 Run push_binary_transparency only once 2021-03-09 14:52:45 +01:00
Hans-Christoph Steiner
fa186c40c4 version 2.0 2021-02-01 22:50:36 +01:00
Hans-Christoph Steiner
65ef6f33e3 make -C locale/ update 2021-02-01 22:50:03 +01:00
Golubev Alexander
e67cb8a1fa Translated using Weblate: Russian (ru) by Golubev Alexander <fatzer2@gmail.com>
Currently translated at 100.0% (576 of 576 strings)

Co-authored-by: Golubev Alexander <fatzer2@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/ru/
Translation: F-Droid/F-Droid Server
2021-02-01 22:44:33 +01:00
Peter J. Mello
58d23d17e6 Translated using Weblate: Portuguese (pt) by Peter J. Mello <admin@petermello.net>
Currently translated at 100.0% (576 of 576 strings)

Translated using Weblate: Portuguese (Portugal) (pt_PT) by Peter J. Mello <admin@petermello.net>

Currently translated at 100.0% (576 of 576 strings)

Co-authored-by: Peter J. Mello <admin@petermello.net>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/pt/
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/pt_PT/
Translation: F-Droid/F-Droid Server
2021-02-01 22:44:33 +01:00
Eric
acba6b4a88 Translated using Weblate: Chinese (Simplified) (zh_Hans) by Eric <spice2wolf@gmail.com>
Currently translated at 34.7% (200 of 576 strings)

Co-authored-by: Eric <spice2wolf@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/zh_Hans/
Translation: F-Droid/F-Droid Server
2021-02-01 22:44:33 +01:00
Oğuz Ersen
8fcbfd1403 Translated using Weblate: Turkish (tr) by Oğuz Ersen <oguzersen@protonmail.com>
Currently translated at 100.0% (576 of 576 strings)

Co-authored-by: Oğuz Ersen <oguzersen@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/tr/
Translation: F-Droid/F-Droid Server
2021-02-01 22:44:33 +01:00
WaldiS
81ef8055de Translated using Weblate: Polish (pl) by WaldiS <sto@tutanota.de>
Currently translated at 100.0% (576 of 576 strings)

Co-authored-by: WaldiS <sto@tutanota.de>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/pl/
Translation: F-Droid/F-Droid Server
2021-02-01 22:44:33 +01:00
Ihor Hordiichuk
382fba151e Translated using Weblate: Ukrainian (uk) by Ihor Hordiichuk <igor_ck@outlook.com>
Currently translated at 100.0% (576 of 576 strings)

Translated using Weblate: Ukrainian (uk) by Ihor Hordiichuk <igor_ck@outlook.com>

Currently translated at 100.0% (576 of 576 strings)

Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/uk/
Translation: F-Droid/F-Droid Server
2021-02-01 22:44:33 +01:00
Hans-Christoph Steiner
31c29f2fb3 support official ANDROID_SDK_ROOT env var when running CLI tools
ANDROID_HOME is deprecated:
https://developer.android.com/studio/command-line/variables#android_sdk_root

!816 #547
2021-01-29 16:34:36 +01:00
Hans-Christoph Steiner
4900c426e9 locale: remove "obsolete" translations from .po files 2021-01-29 16:20:42 +01:00
Hans-Christoph Steiner
19e2ea8adf locale: remove duplicate strings as part of the update 2021-01-29 16:13:52 +01:00
Hans-Christoph Steiner
3e7c55d91d purge all references to dscanner 2021-01-29 15:40:59 +01:00
Hans-Christoph Steiner
63be6f6347 standardize naming in strings and comments on all caps APK 2021-01-29 15:40:59 +01:00
Hans-Christoph Steiner
97d5933a05 change config.py to config.yml everywhere it is needed 2021-01-29 13:24:17 +01:00
Hans-Christoph Steiner
f48ea06adb add final release language list 2021-01-29 13:22:34 +01:00
Isrg Rajan
a10e55e40f Translated using Weblate: Hindi (hi) by Isrg Rajan <isrgrajan@outlook.com>
Currently translated at 2.5% (15 of 588 strings)

Added translation using Weblate: Hindi (hi) by Isrg Rajan <isrgrajan@outlook.com>

Co-authored-by: Isrg Rajan <isrgrajan@outlook.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/hi/
Translation: F-Droid/F-Droid Server
2021-01-29 13:04:07 +01:00
Aled Powell
a334f24a7b Translated using Weblate: Welsh (cy) by Aled Powell <aled@aledpowell.cymru>
Currently translated at 6.4% (38 of 588 strings)

Translated using Weblate: Welsh (cy) by Aled Powell <aled@aledpowell.cymru>

Currently translated at 5.1% (30 of 588 strings)

Translated using Weblate: Welsh (cy) by Aled Powell <aled@aledpowell.cymru>

Currently translated at 3.7% (22 of 588 strings)

Added translation using Weblate: Welsh (cy) by Aled Powell <aled@aledpowell.cymru>

Co-authored-by: Aled Powell <aled@aledpowell.cymru>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/cy/
Translation: F-Droid/F-Droid Server
2021-01-29 13:04:07 +01:00
Elias Mårtenson
7794f9a645 Translated using Weblate: Swedish (sv) by Elias Mårtenson <elias@dhsdevelopments.com>
Currently translated at 8.1% (48 of 588 strings)

Co-authored-by: Elias Mårtenson <elias@dhsdevelopments.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/sv/
Translation: F-Droid/F-Droid Server
2021-01-29 13:04:07 +01:00
jace
5f48626fd9 Added translation using Weblate: English (Middle) (enm) by jace <jace4411@outlook.com>
Co-authored-by: jace <jace4411@outlook.com>
2021-01-29 13:04:07 +01:00
Lilian Sosa
cc159b57b6 Translated using Weblate: Spanish (Argentina) (es_AR) by Lilian Sosa <liliancsosa@gmail.com>
Currently translated at 20.0% (118 of 588 strings)

Translated using Weblate: Spanish (Argentina) (es_AR) by Lilian Sosa <liliancsosa@gmail.com>

Currently translated at 17.8% (105 of 588 strings)

Co-authored-by: Lilian Sosa <liliancsosa@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/es_AR/
Translation: F-Droid/F-Droid Server
2021-01-29 13:04:07 +01:00
Oymate
dc114f6c6d Translated using Weblate: Bengali (bn) by Oymate <dhruboadittya96@gmail.com>
Currently translated at 3.0% (18 of 588 strings)

Translated using Weblate: Bengali (bn) by Oymate <dhruboadittya96@gmail.com>

Currently translated at 1.1% (7 of 588 strings)

Co-authored-by: Oymate <dhruboadittya96@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/bn/
Translation: F-Droid/F-Droid Server
2021-01-29 13:04:07 +01:00
Francesco Esposito
48a20801af Translated using Weblate: Italian (it) by Francesco Esposito <email@francescoesposito.org>
Currently translated at 65.1% (383 of 588 strings)

Co-authored-by: Francesco Esposito <email@francescoesposito.org>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/it/
Translation: F-Droid/F-Droid Server
2021-01-29 13:04:07 +01:00
Daniel Șerbănescu
b04b59dfc5 Translated using Weblate: Romanian (ro) by Daniel Șerbănescu <daniel@serbanescu.dk>
Currently translated at 2.8% (17 of 588 strings)

Added translation using Weblate: Romanian (ro) by Daniel Șerbănescu <daniel@serbanescu.dk>

Co-authored-by: Daniel Șerbănescu <daniel@serbanescu.dk>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/ro/
Translation: F-Droid/F-Droid Server
2021-01-29 13:04:07 +01:00
Besnik Bleta
2a21de2b39 Translated using Weblate: Albanian (sq) by Besnik Bleta <besnik@programeshqip.org>
Currently translated at 96.0% (565 of 588 strings)

Co-authored-by: Besnik Bleta <besnik@programeshqip.org>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/sq/
Translation: F-Droid/F-Droid Server
2021-01-29 12:44:27 +01:00
Hans-Christoph Steiner
e6bcafdb51 fixed checks in Weblate
Translated using Weblate: Albanian (sq) by Hans-Christoph Steiner <hans@guardianproject.info>

Currently translated at 95.0% (559 of 588 strings)

Translated using Weblate: Polish (pl) by Hans-Christoph Steiner <hans@guardianproject.info>

Currently translated at 99.6% (586 of 588 strings)

Translated using Weblate: Korean (ko) by Hans-Christoph Steiner <hans@guardianproject.info>

Currently translated at 35.3% (208 of 588 strings)

Translated using Weblate: French (fr) by Hans-Christoph Steiner <hans@guardianproject.info>

Currently translated at 87.9% (517 of 588 strings)

Translated using Weblate: Spanish (es) by Hans-Christoph Steiner <hans@guardianproject.info>

Currently translated at 99.8% (587 of 588 strings)

Translated using Weblate: Chinese (Simplified) (zh_Hans) by Hans-Christoph Steiner <hans@guardianproject.info>

Currently translated at 36.2% (213 of 588 strings)

Translated using Weblate: Chinese (Traditional) (zh_Hant) by Hans-Christoph Steiner <hans@guardianproject.info>

Currently translated at 80.9% (476 of 588 strings)

Co-authored-by: Hans-Christoph Steiner <hans@guardianproject.info>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/es/
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/fr/
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/ko/
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/pl/
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/sq/
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/zh_Hant/
Translation: F-Droid/F-Droid Server
2021-01-29 12:44:15 +01:00
Ihor Hordiichuk
6616b1cec2 Translated using Weblate: Ukrainian (uk) by Ihor Hordiichuk <igor_ck@outlook.com>
Currently translated at 100.0% (588 of 588 strings)

Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/uk/
Translation: F-Droid/F-Droid Server
2021-01-29 12:44:15 +01:00
hilariousperson
5d61429d1f Translated using Weblate: French (fr) by hilariousperson <gobelpepite+github@gmail.com>
Currently translated at 87.9% (517 of 588 strings)

Co-authored-by: hilariousperson <gobelpepite+github@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/fr/
Translation: F-Droid/F-Droid Server
2021-01-29 12:44:15 +01:00
gub
79e641a535 Translated using Weblate: French (fr) by gub <gub.gub@laposte.net>
Currently translated at 87.9% (517 of 588 strings)

Co-authored-by: gub <gub.gub@laposte.net>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/fr/
Translation: F-Droid/F-Droid Server
2021-01-29 12:44:15 +01:00
Vincent Finance
c1a08e4ba6 Translated using Weblate: French (fr) by Vincent Finance <linuxmario@linuxmario.net>
Currently translated at 87.9% (517 of 588 strings)

Co-authored-by: Vincent Finance <linuxmario@linuxmario.net>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/fr/
Translation: F-Droid/F-Droid Server
2021-01-29 12:44:15 +01:00
WaldiS
d630fac735 Translated using Weblate: Polish (pl) by WaldiS <sto@tutanota.de>
Currently translated at 99.4% (585 of 588 strings)

Translated using Weblate: Polish (pl) by WaldiS <sto@tutanota.de>

Currently translated at 99.4% (585 of 588 strings)

Co-authored-by: WaldiS <sto@tutanota.de>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/pl/
Translation: F-Droid/F-Droid Server
2021-01-29 12:44:15 +01:00