mirror of
https://github.com/sudoxnym/fdroiddata.git
synced 2026-04-14 19:46:54 +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
33 lines
904 B
YAML
33 lines
904 B
YAML
Categories:
|
|
- Multimedia
|
|
License: Apache-2.0
|
|
SourceCode: https://github.com/ikew0ng/Dribbo
|
|
IssueTracker: https://github.com/ikew0ng/Dribbo/issues
|
|
|
|
AutoName: Driibo
|
|
Description: Browse the <a href="https://dribbble.com/">Dribble</a> site for artworks.
|
|
|
|
RepoType: git
|
|
Repo: https://github.com/ikew0ng/Dribbo
|
|
|
|
Builds:
|
|
- versionName: v1.3.0
|
|
versionCode: 3
|
|
commit: 3094061878f244137a5dea0a276a7bb9674146e0
|
|
subdir: Driibo
|
|
gradle:
|
|
- yes
|
|
rm:
|
|
- Driibo/libs/*
|
|
prebuild: sed -i -e '/support-v4/acompile "com.mcxiaoke.volley:library:1.0.16"'
|
|
-e '/compile files/d' build.gradle
|
|
|
|
MaintainerNotes: |-
|
|
* No update checks, because variables are used in gradle. Manifest at 1.0 (1).
|
|
* https://github.com/ikew0ng/Dribbo/issues/9
|
|
* https://github.com/ikew0ng/Dribbo/issues/8
|
|
|
|
AutoUpdateMode: None
|
|
UpdateCheckMode: None
|
|
CurrentVersion: v1.3.0
|
|
CurrentVersionCode: 3
|