mirror of
https://github.com/sudoxnym/fdroiddata.git
synced 2026-04-15 03:57:13 +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
36 lines
1.1 KiB
YAML
36 lines
1.1 KiB
YAML
Categories:
|
|
- Navigation
|
|
License: Apache-2.0
|
|
WebSite: https://code.google.com/p/geobeagle
|
|
SourceCode: https://code.google.com/p/geobeagle/source
|
|
|
|
AutoName: GeoBeagle
|
|
Description: |-
|
|
Geocaches are objects that have been hidden in the real world; the game of
|
|
geocaching is finding these objects around you.
|
|
|
|
Jacob Paulsen did a
|
|
<a href="http://androidsocialmedia.com/apps/geobeagle-geocaching-android-style">YouTube
|
|
video</a> featuring GeoBeagle.
|
|
|
|
RepoType: hg
|
|
Repo: https://code.google.com/p/geobeagle
|
|
|
|
Builds:
|
|
- versionName: 1.4.15
|
|
versionCode: 206
|
|
disable: wip a868e85b7acf
|
|
commit: unknown - see disabled
|
|
subdir: trunk/GeoBeagle
|
|
extlibs:
|
|
- roboguice/roboguice-1.1.jar
|
|
prebuild:
|
|
- cp -r factory/com/google/code/geobeagle src/com/google/code/geobeagle/
|
|
- cp -r factory/roboguice/util/ src/com/google/code/geobeagle/
|
|
- sed -i 's/<uses-library android:name="com.google.android.maps" \/>/<uses-library
|
|
android:name="com.google.android.maps" android:required="false" \/>/g' AndroidManifest.xml
|
|
|
|
AutoUpdateMode: None
|
|
UpdateCheckMode: Static
|
|
CurrentVersion: 1.4.15
|
|
CurrentVersionCode: 206
|