Commit graph

6505 commits

Author SHA1 Message Date
Jochen Sprickerhof
9b135077d7 [CI] install python3-matplotlib from apt 2022-09-06 10:56:14 +02:00
Jochen Sprickerhof
53d559a913 [CI] Install python3-pil from apt
New version would need to be compiled, otherwise.
2022-09-06 10:55:11 +02:00
Jochen Sprickerhof
5e58141f30 [CI] fetchsrclibs use apt cffi 2022-09-06 10:53:25 +02:00
Hans-Christoph Steiner
9be68357ae nightly: add support for GitHub Actions 2022-09-06 10:46:05 +02:00
Hans-Christoph Steiner
0b0e514939 nightly: update Raw URLs to fix breakage and avoid redirects 2022-09-06 10:45:04 +02:00
Jochen Sprickerhof
e367ab0c1c Fix added type
The added time should be a datetime, not a time.struct_time.

Regression of 290b9050
Closes: #1012
2022-09-06 10:42:31 +02:00
Hans-Christoph Steiner
516624c9ce nightly: fix "deploy key URL" that is printed to log output
GitLab now uses the "/-/" form as the canonical.
2022-08-03 14:55:17 -07:00
Hans-Christoph Steiner
82f6ebae5d
version 2.0.4 2022-06-29 10:34:29 +02:00
Hans-Christoph Steiner
777f55ebe7 update CHANGELOG 2022-06-29 10:34:06 +02:00
Hans-Christoph Steiner
ec3d69b9d3 signindex: do not remove index-v1.json after signing
With ~index-v2, the model is changing to offer the plain JSON file for easy
consumption.  Then gpgsign will also provide a detached PGP signature for
systems that would rather verify based on PGP signatures than JAR signatures.

!1080
!1124
#969

# Conflicts:
#	tests/signindex.TestCase
2022-06-29 10:28:43 +02:00
Hans-Christoph Steiner
13e165305d deploy: ensure progress is instantiated before trying to use it 2022-06-29 10:28:35 +02:00
Hans-Christoph Steiner
d432c6396c
version 2.0.3 2021-07-01 11:08:58 +02:00
Hans-Christoph Steiner
a72bee0e4f
update CHANGELOG 2021-07-01 11:08:55 +02:00
Jochen Sprickerhof
943c2b64bf
Support AutoUpdateMode: Version without pattern
Since 24dd6740 UpdateCheckMode: Tags uses the found tag instead of
regenerating it from the AutoUpdateMode pattern making the pattern
superfluous. This adds support for dropping the pattern and a test case.
2021-07-01 11:08:48 +02:00
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