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
42 lines
1.2 KiB
YAML
42 lines
1.2 KiB
YAML
AntiFeatures:
|
||
- UpstreamNonFree
|
||
Categories:
|
||
- Multimedia
|
||
License: GPL-3.0-only
|
||
AuthorName: Daniel Medina
|
||
AuthorEmail: danielme_com@yahoo.com
|
||
AuthorWebSite: https://danielme.com/
|
||
WebSite: https://danielme.com/muspy-for-android
|
||
SourceCode: https://github.com/danielme-com/Muspy-for-Android
|
||
IssueTracker: https://github.com/danielme-com/Muspy-for-Android/issues
|
||
|
||
AutoName: Muspy for Android
|
||
Description: |-
|
||
Client for <a href="https://muspy.com">Muspy.com</a>; import your favourite artists and
|
||
you’ll be notified when they have new recordings or gigs. You’ll also get
|
||
associated links to Wikipedia et al. and see the album art.
|
||
|
||
Muspy.com is based on Muspy, AGPL software that checks <a href="http://musicbrainz.org">MusicBrainz</a>.
|
||
|
||
RepoType: git
|
||
Repo: https://github.com/danielme-com/Muspy-for-Android.git
|
||
|
||
Builds:
|
||
- versionName: '1.2'
|
||
versionCode: 3
|
||
commit: 826fa
|
||
|
||
- versionName: '2.0'
|
||
versionCode: 5
|
||
disable: crashlytics
|
||
commit: v2.0
|
||
subdir: app
|
||
gradle:
|
||
- yes
|
||
|
||
MaintainerNotes: Upstream force-pushed to repo. Now uses crashlytics.
|
||
|
||
AutoUpdateMode: None
|
||
UpdateCheckMode: Tags
|
||
CurrentVersion: 2.1.1
|
||
CurrentVersionCode: 7
|