fdroiddata/metadata/com.github.gotify.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

116 lines
2.2 KiB
YAML

Categories:
- Internet
License: MIT
AuthorName: Gotify
AuthorEmail: gotify@protonmail.com
WebSite: https://gotify.net/
SourceCode: https://github.com/gotify/android
IssueTracker: https://github.com/gotify/android/issues
Changelog: https://github.com/gotify/android/releases
AutoName: Gotify
Description: |-
Gotify is a service for sending and receiving push notifications.
This app subscribes to <a href="https://github.com/gotify/server">gotify/server</a> and creates push notifications for incoming messages.
Note: A self-hosted <a href="https://github.com/gotify/server">gotify/server</a> is required for this app to work.
RepoType: git
Repo: https://github.com/gotify/android
Builds:
- versionName: 2.0.1
versionCode: 4
commit: v2.0.1
subdir: app
gradle:
- yes
- versionName: 2.0.2
versionCode: 5
commit: v2.0.2
subdir: app
gradle:
- yes
- versionName: 2.0.3
versionCode: 6
commit: v2.0.3
subdir: app
gradle:
- yes
- versionName: 2.0.4
versionCode: 7
commit: v2.0.4
subdir: app
gradle:
- yes
- versionName: 2.0.5
versionCode: 8
commit: v2.0.5
subdir: app
gradle:
- yes
- versionName: 2.0.6
versionCode: 9
commit: v2.0.6
subdir: app
gradle:
- yes
- versionName: 2.0.7
versionCode: 10
commit: v2.0.7
subdir: app
gradle:
- yes
- versionName: 2.0.8
versionCode: 11
commit: v2.0.8
subdir: app
gradle:
- yes
- versionName: 2.0.9
versionCode: 12
commit: v2.0.9
subdir: app
gradle:
- yes
- versionName: 2.0.10
versionCode: 13
commit: v2.0.10
subdir: app
gradle:
- yes
- versionName: 2.0.11
versionCode: 14
commit: v2.0.11
subdir: app
gradle:
- yes
- versionName: 2.0.12
versionCode: 15
commit: v2.0.12
subdir: app
gradle:
- yes
- versionName: 2.0.13
versionCode: 16
commit: v2.0.13
subdir: app
gradle:
- yes
prebuild: sed -i -e 's/6.3-rc-4-all/6.3-all/' ../gradle/wrapper/gradle-wrapper.properties
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags v\d+\.\d+(\.\d+)?
CurrentVersion: 2.0.13
CurrentVersionCode: 16