fdroiddata/metadata/org.androidpn.client.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

52 lines
1.2 KiB
YAML

Categories:
- System
License: Apache-2.0
SourceCode: https://github.com/daktak/androidpn-client
IssueTracker: https://github.com/daktak/androidpn-client/issues
Bitcoin: 13MjTPDFQtxv1u1sWURkDduFSw97KbMfsS
AutoName: AndroidPN Client
Description: |-
Android Push Notification Client. Obtain server from
<a href="https://sourceforge.net/projects/androidpn/">here</a>. ''AndroidPN'' is based on
XMPP. The server part also offers an admin console to send out notifications to
a single device or all devices registered with the server.
RepoType: git
Repo: https://github.com/daktak/androidpn-client
Builds:
- versionName: 0.5.6
versionCode: 20160303
commit: v0.5.6-r2
subdir: app
gradle:
- yes
rm:
- app/src/main/lib/asmack.*
- versionName: 0.5.7
versionCode: 20160308
commit: v0.5.7-r1
subdir: app
gradle:
- yes
- versionName: 0.5.8
versionCode: 20160310
commit: v0.5.8
subdir: app
gradle:
- yes
- versionName: 0.5.10
versionCode: 20160415
commit: 0.5.10
subdir: app
gradle:
- yes
AutoUpdateMode: None
UpdateCheckMode: Tags
CurrentVersion: 0.5.10
CurrentVersionCode: 20160415