Commit graph

98 commits

Author SHA1 Message Date
Hans-Christoph Steiner
15aa39d1a6 tools/check-git-repo-availability.py: softwareheritage URL when NoSourceSince 2025-11-12 08:43:57 +00:00
Hans-Christoph Steiner
bba2a364dd tools/check-git-repo-availability.py: only rewrite when Repo: clearly fails 2025-11-12 08:43:57 +00:00
linsui
65caf2ffcd tools/auto-merge.sh: improve 2025-09-21 13:01:09 +08:00
linsui
444a212b11 Fix tools/auto-merge.sh 2025-09-18 05:48:35 +00:00
linsui
99bd9bcd43 tool/keep-latest.sh: fix 2025-06-12 08:01:29 +00:00
linsui
d6ae748e35 tool/keep-latest.sh: only remove exist versions 2025-05-25 17:00:16 +08:00
Licaon_Kter
385474cf52 keep-latest - fix typo 2025-05-14 10:32:03 +00:00
linsui
a5f47065af tool/keep-latest: remove failed builds 2025-05-14 18:19:31 +08:00
linsui
282abb2843 tools/auto-merge: fix error handle 2025-05-09 14:01:04 +08:00
linsui
7531ad7fff tools: auto retry all gitlab queries 2025-05-06 14:26:54 +08:00
Hans-Christoph Steiner
f8c43708e7 move apk_signing_key_block_list into config.yml
* fdroidserver#1089
* !14982
* fdroidserver!1478
2025-04-11 15:13:54 +00:00
Hans-Christoph Steiner
a0d43a5afd check-metadata-summary-whitespace.py: Code Quality JSON output 2025-04-10 08:07:39 +00:00
Hans-Christoph Steiner
b82e0b0f57 check-exif-in-images.sh: Code Quality JSON output 2025-04-10 08:07:39 +00:00
Hans-Christoph Steiner
c1e19979da check-keyalias-collision.py: codequality JSON output 2025-04-10 08:07:39 +00:00
Hans-Christoph Steiner
0b3aaec700 check-for-unattached-signatures.py: codequality JSON output 2025-04-10 08:07:39 +00:00
linsui
f18b853466 improve auto-merge.sh 2025-03-31 14:12:32 +08:00
linsui
c00ac4e5bc lint: set archive_older 2024-12-12 22:49:27 +08:00
linsui
58a9fc1983 tool/merge-autoupdate.sh: increase page size 2024-11-23 14:14:40 +08:00
linsui
cc9b3e548d tools/merge-autoupdate.sh: fix typo 2024-11-17 15:23:02 +08:00
linsui
ad4cb55d8f tools/merge-autoupdate.sh: reduce api call 2024-11-15 15:35:13 +08:00
linsui
a9bf257684 tools/merge-autoupdate.sh: mark current version only MR as draft 2024-11-15 07:00:51 +00:00
linsui
0375e15126 tools/merge-autoupdate.sh: add label to bot MRs 2024-11-15 07:00:51 +00:00
linsui
a26af23a3f tools/merge-autoupdate.sh: skip draft 2024-11-15 07:00:51 +00:00
linsui
926aea88b7 toos/keep-latest.sh: use api instead of known apks commit 2024-11-08 22:39:21 +08:00
linsui
bcc10b9f2d CI: remove schedule-issuebot 2024-11-08 13:25:32 +00:00
linsui
3f902c1da4 Add a script to merge MRs from bot in batch 2024-10-31 13:58:21 +08:00
linsui
23a4baf591 keep-latest script: only check added and modified files 2024-09-16 00:21:52 +08:00
linsui
d57c55cfb9 keep-latest script: skip no auto update apps 2024-09-11 13:23:46 +00:00
linsui
391aa66a90 keep-latest script: fix log format 2024-09-11 11:44:33 +08:00
linsui
6c560ab5fa keep-latest script: full match removed versions 2024-09-10 21:39:06 +08:00
linsui
4c80f513f5 keep-latest script: print commit hashes 2024-09-10 20:13:48 +08:00
linsui
fc0294326d tools: add keep-latest script 2024-09-10 20:08:02 +08:00
linsui
db0946b00c CI: add apk_signing_key_block_list config for lint 2024-05-08 12:48:33 +00:00
linsui
67268cb3bf make-summary-translatable.py: ArchivePolicy is int 2023-06-02 14:06:32 +08:00
Hans-Christoph Steiner
63f77186ce tools/rewrite-git-redirects.py: also handle srclibs 2023-03-23 17:31:00 +00:00
Hans-Christoph Steiner
33481756ef gitlab-ci: add job to check if Repo URL is a redirect
We need a strong link between the source repo URL and our buildserver. HTTP
redirects have a number of issues, and are unnecessary in our use case.
Once this is complete, then the buildserver can set http.followRedirects to
false, and we could also set the buildserver to fetch source over Tor to
avoid targetting it.  Right now, gitlab.com only allows git fetches over
Tor if it is hitting a direct URL.  gitlab.com/s redirect logic will
trigger Cloudflare captures otherwise.

* https://bugs.debian.org/79002
* https://www.debian.org/security/2019/dsa-4371
* https://googleprojectzero.github.io/0days-in-the-wild//0day-RCAs/2021/CVE-2021-38000.html
* fdroidclient#1041
2023-03-20 17:07:37 +00:00
Hans-Christoph Steiner
8e62cba28c gitlab-ci: run tools/make-summary-translatable.py 2022-10-11 10:03:40 +00:00
Jochen Sprickerhof
07a02b008d Recover --name-only and properly fix Python 3.5 syntax 2022-09-20 07:34:10 +00:00
proletarius101
32c6369dc1 optimize trigger-issuebot 2022-08-02 15:42:00 +00:00
proletarius101
834f03dfac
fix python 3.5 syntax 2022-07-12 22:50:33 +08:00
proletarius101
307ef3f6a1 ignore disabled changed builds in ci 2022-07-12 14:08:55 +00:00
proletarius101
d71cd481a5 align changed builds detection's target & source refs 2022-07-12 14:08:46 +00:00
proletarius101
703fa06277
fix find-changed-builds.py 2022-07-10 23:24:46 +08:00
Hans-Christoph Steiner
7c98192b77
tools/: use safe yaml loading
YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as
the default Loader is unsafe. Please read https://msg.pyyaml.org/load for
full details.
2022-06-17 10:05:29 +02:00
Jochen Sprickerhof
19a9366457 check-git-repo-avail ignore NoSourceSince
Apps that have NoSourceSince don't need a Repo:.
2021-10-23 19:58:47 +00:00
FestplattenSchnitzel
141d71ba44 Format Python tools with Black 2021-08-02 17:23:33 +00:00
FestplattenSchnitzel
ea5bf01a8f Refactor tools, optimize imports, misc fixes 2021-08-02 17:23:33 +00:00
FestplattenSchnitzel
67e15e262c Add tools/README.md 2021-08-02 17:23:33 +00:00
Hans-Christoph Steiner
290039dcc5
gitlab-ci: use built-in NDK download/install in fdroid build
This is now handled as part of `fdroid build --onserver`.

https://gitlab.com/fdroid/fdroidserver/-/merge_requests/919
2021-05-25 17:11:07 +02:00
Hans-Christoph Steiner
5ba7220802
tools/fix-ellipsis.sh: standardize to keep translation merges easy 2021-04-29 16:05:35 +02:00