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
Hans-Christoph Steiner
52b802517f
gitlab-ci: fix broken logic for running publish when signatures are there
...
!8834
92f77359dd
2021-04-21 11:20:12 +02:00
Hans-Christoph Steiner
92f77359dd
gitlab-ci: fdroid build job fully handles reproducible builds
...
metadata/*/signatures/* are used for reproducible builds. If those files
change, then `fdroid build` should run and try to build the app with those
signature files. Also, `fdroid publish` needs to run to copy those
signature files to complete the test of reproducibility. Builds that use
the `Binaries:` method are already verified as part of `fdroid build`.
fdroidserver!893
fdroidserver#891
fdroiddata!8816
2021-04-20 10:22:56 +02:00
Hans-Christoph Steiner
438681c771
gitlab-ci: check for signatures without build entries
2021-04-15 17:44:00 +02:00
Hans-Christoph Steiner
5d9101bd33
gitlab-ci: prototype setup for NDK runs
2021-03-10 19:02:46 +01:00
linsui
0bacae2332
fix issuebot trigger
2021-03-07 16:17:30 +00:00
Hans-Christoph Steiner
d2b85073d7
create metadata for com.manuelvargastapia.libgen
...
add fastlane structure
2020-12-22 16:20:35 +00:00
Hans-Christoph Steiner
6d26432439
gitlab-ci: schedule issuebot to review on merge requests that need it
...
This looks through all open merge requests to see if issuebo has run on
them yet. If a merge request needs an issuebot review, this will send the
trigger to start the job on fdroid/fdroiddata per merge request.
2020-12-17 11:35:54 +01:00
Hans-Christoph Steiner
91d80a5a1c
fix tools/fdroid_fetchsrclibs.py to use fdroidserver 2.0 API
...
fdroid/fdroidserver!838
2020-12-15 22:26:48 +01:00
Hans-Christoph Steiner
cc10a30c1a
gitlab-ci: fix fdroid_fetchsrclibs.py for fdroidserver 2.0 API
...
Thanks @IzzySoft for reporting.
2020-12-12 22:30:24 +01:00
Hans-Christoph Steiner
eff041ccfa
gitlab-ci: improved logging for trigger-issuebot
2020-12-10 16:15:50 +01:00
Hans-Christoph Steiner
2574e6ee78
trigger-issuebot: print a dot per search attempt
2020-12-04 14:20:17 +01:00
Hans-Christoph Steiner
3658328a00
tools/trigger-issuebot: throw errors if required env vars are not set
2020-12-02 23:51:05 +01:00
Hans-Christoph Steiner
e3a48e6dfd
use cleaner working dir selection in check scripts
2020-11-17 19:08:22 +01:00
Hans-Christoph Steiner
0512044643
tools/find-changed-builds.py: normalize code with pyflakes3/black -S
2020-07-02 12:06:34 +02:00
Hans-Christoph Steiner
11a7290a48
gitlab-ci: fix fdroid build for new metadata files
...
!6845
2020-06-25 21:22:21 +02:00
Hans-Christoph Steiner
07e70de82e
gitlab-ci: make 'fdroid build' job fetch srclibs
...
This uses @uniqx's awesome new 'plugin' feature to create a 'fetchsrclibs`
command. The 'fdroid build' gitlab-ci job uses --on-server, which does not
set up the srclibs. This plugin does the missing setup.
2020-06-25 20:36:09 +02:00
Hans-Christoph Steiner
8d99dfd3c6
gitlab-ci: only run fdroid build on changed build entries
2020-06-23 08:58:57 +02:00
Hans-Christoph Steiner
979d42858e
gitlab-ci: improve issuebot trigger for merge requests
...
This should hopefully provide reliable triggering for issuebot on merge
requests. Before, detecting the merge request number was happening on the
receiving side, and it had weird issues.
2020-06-18 18:59:45 +02:00
Hans-Christoph Steiner
6d9777c134
gitlab-ci: check git repo availability for metadata and srclibs MRs
...
This also ports check-git-repo-availability.py to Debian/stretch for the
buildserver image.
2020-06-02 17:12:24 +02:00
Hans-Christoph Steiner
ce0969d18b
gitlab-ci: make merge requests trigger issuebot
2020-05-21 11:55:04 +02:00
Hans-Christoph Steiner
9f80bf2a9e
tools/rewrite-git-redirects.py: use canonical gitlab URLs for Repo:
...
```console
$ git clone https://gitlab.com/fdroid/ci-images-base.git
Cloning into 'ci-images-base'...
remote: Enumerating objects: 89, done.
remote: Counting objects: 100% (89/89), done.
remote: Compressing objects: 100% (50/50), done.
remote: Total 89 (delta 51), reused 68 (delta 39)
Unpacking objects: 100% (89/89), done.
$ rm -rf ci-images-base/
$ git clone https://gitlab.com/fdroid/ci-images-base
Cloning into 'ci-images-base'...
warning: redirecting to https://gitlab.com/fdroid/ci-images-base.git/
remote: Enumerating objects: 89, done.
remote: Counting objects: 100% (89/89), done.
remote: Compressing objects: 100% (50/50), done.
remote: Total 89 (delta 51), reused 68 (delta 39)
Unpacking objects: 100% (89/89), done.
```
2019-10-03 13:58:55 +02:00
Hans-Christoph Steiner
9ccf886978
gitlab-ci: check active git repos to ensure they're available
...
This then edits the metadata file for apps with failing git repos, then
includes those edited files in the gitlab job artifacts.
fdroid/fdroiddata!5262
2019-08-26 11:24:17 +02:00
Hans-Christoph Steiner
180a6c93af
gitlab-ci: check that localized metadata is properly named
2019-05-10 13:37:18 +02:00
Hans-Christoph Steiner
ebb6baa3bd
standardize whitespace on localizable changelogs
...
This makes things work better when syncing with Weblate
2019-03-01 14:13:47 +01:00
Hans-Christoph Steiner
fc17514346
use selected upstream summaries and related translations
2019-02-27 23:28:09 +01:00
Hans-Christoph Steiner
83231f0bf7
standardize whitespace on localizable text files
...
This makes things work better when syncing with Weblate
2019-02-27 23:28:09 +01:00
Hans-Christoph Steiner
4c1c4c28bf
script to convert inline Summary to translatable file
...
https://forum.f-droid.org/t/translating-lots-of-app-summaries/
2019-02-27 23:28:08 +01:00
Hans-Christoph Steiner
19acd9e334
script to pre-compress all included graphics
2018-08-29 22:49:56 +02:00
Hans-Christoph Steiner
8dade6ece0
gitlab-ci: check if Application ID will cause keyalias collision
...
fdroid/fdroidserver#553
2018-08-29 22:49:51 +02:00
Hans-Christoph Steiner
d6e81e47bb
gitlab-ci: error if apps use insecure plain HTTP gradle repositories
...
It is very easy to mess up and include plain HTTP URLs for gradle
repositories, which can lead to gradle downloading code from HTTP and
immediately executing it. The fix is almost always changing "http:" to
"https:".
https://max.computer/blog/how-to-take-over-the-computer-of-any-java-or-clojure-or-scala-developer
2018-01-26 13:41:41 +01:00
Daniel Martí
d0ba17bb6f
Remove now broken google-code-moved script
...
I wrote this nearly a year ago, and it's recently been broken by the new
redirect that Google Code does. A few dozen apps were fixed thanks to
this, so it did its job.
If any devs still on Google Code after all this time want to update
their metadata, they can.
2016-03-07 22:31:55 +00:00
Daniel Martí
c1894d3e41
pre-commit hook: use lint -f
...
This avoids calling rewritemeta separately, which means parsing all the
metadata files once instead of twice.
This reduces the running time of the pre-commit script from ~3s to ~2s
on my machine.
2015-12-07 20:13:36 +01:00
Daniel Martí
4acc100ea1
Add lint to pre-commit hook
2015-10-05 11:37:14 +02:00
Daniel Martí
f9a55cb0af
Unify metadata checks in verify-rewritemeta.sh
2015-09-28 16:52:12 -07:00
Boris Kraut
7cd8622726
Use bash for verify script
2015-09-25 13:11:49 +02:00
Daniel Martí
97ddab86bf
verify-rewritemeta: use rewritemeta -l
...
This keeps it from having to modify the files on metadata/.
2015-09-24 22:55:26 -07:00
Daniel Martí
cbf2de9caa
CI: check formatting via rewritemeta
2015-09-11 18:37:56 -07:00
Daniel Martí
3975b6933d
google-code-moved: ignore weird google login links
2015-08-28 15:30:56 -07:00
Daniel Martí
7b7ee633dd
google-code-moved: support pages that directly redirect
2015-08-28 14:58:23 -07:00
Daniel Martí
4c420571b4
google-code-moved: don't be so verbose
2015-08-27 21:00:15 -07:00
Daniel Martí
43ad1b5da0
google-code-moved: count apps left
2015-08-27 12:01:55 -07:00
Daniel Martí
bd83f3ea22
google-code-moved: shuffle lines
...
This way we get the results don't pile at the end
2015-08-26 18:49:53 -07:00
Daniel Martí
ea51f477eb
https urls are now enforced by lint
2015-08-18 17:57:01 -07:00
Daniel Martí
b951157ce0
Remove all trailing spaces
2015-08-17 22:21:03 -07:00