fdroiddata/metadata/com.dirkgassen.wator.yml
Hans-Christoph Steiner 6dc775b236
rewrite all .txt with 'Auto Update Mode:None' (a-c)
```bash
for f in `grep --files-with-matches 'Auto Update Mode:None' metadata/*.txt |sed 's,^metadata/\(.*\)\.txt$,\1,'`; do echo $f; done >  /tmp/rewrite
fdroid rewritemeta --to yml `cat /tmp/rewrite`
for f in `cat /tmp/rewrite`; do git rm -f metadata/${f}.txt; git add metadata/${f}.yml; done
```
2019-08-19 13:13:47 +02:00

57 lines
1.7 KiB
YAML

Categories:
- Games
- Science & Education
License: GPL-3.0-or-later
WebSite: http://www.dirkgassen.com/projects/wator
SourceCode: https://github.com/aperifons/Wa-Tor
IssueTracker: https://github.com/aperifons/Wa-Tor/issues
AutoName: Wa-Tor
Summary: A simple population dynamics simulator
Description: |-
Wa-Tor simulates a torus (or donut shaped) world with two species: shark and
fish. The fish happily reproduce while the shark need to eat fish to survive.
Wa-Tor was devised by Alexander Keewatin Dewdney and originally presented in the
December 1984 issue of Scientific American.
RepoType: git
Repo: https://github.com/aperifons/Wa-Tor
Builds:
- versionName: '1.1'
versionCode: 1001000
commit: v1.1
subdir: app
gradle:
- yes
prebuild: sed -e 's/git.status().isClean()/true/' build.gradle -i
- versionName: '1.2'
versionCode: 1002000
commit: v1.2
subdir: app
gradle:
- yes
prebuild: sed -e 's/git.status().isClean()/true/' build.gradle -i
MaintainerNotes: |-
The project automatically calculates the version code from the
last tag (see "git describe --tags --dirty"). The tag format
is "v<major>.<minor>". The generated version code is calculated as:
(major * 1000 + minor) * 1000 + addlCommits * 2 + dirty
where "addlCommits" is the number of commits since the tag.
"dirty" is 1 if there are uncommitted changes.
Since fdroid patches the build.gradle file "dirty" would always
be 1 (not desired), so the prebuild command patches the
build.gradle file to ignore the "dirty" status.
The "preBuild" task should output the versionCode and
versionName.
AutoUpdateMode: None
UpdateCheckMode: None
CurrentVersion: '1.2'
CurrentVersionCode: 1002000