Hans-Christoph Steiner
a01e91da6c
update CHANGELOG.md
2025-03-19 17:45:12 +01:00
Hans-Christoph Steiner
e23b196a0f
run tests/refresh-SUSS_DEFAULT.py
2025-03-19 17:45:08 +01:00
Hans-Christoph Steiner
52045f9819
Merge branch 'weblate' into 'master'
...
weblate
See merge request fdroid/fdroidserver!1616
2025-03-19 16:24:40 +00:00
Golubev Alexander
ca082daaea
Translated using Weblate: Russian (ru) by Golubev Alexander <fatzer2@gmail.com>
...
Currently translated at 100.0% (613 of 613 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
2025-03-19 17:13:35 +01:00
大王叫我来巡山
9429f0917b
Translated using Weblate: Chinese (Simplified Han script) (zh_Hans) by 大王叫我来巡山 <hamburger2048@users.noreply.hosted.weblate.org>
...
Currently translated at 100.0% (613 of 613 strings)
Co-authored-by: 大王叫我来巡山 <hamburger2048@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/zh_Hans/
Translation: F-Droid/F-Droid Server
2025-03-19 17:13:35 +01:00
Максим Горпиніч
c5d5ab3a79
Translated using Weblate: Ukrainian (uk) by Максим Горпиніч <maksimgorpinic2005a@gmail.com>
...
Currently translated at 100.0% (613 of 613 strings)
Co-authored-by: Максим Горпиніч <maksimgorpinic2005a@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/uk/
Translation: F-Droid/F-Droid Server
2025-03-19 17:13:35 +01:00
LucasMZ
26860dbf2f
Translated using Weblate: Portuguese (Brazil) (pt_BR) by LucasMZ <git@lucasmz.dev>
...
Currently translated at 100.0% (613 of 613 strings)
Co-authored-by: LucasMZ <git@lucasmz.dev>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/pt_BR/
Translation: F-Droid/F-Droid Server
2025-03-19 17:13:35 +01:00
ssantos
0907755efe
Translated using Weblate: Portuguese (pt) by ssantos <ssantos@web.de>
...
Currently translated at 100.0% (613 of 613 strings)
Translated using Weblate: Portuguese (Portugal) (pt_PT) by ssantos <ssantos@web.de>
Currently translated at 100.0% (613 of 613 strings)
Translated using Weblate: Portuguese (pt) by ssantos <ssantos@web.de>
Currently translated at 99.8% (612 of 613 strings)
Co-authored-by: ssantos <ssantos@web.de>
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
2025-03-19 17:13:35 +01:00
WaldiS
2a36726798
Translated using Weblate: Polish (pl) by WaldiS <sto@tutanota.de>
...
Currently translated at 100.0% (613 of 613 strings)
Translated using Weblate: Polish (pl) by WaldiS <sto@tutanota.de>
Currently translated at 99.8% (612 of 613 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
2025-03-19 17:13:35 +01:00
Liner Seven
c0da9df12f
Translated using Weblate: Japanese (ja) by Liner Seven <linour7gmekiblo@gmail.com>
...
Currently translated at 100.0% (613 of 613 strings)
Co-authored-by: Liner Seven <linour7gmekiblo@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/ja/
Translation: F-Droid/F-Droid Server
2025-03-19 17:13:35 +01:00
Aindriú Mac Giolla Eoin
bb5d7a0e91
Translated using Weblate: Irish (ga) by Aindriú Mac Giolla Eoin <aindriu80@gmail.com>
...
Currently translated at 100.0% (613 of 613 strings)
Co-authored-by: Aindriú Mac Giolla Eoin <aindriu80@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/ga/
Translation: F-Droid/F-Droid Server
2025-03-19 17:13:35 +01:00
Lula Bye
dedc92b467
Translated using Weblate: French (fr) by Lula Bye <translate.cylinder716@passinbox.com>
...
Currently translated at 97.3% (597 of 613 strings)
Co-authored-by: Lula Bye <translate.cylinder716@passinbox.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/fr/
Translation: F-Droid/F-Droid Server
2025-03-19 17:13:35 +01:00
Nicolás Pérez
99b8f76487
Translated using Weblate: Spanish (es) by Nicolás Pérez <ccnicolasperez@gmail.com>
...
Currently translated at 100.0% (613 of 613 strings)
Co-authored-by: Nicolás Pérez <ccnicolasperez@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/es/
Translation: F-Droid/F-Droid Server
2025-03-19 17:13:35 +01:00
VfBFan
d3eff85c51
Translated using Weblate: German (de) by VfBFan <drop0815@posteo.de>
...
Currently translated at 100.0% (613 of 613 strings)
Co-authored-by: VfBFan <drop0815@posteo.de>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/de/
Translation: F-Droid/F-Droid Server
2025-03-19 17:13:35 +01:00
Fjuro
fcbbf3bea3
Translated using Weblate: Czech (cs) by Fjuro <fjuro@users.noreply.hosted.weblate.org>
...
Currently translated at 100.0% (613 of 613 strings)
Co-authored-by: Fjuro <fjuro@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/cs/
Translation: F-Droid/F-Droid Server
2025-03-19 17:13:35 +01:00
pitroig
2b8c957d12
Translated using Weblate: Catalan (ca) by pitroig <ona@riseup.net>
...
Currently translated at 100.0% (613 of 613 strings)
Co-authored-by: pitroig <ona@riseup.net>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/ca/
Translation: F-Droid/F-Droid Server
2025-03-19 17:13:35 +01:00
Hans-Christoph Steiner
a95f4f11b0
pick-complete-translations.py: use new Weblate API
2025-03-19 17:13:29 +01:00
Hans-Christoph Steiner
b416d9b604
Merge branch 'skip-test-for-unsupported-arch' into 'master'
...
skip tests that won't run on a given CPU architecture
See merge request fdroid/fdroidserver!1330
2025-03-19 14:56:18 +00:00
Hans-Christoph Steiner
0b3fe26524
skip tests that won't run on a given CPU architecture
2025-03-19 15:47:06 +01:00
Hans-Christoph Steiner
025828932d
purge test exceptions for Python < 3.9, that's the min version
2025-03-19 11:11:36 +01:00
Michael Pöhn
17a4912e83
Merge branch 'gitlab-ci-signing-server' into 'master'
...
gitlab-ci: "PUBLISH" job to test in the signing server's setup
See merge request fdroid/fdroidserver!1613
2025-03-12 16:48:36 +00:00
Hans-Christoph Steiner
c5f442616e
gitlab-ci: "PUBLISH" job to test in the signing server's setup
2025-03-12 17:27:26 +01:00
Hans-Christoph Steiner
2f4e0f47a1
signatures: make from . import net
optional
...
This eliminates the need to have python3-requests installed on the signing
server. This was missed in 031ae1103e
2025-03-12 17:27:26 +01:00
Hans-Christoph Steiner
3e6cb67e69
Merge branch 'signing-server' into 'master'
...
complete workflow for porting the signing server for config.yml
See merge request fdroid/fdroidserver!1610
2025-03-12 13:11:21 +00:00
Hans-Christoph Steiner
d06e33697a
lint: missing valid config key: apk_signing_key_block_list
2025-03-12 13:37:17 +01:00
Hans-Christoph Steiner
9d147c6b6b
test_common: remove self.tmpdir and use standard self.testdir pat
2025-03-12 13:37:17 +01:00
Hans-Christoph Steiner
858068c64b
only show "unsafe perms on config.yml" when secrets are present
...
This should make for fewer false positives.
2025-03-12 13:37:17 +01:00
Hans-Christoph Steiner
36007d50e5
AbstractBaseTest class for sharing setUp and tearDown in tests
2025-03-12 13:37:17 +01:00
Hans-Christoph Steiner
f269232b96
hide error messages in tests that are meant to fail
2025-03-12 13:37:17 +01:00
Hans-Christoph Steiner
8cf1297e2c
clarify config data types and structures
2025-03-12 13:37:17 +01:00
Hans-Christoph Steiner
081e02c109
expand {env: foo} in any place a string can be
...
`keypass: {env: keypass}` has been in use in production repos for
years. That is not anything new. It makes it possible to maintain
_config.yml_ publicly even when it needs secrets. This change makes
sure it is possible to use {env: foo} syntax anywhere where a string
value is valid. The "list of dicts" values can be str, list of str or
list of dicts with str.
Before the {env: keypass} syntax, the actual password was just inline
in the config file. Before this commit, it was only possible to use
{env: key} syntax in simple, string-only configs, e.g. from
examples/config.yml:
2025-03-12 13:37:17 +01:00
Hans-Christoph Steiner
031ae1103e
function-local imports to limit deps for publish/signindex/gpgsign
...
This eliminates the need to have these installed on the signing server:
* python3-qrcode
* python3-requests
The signing server currently uses a git clone to run _fdroidserver_ and
`apt-get install` for dependencies. This leaves "qrcode" in
"install_requires" since moving it to "extras_require" would break
`fdroid update` and `fdroid nightly` for anything that does
`pip install fdroidserver`:
https://gitlab.com/eighthave/fdroidserver/-/jobs/9386520037
2025-03-12 13:37:13 +01:00
Hans-Christoph Steiner
864ccb560b
Merge branch 'pydocfix' into 'master'
...
🪐 fix pydoc link in hooks/pre-commit
See merge request fdroid/fdroidserver!1612
2025-03-12 09:17:58 +00:00
Michael Pöhn
14e13b4f4a
🪐 fix pydoc link in hooks/pre-commit
...
updated pydoc linter flags based on how it's used in .gitlab-ci.yml
2025-03-12 10:04:46 +01:00
Michael Pöhn
1521d5c659
Merge branch 'YAML-1.2' into 'master'
...
standardize config on ruamel.yaml with a YAML 1.2 config
See merge request fdroid/fdroidserver!1611
2025-03-10 08:34:06 +00:00
Hans-Christoph Steiner
3ab2baf542
_yaml.config_dump() for writing out config
...
This outputs YAML in a string that is suitable for use in regexps
and string replacements, as well as complete files. It is therefore
explicitly set up to avoid writing out headers and footers.
2025-03-10 08:49:18 +01:00
Hans-Christoph Steiner
2f47938dbf
standardize config on ruamel.yaml with a YAML 1.2 config
...
This is a key piece of the ongoing `PUBLISH` _config.yml_ migration. There was uneven implementation of which YAML parser to use, and that could lead to bugs where one parser might read a value one way, and a different parser will read the value a different way. I wanted to be sure that YAML 1.2 would always work.
This makes all code that handles config files use the same `ruamel.yaml` parsers. This only touches other usages of YAML parsers when there is overlap. This does not port all of _fdroidserver_ to `ruamel.yaml` and YAML 1.2. The metadata files should already be YAML 1.2 anyway.
# Conflicts:
# fdroidserver/lint.py
2025-03-10 08:48:58 +01:00
Hans-Christoph Steiner
53b62415d3
load lint_licenses where it is needed to avoid circular imports
...
This is the only thing that common.py imports from lint.py.
2025-03-07 14:52:23 +01:00
Jochen Sprickerhof
16fb0fbe91
Merge branch 'purge-config.py' into 'master'
...
purge config.py
See merge request fdroid/fdroidserver!1607
2025-03-05 14:42:01 +00:00
Hans-Christoph Steiner
3cc6c09ffc
use common var for 'config.yml', standarize on UTF-8
...
This makes it easy to track all the places that use config.yml, and
hopefully makes things feel cleaner. This also standardizes all places
where config.yml is written out to use UTF-8 as the file encoding.
This also includes a lot of black code format fixes.
2025-03-05 12:20:32 +01:00
Hans-Christoph Steiner
1f96a84f9a
gitlab-ci: add yamllint job
2025-02-26 17:28:01 +01:00
Hans-Christoph Steiner
642499ec94
purge config.py handling, it is no longer supported
2025-02-26 17:27:58 +01:00
Hans-Christoph Steiner
cb9533bd74
Merge branch 'gradle-release-checksums.py' into 'master'
...
update to gradle v8.13
See merge request fdroid/fdroidserver!1609
2025-02-26 12:39:57 +00:00
fdroid-bot
a37c409c74
gradle v8.13
2025-02-26 10:19:22 +00:00
Michael Pöhn
0f5a1a0bfb
Merge branch 'lint-config.yml' into 'master'
...
Lint config.yml
See merge request fdroid/fdroidserver!1606
2025-02-26 10:18:47 +00:00
Hans-Christoph Steiner
1ee9ea8cf9
lint: implement for config.yml
2025-02-24 19:07:27 +01:00
Hans-Christoph Steiner
695d97e103
fix: "no new line character at the end of file"
...
If yamllint is installed `fdroid lint` will run it, and what will output
the (new-line-at-end-of-file) warning message.
2025-02-24 18:13:13 +01:00
Hans-Christoph Steiner
56865f9ba6
checkupdates: remove auto_author: config, it is no longer used
...
checkupdates-runner sets the required values anyway.
fe3cb890db/.gitlab-ci.yml (L35)
2025-02-24 11:58:56 +01:00
Hans-Christoph Steiner
ecdf47d893
update: do not crash on {env: } in paths in config.yml
2025-02-22 23:32:29 +01:00
Hans-Christoph Steiner
4d66f30faf
Merge branch 'skip-test-on-macOS' into 'master'
...
skip test with mystery failure only on macOS
See merge request fdroid/fdroidserver!1605
2025-02-14 10:15:17 +00:00