Hans-Christoph Steiner
336d5381ae
Merge branch 'fix-flaky-test' into 'master'
...
update: change assert to fix flaky tests
See merge request fdroid/fdroidserver!1671
2025-06-23 19:03:27 +00:00
Hans-Christoph Steiner
63298ad2ad
update: change assert to fix flaky tests
...
This was happening often:
```
======================================================================
FAIL: test_strip_and_copy_image_in_file_ctime_changed (tests.test_update.UpdateTest.test_strip_and_copy_image_in_file_ctime_changed)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/builds/fdroid/fdroidserver/tests/test_update.py", line 1409, in test_strip_and_copy_image_in_file_ctime_changed
self.assertNotAlmostEqual(
AssertionError: 1750683024.4857466 == 1750683024.4957466 within 0.01 delta (0.009999990463256836 difference)
```
2025-06-23 15:16:21 +02:00
Torsten Grote
61777e273c
Merge branch 'deploy-fix-for-nightly' into 'master'
...
deploy: use master branch when working complete git-mirror repo
See merge request fdroid/fdroidserver!1666
2025-06-23 13:09:57 +00:00
Hans-Christoph Steiner
53bf6c7ce1
deploy: use master branch when working complete git-mirror repo
...
The *-nightly git repo always uses the _master_ branch. The `index_only:`
support maintains a separate local branch since its git repo should be as
small as possible. The full repo should be maintained for mirrors not
using `index_only:` so that when it force-pushes, it does not need to always
push all the files, only the updated ones. So the full repo should be
maintained in the _master_ branch, and only the `index_only` mirrors should
have their own branch.
This adds a test case to reproduce this error:
https://gitlab.com/fdroid/fdroidclient/-/jobs/10347168516
This case also applies to any setup that used `servergitmirrors:` before the
`index_only:` feature was added. This also applies to cases if the repo
maintainer manually clones the *-nightly repo into _fdroid/git-mirror/_
2025-06-23 12:39:15 +00:00
linsui
51c973f15e
Merge branch 'buildserver-androguard-from-backports' into 'master'
...
buildserver: androguard res0/res1 fixes from bookworm-backports
See merge request fdroid/fdroidserver!1667
2025-06-20 10:34:59 +00:00
Hans-Christoph Steiner
894fdb641e
buildserver: androguard res0/res1 fixes from bookworm-backports
2025-06-20 10:34:27 +00:00
Hans-Christoph Steiner
d029095641
Merge branch 'merge_weblate' into 'master'
...
weblate
See merge request fdroid/fdroidserver!1669
2025-06-18 21:01:20 +00:00
Bora Atıcı
85dba17d48
Translated using Weblate: Turkish (tr) by Bora Atıcı <boratici.acc@gmail.com>
...
Currently translated at 99.8% (578 of 579 strings)
Co-authored-by: Bora Atıcı <boratici.acc@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/tr/
Translation: F-Droid/F-Droid Server
2025-06-18 22:49:22 +02:00
Nuri KÜÇÜKLER
57541eb52e
Translated using Weblate: Turkish (tr) by Nuri KÜÇÜKLER <enatsek@gmail.com>
...
Currently translated at 98.6% (571 of 579 strings)
Co-authored-by: Nuri KÜÇÜKLER <enatsek@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/tr/
Translation: F-Droid/F-Droid Server
2025-06-18 22:49:22 +02:00
ssantos
7e8976d9b0
Translated using Weblate: Portuguese (Portugal) (pt_PT) by ssantos <ssantos@web.de>
...
Currently translated at 100.0% (579 of 579 strings)
Co-authored-by: ssantos <ssantos@web.de>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/pt_PT/
Translation: F-Droid/F-Droid Server
2025-06-18 22:49:22 +02:00
WaldiS
b6d7e8732b
Translated using Weblate: Polish (pl) by WaldiS <sto@tutanota.de>
...
Currently translated at 98.2% (569 of 579 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-06-18 22:49:22 +02:00
Ecron
2590f00ff0
Translated using Weblate: Catalan (ca) by Ecron <ecron_89@hotmail.com>
...
Currently translated at 100.0% (579 of 579 strings)
Co-authored-by: Ecron <ecron_89@hotmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/ca/
Translation: F-Droid/F-Droid Server
2025-06-18 22:49:22 +02:00
Hans-Christoph Steiner
1135cee8b7
Merge branch 'nightly-GitPython' into 'master'
...
nightly: switch dep from vcs_git to GitPython
See merge request fdroid/fdroidserver!1563
2025-06-18 16:47:06 +00:00
Hans-Christoph Steiner
76d711ba3c
nightly: convert to black format
2025-06-18 18:34:53 +02:00
Hans-Christoph Steiner
b2057a1ce0
nightly: switch dep from vcs_git to GitPython
...
This code already depends on GitPython, and hopefully the common.vcs* stuff
can eventually go away entirely. GitPython should provide those bits
already, and they are maintained by someone else.
https://github.com/gitpython-developers/GitPython/pull/2029
2025-06-18 18:34:49 +02:00
Hans-Christoph Steiner
ce018158ee
nightly: set up test for git clone function
2025-06-18 18:03:59 +02:00
Hans-Christoph Steiner
d398994ad3
Merge branch 'fix-categories-yml-only-icon' into 'master'
...
update: If categories.yml only has icon:, then add name:
See merge request fdroid/fdroidserver!1659
2025-06-16 17:25:09 +00:00
Hans-Christoph Steiner
494d811846
update: If cateogories.yml only has icon:, then add name:
...
E.g. if _categories.yml_ is like:
```yaml
Time:
icon: time.png
```
2025-06-16 17:13:48 +00:00
Hans-Christoph Steiner
964861eb68
Merge branch 'polish-pylint' into 'master'
...
polish pylint
See merge request fdroid/fdroidserver!1637
2025-06-16 17:13:27 +00:00
linsui
8c14e44f63
gitlab-ci: show pylint output in log when it fails
2025-06-16 17:08:38 +00:00
Hans-Christoph Steiner
e1a8e1a08a
pylint: use default good-names list
2025-06-16 17:08:38 +00:00
Hans-Christoph Steiner
d5bc7a6942
let pylint choose how many CPUs to use
2025-06-16 17:08:38 +00:00
Jochen Sprickerhof
78e6b8f04c
Merge branch 'strip-and-copy-check-by-time' into 'master'
...
update: use ctime/mtime to control _strip_and_copy_image runs
See merge request fdroid/fdroidserver!1665
2025-06-11 19:26:03 +00:00
Hans-Christoph Steiner
59102fb07f
update: use ctime/mtime to control _strip_and_copy_image runs
...
Oftentimes, the file that is copied is stripped, in which case, the file
size is different. Using a file size check here means it will rerun the
strip and copy every time `fdroid update` is run for any image that needs
to be stripped. If the source's ctime is newer than the destination, then
the process should run since it is a newly created file. Even more so with
mtime, since the destination's mtime is reset based on the source's.
2025-06-11 17:33:34 +02:00
Hans-Christoph Steiner
3cb6078059
Merge branch 'lazyconfig' into 'master'
...
Lazyload environment variables in config.yml
See merge request fdroid/fdroidserver!1645
2025-06-11 13:02:09 +00:00
linsui
cd1630d2f5
Lazyload environment variables in config.yml
2025-06-11 13:02:09 +00:00
linsui
e44fd22199
Merge branch 'gradle' into 'master'
...
gradlew-fdroid: update AGP required gradle version
See merge request fdroid/fdroidserver!1661
2025-06-10 17:33:49 +00:00
linsui
69003ae65b
gradlew-fdroid: update AGP required gradle version
2025-06-10 17:18:35 +00:00
Hans-Christoph Steiner
d4a71cd572
Merge branch 'two-fixes-for-tests' into 'master'
...
two fixes for the tests
See merge request fdroid/fdroidserver!1657
2025-06-10 17:14:21 +00:00
Hans-Christoph Steiner
721de49104
make_website: only parse repo_pubkey if its needed
...
This makes writing tests a lot easier, since the test cases no longer need
to provide a value for `repo_pubkey:`.
2025-06-08 20:12:04 +00:00
Hans-Christoph Steiner
677301bc8a
gitlab-ci: make gradle job show files with trigger it
...
For some reason, this logic thinks that this merge request has changed
makebuildserver and/or gradlew-fdroid, though it clearly has not. This
should shed some light on it.
https://gitlab.com/fdroid/fdroidserver/-/jobs/9835383262
2025-06-08 20:12:04 +00:00
linsui
f281068cbf
Merge branch 'gradle8142' into 'master'
...
gradle 8.14.2
See merge request fdroid/fdroidserver!1663
2025-06-08 07:14:18 +00:00
Licaon_Kter
e98f0966e0
gradle 8.14.2
2025-06-08 09:31:16 +03:00
linsui
0885cf3b49
Merge branch 'gradle8141' into 'master'
...
gradle - 8.14.1
See merge request fdroid/fdroidserver!1660
2025-05-24 07:32:06 +00:00
Licaon_Kter
c70af2503c
gradle - 8.14.1
2025-05-24 09:36:38 +03:00
Hans-Christoph Steiner
bd10ee73c1
Merge branch 'deprecate_bzr_svn' into 'master'
...
Deprecate bzr, hg and git-svn support (attack surface)
See merge request fdroid/fdroidserver!1656
2025-05-23 07:15:12 +00:00
Jochen Sprickerhof
cfc848771d
Deprecate bzr, hg and git-svn support (attack surface)
2025-05-23 07:14:42 +00:00
Michael Pöhn
ac90d11906
Merge branch 'funding-manifest-urls' into 'master'
...
💸 add .well-known/funding-manifest-urls
See merge request fdroid/fdroidserver!1658
2025-05-22 15:31:33 +00:00
Michael Pöhn
7cf1cd1f4c
💸 add .well-known/funding-manifest-urls
...
This is used by floss.fund to automatically verify that a repository is
indeed owned by the author of the corresponding funding.json file.
2025-05-22 17:29:50 +02:00
Hans-Christoph Steiner
2a939bf87f
Merge branch 'flavor' into 'master'
...
update: match fastlane flavor with all combinations
See merge request fdroid/fdroidserver!1647
2025-05-22 12:59:26 +00:00
linsui
a5d966bf0f
calculate all combinations of gradle flavors
2025-05-22 12:24:33 +02:00
linsui
e957583337
common: add calculate_gradle_flavor_combination
2025-05-22 12:24:32 +02:00
linsui
6c054f62ca
flavour -> flavor
2025-05-22 12:16:43 +02:00
Hans-Christoph Steiner
0ac750463f
Merge branch 'checkupdate' into 'master'
...
checkupdates: set push ref to HEAD:refs/heads/branch_name
See merge request fdroid/fdroidserver!1638
2025-05-22 10:13:23 +00:00
Hans-Christoph Steiner
8c9b0b3a2a
add test case
2025-05-22 12:12:24 +02:00
linsui
243a0475f9
checkupdates: don't create branch with .lock end
2025-05-22 12:12:24 +02:00
linsui
e538c34c32
checkupdates: set push ref to HEAD:refs/heads/branch_name
2025-05-22 12:12:24 +02:00
Hans-Christoph Steiner
e7060011aa
Merge branch 'triple-t' into 'master'
...
Fix handling of Triple-T 1.0.0 graphics
Closes #1260
See merge request fdroid/fdroidserver!1652
2025-05-22 10:11:25 +00:00
Leo Heitmann Ruiz
5f534ea2cb
Add test case for Triple-T 1.0.0 graphics
2025-05-22 11:57:57 +02:00
Leo Heitmann Ruiz
ffd4274503
Fix handling of Triple-T 1.0.0 graphics
...
Unlike screenshots, the featureGraphic, icon, promoGraphic, and tvBanner
should be placed directly in the locale directory instead of in a
dedicated subdirectory (in the F-Droid metadata structure). For version
1.0.0 of the Triple-T structure this currently isn't done. Instead, the
graphics are treated as screenshots are.
To illustrate:
en-US/listing/icon/icon.png
en-US/listing/featureGraphic/play_store_feature_graphic.png
Should end up as:
en-US/icon.png
en-US/featureGraphic.png
But instead they currently end up as:
en-US/icon/icon.png
en-US/featureGraphic/play_store_feature_graphic.png
This patch should fix it.
It seems the erroneous behavior was introduced in
a4169484fdf67fb2644d3824227498cc75b6367e
Closes #1260
2025-05-21 16:57:35 +00:00