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
79 lines
1.8 KiB
YAML
79 lines
1.8 KiB
YAML
AntiFeatures:
|
|
- NonFreeAdd
|
|
- NonFreeNet
|
|
Categories:
|
|
- System
|
|
License: Apache-2.0
|
|
AuthorName: Matthias Urhahn
|
|
AuthorEmail: darken@darken.eu
|
|
AuthorWebSite: https://darken.eu/
|
|
SourceCode: https://github.com/d4rken/reddit-android-appstore
|
|
IssueTracker: https://github.com/d4rken/reddit-android-appstore/issues
|
|
Changelog: https://github.com/d4rken/reddit-android-appstore/releases
|
|
|
|
AutoName: /r/Android App store
|
|
Description: |-
|
|
App inspired by this
|
|
<a href="https://www.reddit.com/r/Android/comments/50rafp/meta_we_have_an_app_wiki_with_over_700_apps_made/
|
|
reddit">post</a>
|
|
|
|
Pulls the curated app list from the <a href="https://www.reddit.com/r/android/wiki/apps
|
|
/r/Android">wiki</a> and displays it.
|
|
|
|
As it offers non free apps as well, this app has the non free addon antifeature.
|
|
|
|
RepoType: git
|
|
Repo: https://github.com/d4rken/reddit-android-appstore.git
|
|
|
|
Builds:
|
|
- versionName: 0.3.1
|
|
versionCode: 3100
|
|
commit: v0.3.1
|
|
subdir: app
|
|
gradle:
|
|
- yes
|
|
|
|
- versionName: 0.4.0
|
|
versionCode: 4000
|
|
disable: dontbuild
|
|
commit: v0.4.0
|
|
subdir: app
|
|
gradle:
|
|
- yes
|
|
|
|
- versionName: 0.5.0
|
|
versionCode: 5000
|
|
disable: dontbuild
|
|
commit: v0.5.0
|
|
subdir: app
|
|
gradle:
|
|
- yes
|
|
|
|
- versionName: 0.6.0
|
|
versionCode: 6000
|
|
commit: 3e75392cc112a48198bcb82b36ac045aa348c9e4
|
|
subdir: app
|
|
gradle:
|
|
- yes
|
|
|
|
- versionName: 0.7.1
|
|
versionCode: 7100
|
|
commit: v0.7.1
|
|
subdir: app
|
|
gradle:
|
|
- yes
|
|
|
|
- versionName: 0.9.2
|
|
versionCode: 9200
|
|
commit: v0.9.2
|
|
subdir: app
|
|
gradle:
|
|
- prod
|
|
prebuild: sed -i -e '/variant.outputs.each/,/}$/d' build.gradle
|
|
|
|
MaintainerNotes: Version and VC are generated on build, no way to check for updates.
|
|
|
|
AutoUpdateMode: None
|
|
UpdateCheckMode: Tags
|
|
CurrentVersion: 0.9.2
|
|
CurrentVersionCode: 9200
|