fdroiddata/metadata/net.nitroshare.android.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

46 lines
1.2 KiB
YAML

Categories:
- Connectivity
License: MIT
WebSite: https://nitroshare.net
SourceCode: https://github.com/nitroshare/nitroshare-android
IssueTracker: https://github.com/nitroshare/nitroshare-android/issues
AutoName: NitroShare
Description: |-
NitroShare simplifies the task of sending files from one device to another on a
local network.
* Automatic peer discovery
* Support for transferring multiple files and folders
* Transfers optimized for maximum bandwidth utilization
* Compatible with the NitroShare desktop application
* Light and dark theme
* Fully open source and completely free of ads and trackers
Files can be sent directly from the app itself or using the share menu from
within other applications.
The desktop application is available <a href="https://nitroshare.net/">at the homepage</a>.
RepoType: git
Repo: https://github.com/nitroshare/nitroshare-android
Builds:
- versionName: 0.4.0.38
versionCode: 39
commit: 0.4.0.38
subdir: app
gradle:
- yes
- versionName: 0.4.0.39
versionCode: 40
commit: 0.4.0.39
subdir: app
gradle:
- yes
AutoUpdateMode: Version %v
UpdateCheckMode: Tags
CurrentVersion: 0.4.0.39
CurrentVersionCode: 40