fdroiddata/metadata/org.asdtm.fas.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

44 lines
1.1 KiB
YAML

AntiFeatures:
- NonFreeNet
Categories:
- Internet
License: GPL-3.0-or-later
SourceCode: https://github.com/qqq3/inventum
IssueTracker: https://github.com/qqq3/inventum/issues
Changelog: https://raw.githubusercontent.com/qqq3/inventum/HEAD/CHANGELOG
Bitcoin: 1FV8m1MKqZ9ZKB8YNwpsjsuubHTznJSiT8
AutoName: Inventum
Description: |-
Simple <a href="http://themoviedb.org/">TMDb</a> client.
Features:
* Different languages: English, Spanish, German, Polish, Belarusian, Russian
* Discover: Search for movies and TV shows by genres, min rating and etc
* Search: Search for movies, TV shows and persons with a text query
* Movies: Top rated, Upcoming, Now playing, Popular
* TV shows: Airing today, On the air, Popular, Top rated
RepoType: git
Repo: https://github.com/qqq3/inventum.git
Builds:
- versionName: '0.2'
versionCode: 2
commit: v0.2
subdir: app
gradle:
- yes
- versionName: '0.3'
versionCode: 3
commit: v0.3
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: '0.3'
CurrentVersionCode: 3