mirror of
https://github.com/sudoxnym/fdroiddata.git
synced 2026-07-27 09:09:58 +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
68 lines
1.4 KiB
YAML
68 lines
1.4 KiB
YAML
AntiFeatures:
|
|
- NonFreeNet
|
|
Categories:
|
|
- Internet
|
|
License: Apache-2.0
|
|
SourceCode: https://github.com/jparkie/GivesMeHopeAndroidClient
|
|
IssueTracker: https://github.com/jparkie/GivesMeHopeAndroidClient/issues
|
|
|
|
AutoName: Anthology for Gives Me Hope
|
|
Summary: Unofficial "Gives Me Hope" client
|
|
Description: Unofficial client for <a href="http://mobile.givesmehope.com/">Gives
|
|
me hope</a>.
|
|
|
|
RepoType: git
|
|
Repo: https://github.com/jparkie/GivesMeHopeAndroidClient
|
|
|
|
Builds:
|
|
- versionName: '1.0'
|
|
versionCode: 1
|
|
commit: b278acfe2e4bbd611448b97012de81729fe1a431
|
|
subdir: app
|
|
gradle:
|
|
- yes
|
|
rm:
|
|
- app/libs/*
|
|
prebuild: sed -i -e '/fileTree/acompile "org.jsoup:jsoup:1.8.1"' build.gradle
|
|
|
|
- versionName: '1.0'
|
|
versionCode: 2
|
|
commit: 4ce49fac339782373dcb289dede907e1c99d7823
|
|
subdir: app
|
|
gradle:
|
|
- yes
|
|
rm:
|
|
- app/libs/*
|
|
|
|
- versionName: 2.0.1
|
|
versionCode: 4
|
|
commit: d6515762493117451742bb598a4a18b2ffbbf455
|
|
subdir: app
|
|
gradle:
|
|
- yes
|
|
rm:
|
|
- app/libs/*
|
|
|
|
- versionName: 2.0.2
|
|
versionCode: 5
|
|
commit: 0fd5dc34edb403ad250f5ed29e894114eb894912
|
|
subdir: app
|
|
gradle:
|
|
- yes
|
|
rm:
|
|
- app/libs/*
|
|
|
|
- versionName: 2.0.3
|
|
versionCode: 6
|
|
commit: 88e5bf52da2d0132584488b14f576e78de9939d0
|
|
subdir: app
|
|
gradle:
|
|
- yes
|
|
rm:
|
|
- app/libs/*
|
|
|
|
ArchivePolicy: 0 versions
|
|
AutoUpdateMode: None
|
|
UpdateCheckMode: None
|
|
CurrentVersion: 2.0.3
|
|
CurrentVersionCode: 6
|