Skip to content

Commit 83cb902

Browse files
committed
Canonicalize fdroiddata recipe; verified with fdroid lint
1 parent 6098caa commit 83cb902

2 files changed

Lines changed: 14 additions & 7 deletions

File tree

docs/fdroid-metadata/README.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,19 @@ The **store listing** (title, descriptions, screenshots, icon) is NOT in this
2828
file — F-Droid reads it from the Fastlane tree at `fastlane/metadata/android/`
2929
on the repo's default branch, which is already committed.
3030

31-
## Before submitting: lint locally
31+
## Validation status
3232

33-
`fdroidserver` is required to normalise and validate the recipe. It is not
34-
assumed to be installed; install it first (Debian/Ubuntu:
35-
`sudo apt install fdroidserver`, or `pip install fdroidserver`), then from a
36-
clone of your fdroiddata fork:
33+
This recipe was checked with `fdroidserver` 2.4.5 inside a real `fdroiddata`
34+
clone (its `config/categories.yml` is needed for category validation):
35+
36+
- `fdroid lint app.linkclear` -> **clean** (exit 0). `Internet` and `Security`
37+
are valid categories in the current F-Droid category set.
38+
- `fdroid rewritemeta app.linkclear` -> **clean**; the file here is already in
39+
canonical form (single-quoted version strings), so it will not be rewritten.
40+
41+
Re-run these before the MR in case F-Droid's policy or category set has changed
42+
since. Install the tool with `pipx install fdroidserver` (or
43+
`pip install fdroidserver`), then from a clone of your fdroiddata fork:
3744

3845
```sh
3946
cp app.linkclear.yml metadata/app.linkclear.yml

docs/fdroid-metadata/app.linkclear.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ RepoType: git
1414
Repo: https://github.com/kisst/link-clear.git
1515

1616
Builds:
17-
- versionName: "1.0"
17+
- versionName: '1.0'
1818
versionCode: 1
1919
commit: v1.0.0
2020
subdir: app
@@ -23,5 +23,5 @@ Builds:
2323

2424
AutoUpdateMode: Version v%v.0
2525
UpdateCheckMode: Tags
26-
CurrentVersion: "1.0"
26+
CurrentVersion: '1.0'
2727
CurrentVersionCode: 1

0 commit comments

Comments
 (0)