mirror of
https://github.com/sudoxnym/fdroiddata.git
synced 2026-07-26 16:54:09 +00:00
```python
import yaml, glob, re, os
from fdroidserver import metadata
pat = re.compile(r'\[(https?://[^ \]]+)\s+([^\]]+)\]')
for f in glob.glob('metadata/*.yml'):
with open(f) as fp:
data = yaml.load(fp)
description = data.get('Description', '')
for m in pat.finditer(data.get('Description', '')):
link = m.group(1)
text = m.group(2)
print(f, link, text, flush=True)
description = description.replace(m.group(), '<a href="%s">%s</a>' % (link, text))
data['Description'] = description
app = metadata.App(data)
metadata.write_metadata(f, app)
```
```
sed -i 's,^ - true, - yes,' metadata/*.yml
sed -i 's,^ - false, - no,' metadata/*.yml
```
closes fdroid-website#510
46 lines
1.1 KiB
YAML
46 lines
1.1 KiB
YAML
Categories:
|
|
- Games
|
|
License: GPL-3.0-only
|
|
SourceCode: https://github.com/Yonjuni/ExaltedDicer
|
|
IssueTracker: https://github.com/Yonjuni/ExaltedDicer/issues
|
|
|
|
AutoName: Exalted Dicer
|
|
Description: |-
|
|
Pool and damage dicing app for the pen and paper RPG
|
|
<a href="http://en.wikipedia.org/wiki/Exalted">Exalted</a>. It can roll a pool of maximum 42
|
|
dices with 10 sides each. The user can decide between damage and pool mode. It
|
|
counts successes and displays those or a botch.
|
|
|
|
RepoType: git
|
|
Repo: https://github.com/Yonjuni/ExaltedDicer.git
|
|
|
|
Builds:
|
|
- versionName: '1.3'
|
|
versionCode: 1
|
|
commit: 85d57f9eb31ea66882dc0e05df7ed0e98b3f07ce
|
|
|
|
- versionName: '2.0'
|
|
versionCode: 2
|
|
disable: gradle issues
|
|
commit: e176a4dc1f55f95af44984655b266852fbd291c4
|
|
gradle:
|
|
- yes
|
|
|
|
- versionName: '2.1'
|
|
versionCode: 3
|
|
commit: 3a3b4bb669caf6ce5cec0f5b3fa11cad41eb90ac
|
|
subdir: app
|
|
gradle:
|
|
- yes
|
|
|
|
- versionName: '2.2'
|
|
versionCode: 4
|
|
commit: 134b532639c2bc6f641a35b33e69225930e67e56
|
|
subdir: app
|
|
gradle:
|
|
- yes
|
|
|
|
AutoUpdateMode: None
|
|
UpdateCheckMode: RepoManifest
|
|
CurrentVersion: '2.2'
|
|
CurrentVersionCode: 4
|