fdroiddata/metadata/gr.ratmole.android.Mach3Pendant.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

28 lines
768 B
YAML

Categories:
- Connectivity
License: GPL-3.0-only
SourceCode: https://github.com/ratmole/Mach3Pendant
IssueTracker: https://github.com/ratmole/Mach3Pendant/issues
Donate: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=JG8MF9QZV5EN4
AutoName: Mach3Pendant
Description: |-
Allows you to interact with a
<a href="https://github.com/ratmole/Mach3PendantServer/raw/master/WinPrecompiled/Mach3PendantServer.jar
server">package</a> to control your Mach3 CNC software via WiFi.
RepoType: git
Repo: https://github.com/ratmole/Mach3Pendant
Builds:
- versionName: '1.05'
versionCode: 14
commit: v1.05
subdir: app
gradle:
- yes
AutoUpdateMode: None
UpdateCheckMode: Tags
CurrentVersion: '1.05'
CurrentVersionCode: 14