fdroiddata/metadata/com.robert.maps.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

102 lines
2.6 KiB
YAML

AntiFeatures:
- UpstreamNonFree
Categories:
- Navigation
License: GPL-3.0-only
WebSite: http://robertdeveloper.blogspot.com/2009/08/rmaps.html
SourceCode: https://github.com/RobertDeveloper/RMaps.0.9.x
IssueTracker: https://github.com/RobertDeveloper/RMaps.0.9.x/issues
Donate: http://robertdeveloper.blogspot.com
AutoName: RMaps
Description: |-
Map viewer with a long list of online sources available from OpenStreetMap
Cyclemap to Soviet military maps. Offline maps using sqlite can be created
easily with <a href="http://trekbuddyatlasc.sourceforge.net/index.html">Mobile Atlas
Creator</a>.
The non-free Google Analytics library has been replaced with the NoAnalytics
library.
RepoType: git
Repo: https://github.com/RobertDeveloper/RMaps.0.9.x
Builds:
- versionName: 0.8.11
versionCode: 8104
commit: '463'
subdir: RMaps2
srclibs:
- NoAnalytics@158a4a
prebuild:
- echo "android.library.reference.1=$$NoAnalytics$$" >> project.properties
- rm libs/libGoogleAnalytics.jar
- versionName: 0.9.1
versionCode: 8120
commit: '590'
subdir: RMaps.Free
srclibs:
- NoAnalytics@158a4a
rm:
- RMaps.AppLib/libs/libGoogleAnalytics.jar
prebuild:
- echo "android.library.reference.1=$$NoAnalytics$$" >> ../RMaps.AppLib/project.properties
- mkdir src
androidupdate:
- .
- ../RMaps.AppLib
- versionName: 0.9.3.1
versionCode: 8133
commit: '649'
subdir: RMaps.Free
srclibs:
- NoAnalytics@158a4a
rm:
- RMaps.AppLib/libs/libGoogleAnalytics.jar
prebuild:
- echo "android.library.reference.1=$$NoAnalytics$$" >> ../RMaps.AppLib/project.properties
- mkdir src
androidupdate:
- .
- ../RMaps.AppLib
- versionName: 0.9.4
versionCode: 8140
commit: '699'
subdir: RMaps.Free
srclibs:
- NoAnalytics@158a4a
rm:
- RMaps.AppLib/libs/libGoogleAnalytics.jar
prebuild:
- echo "android.library.reference.1=$$NoAnalytics$$" >> ../RMaps.AppLib/project.properties
- mkdir src
androidupdate:
- .
- ../RMaps.AppLib
- versionName: 0.9.4.1
versionCode: 8141
disable: Not playing nicely with NoAnalytics
commit: '703'
subdir: RMaps.Free
srclibs:
- 1:NoAnalytics@d38ae535b5
forcevercode: true
rm:
- RMaps.AppLib/libs/libGoogleAnalytics.jar
androidupdate:
- .
- ../RMaps.AppLib
MaintainerNotes: |-
Neither Tags nor RepoManifest are useful.
forcevercode only for 0.9.4.1!
AutoUpdateMode: None
UpdateCheckMode: None
CurrentVersion: 0.9.4.1
CurrentVersionCode: 8141