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
62 lines
1.8 KiB
YAML
62 lines
1.8 KiB
YAML
AntiFeatures:
|
|
- UpstreamNonFree
|
|
Categories:
|
|
- Navigation
|
|
License: GPL-3.0-only
|
|
SourceCode: https://github.com/aselalee/sl-train-schedule
|
|
IssueTracker: https://github.com/aselalee/sl-train-schedule/issues
|
|
|
|
AutoName: Train Schedule
|
|
Description: |-
|
|
A simple app to retrieve the Sri Lanka Railway train schedule by reading the
|
|
<a href="http://www.icta.lk">Information and Communication Technology Agency of Sri
|
|
Lanka</a>'s (ICTA) <a href="http://mobile.icta.lk/services/railwayservice">JSON API</a>. The
|
|
aim of this application is to retrieve the schedule as quickly as possible with
|
|
minimum user interactions.
|
|
|
|
A non-free analytics library was removed.
|
|
|
|
RepoType: git
|
|
Repo: https://github.com/aselalee/sl-train-schedule
|
|
|
|
Builds:
|
|
- versionName: '1.15'
|
|
versionCode: 115
|
|
commit: '141'
|
|
srclibs:
|
|
- NoAnalytics@158a4a
|
|
rm:
|
|
- libs/libGoogleAnalytics.jar
|
|
prebuild: echo "android.library.reference.1=$$NoAnalytics$$" >> project.properties
|
|
|
|
- versionName: '1.16'
|
|
versionCode: 116
|
|
commit: Release_116
|
|
srclibs:
|
|
- NoAnalytics@158a4a
|
|
rm:
|
|
- libs/libGoogleAnalytics.jar
|
|
prebuild: echo "android.library.reference.1=$$NoAnalytics$$" >> project.properties
|
|
|
|
- versionName: '1.18'
|
|
versionCode: 118
|
|
commit: Release_118
|
|
srclibs:
|
|
- NoAnalytics@158a4a
|
|
rm:
|
|
- libs/libGoogleAnalytics.jar
|
|
prebuild: echo "android.library.reference.1=$$NoAnalytics$$" >> project.properties
|
|
|
|
- versionName: '1.19'
|
|
versionCode: 119
|
|
commit: Release_119
|
|
srclibs:
|
|
- NoAnalytics@158a4a
|
|
rm:
|
|
- libs/libGoogleAnalytics.jar
|
|
prebuild: echo "android.library.reference.1=$$NoAnalytics$$" >> project.properties
|
|
|
|
AutoUpdateMode: None
|
|
UpdateCheckMode: Tags
|
|
CurrentVersion: '1.19'
|
|
CurrentVersionCode: 119
|