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
31 lines
931 B
YAML
31 lines
931 B
YAML
Categories:
|
|
- Internet
|
|
License: Apache-2.0
|
|
SourceCode: https://github.com/tjoelsson/graphitoid
|
|
IssueTracker: https://github.com/tjoelsson/graphitoid/issues
|
|
|
|
AutoName: Graphitoid
|
|
Description: |-
|
|
A front end for <a href="http://graphite.wikidot.com/">Graphite</a>, a realtime graphing
|
|
server. Displays graphs and allows metrics filtering.
|
|
|
|
RepoType: git
|
|
Repo: https://github.com/tjoelsson/graphitoid.git
|
|
|
|
Builds:
|
|
- versionName: 2.1.2
|
|
versionCode: 6
|
|
disable: No resource identifier found for attribute 'indicator_gravity'
|
|
commit: a9683ec7f6c
|
|
srclibs:
|
|
- Tree-View-List@e3ff02613a2a
|
|
- DateSlider@14
|
|
prebuild:
|
|
- echo "android.library.reference.1=$$Tree-View-List$$" >> project.properties
|
|
- echo "android.library.reference.2=$$DateSlider$$" >> project.properties
|
|
target: android-15
|
|
|
|
AutoUpdateMode: None
|
|
UpdateCheckMode: RepoManifest
|
|
CurrentVersion: 2.1.2
|
|
CurrentVersionCode: 6
|