fdroiddata/metadata/com.danielme.muspyforandroid.yml
Hans-Christoph Steiner cf4e8a40ff convert all MediaWiki links to HTML links
```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
2020-12-09 19:10:44 +01:00

42 lines
1.2 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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
youll be notified when they have new recordings or gigs. Youll 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