convert templates to yaml (closes #1330)
This commit is contained in:
parent
39b40bf93a
commit
9429e91f6b
|
@ -42,7 +42,7 @@ If the app is on GitHub, GitLab or Bitbucket, use `fdroid import`:
|
||||||
|
|
||||||
Alternatively, start the metadata file from scratch:
|
Alternatively, start the metadata file from scratch:
|
||||||
|
|
||||||
cp templates/app-minimal metadata/app.id.txt
|
cp templates/app-full metadata/app.id.yml
|
||||||
|
|
||||||
Now that the file is created, you need to fill up all the app information and
|
Now that the file is created, you need to fill up all the app information and
|
||||||
add a working build recipe.
|
add a working build recipe.
|
||||||
|
|
|
@ -4,14 +4,15 @@
|
||||||
#
|
#
|
||||||
# Fields that are commented out are optional
|
# Fields that are commented out are optional
|
||||||
#
|
#
|
||||||
# Single-line fields start right after the colon (without whitespace).
|
# Single-line fields start right after the colon (with a whitespace).
|
||||||
|
|
||||||
Categories:(comma-separated)
|
Categories:
|
||||||
License:
|
- First
|
||||||
|
License: (identifier from https://spdx.org/licenses)
|
||||||
|
|
||||||
Web Site:(web link)
|
# Website: (web link)
|
||||||
SourceCode: (web link)
|
SourceCode: (web link)
|
||||||
Issue Tracker:(web link)
|
# IssueTracker: (web link)
|
||||||
|
|
||||||
# Changelog: (web link)
|
# Changelog: (web link)
|
||||||
# Donate: (web link)
|
# Donate: (web link)
|
||||||
|
@ -20,9 +21,10 @@ Issue Tracker:(web link)
|
||||||
# Bitcoin: (bitcoin address)
|
# Bitcoin: (bitcoin address)
|
||||||
|
|
||||||
Summary: (one sentence, no more than 30-50 chars, no trailing punctuation)
|
Summary: (one sentence, no more than 30-50 chars, no trailing punctuation)
|
||||||
Description:
|
Description: |-
|
||||||
Description of what the app does, starting on a new line. It should be as
|
Description of what the app does, starting on a new line. It should be as
|
||||||
objective as possible and wrapped at 80 chars (except links and list items).
|
objective as possible and wrapped at 80 chars (except links and list
|
||||||
|
items).
|
||||||
|
|
||||||
A blank line means a line break, i.e. the end of a paragraph.
|
A blank line means a line break, i.e. the end of a paragraph.
|
||||||
|
|
||||||
|
@ -36,27 +38,28 @@ Links can be added like this:
|
||||||
|
|
||||||
Links to other apps too: [[some.other.app]]
|
Links to other apps too: [[some.other.app]]
|
||||||
|
|
||||||
To close a multiline field, add a new line with only a dot.
|
|
||||||
.
|
|
||||||
|
|
||||||
RepoType: (git, git-svn, svn, hg or bzr)
|
RepoType: (git, git-svn, svn, hg or bzr)
|
||||||
Repo: (repo url, preferably https)
|
Repo: (repo url, preferably https)
|
||||||
|
|
||||||
# At least one for new apps
|
# At least one for new apps
|
||||||
Build:<version>,<version code>
|
Builds:
|
||||||
commit=<tag/commit/rev>
|
- versionName: 1.0
|
||||||
# [...]
|
versionCode: 1
|
||||||
#
|
commit: v1.0
|
||||||
|
subdir: app
|
||||||
|
# submodules: true
|
||||||
|
gradle:
|
||||||
|
- yes
|
||||||
|
# output: some.apk
|
||||||
|
# prebuild: sed -i -e
|
||||||
|
|
||||||
# For a complete list of possible flags, see the manual
|
# For a complete list of possible flags, see the manual
|
||||||
|
|
||||||
# Maintainer Notes:
|
# MaintainerNotes: |-
|
||||||
# Here go the notes to take into account for future updates, builds, etc.
|
# Here go the notes to take into account for future updates, builds, etc.
|
||||||
# Will be published in the wiki if present.
|
# Will be published in the wiki if present.
|
||||||
# .
|
|
||||||
|
|
||||||
AutoUpdateMode: (see the manual)
|
AutoUpdateMode: (see the manual)
|
||||||
UpdateCheckMode: (see the manual)
|
UpdateCheckMode: (see the manual)
|
||||||
CurrentVersion: (current version name)
|
CurrentVersion: (current version name)
|
||||||
CurrentVersionCode: (current version code, i.e. number)
|
CurrentVersionCode: (current version code, i.e. number)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,18 +1,18 @@
|
||||||
Categories:
|
Categories:
|
||||||
|
-
|
||||||
License:
|
License:
|
||||||
Web Site:
|
Website:
|
||||||
SourceCode:
|
SourceCode:
|
||||||
IssueTracker:
|
IssueTracker:
|
||||||
|
|
||||||
Summary:
|
Summary:
|
||||||
Description:
|
Description: |-
|
||||||
.
|
|
||||||
|
|
||||||
RepoType:
|
RepoType:
|
||||||
Repo:
|
Repo:
|
||||||
|
|
||||||
Build:
|
Builds:
|
||||||
commit=
|
- commit:
|
||||||
|
|
||||||
UpdateCheckMode:
|
UpdateCheckMode:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue