mirror of
https://github.com/sudoxnym/fdroiddata.git
synced 2026-04-14 19:46:54 +00:00
```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
60 lines
2.1 KiB
YAML
60 lines
2.1 KiB
YAML
Categories:
|
||
- Internet
|
||
License: Apache-2.0
|
||
AuthorName: Warmshowers.org
|
||
AuthorEmail: wsl@warmshowers.org
|
||
WebSite: https://warmshowers.org/
|
||
SourceCode: https://github.com/warmshowers/wsandroid
|
||
IssueTracker: https://github.com/warmshowers/wsandroid/issues
|
||
Changelog: https://github.com/warmshowers/wsandroid/releases
|
||
|
||
Name: WarmShowers
|
||
AutoName: Warmshowers
|
||
Description: |-
|
||
The Warm Showers Community is a free worldwide hospitality exchange for
|
||
touring cyclists. People who are willing to host touring cyclists sign up
|
||
and provide their contact information, and may occasionally have someone
|
||
stay with them and share great stories and a drink. All members agree to
|
||
host others either now or in the future, but for some members hosting may
|
||
be in years or even decades in their future.
|
||
|
||
Members of Warmshowers.org can use this app to find hosts using both map and
|
||
textual search interfaces. Hosts can be contacted directly through the app.
|
||
Host information can also be downloaded and stored for offline usage.
|
||
For more information on Warm Showers please
|
||
<a href="https://www.warmshowers.org">see the website</a>.
|
||
|
||
You must create an account on the site before being able to use this
|
||
application! Visit https://www.warmshowers.org/user/register to sign up.
|
||
|
||
We love to hear your experiences and suggestions, even problems! Contact us
|
||
on <a href="https://github.com/warmshowers/wsandroid">GitHub</a>. Please mention what
|
||
version, what device and the specific issue you’re having.
|
||
|
||
RepoType: git
|
||
Repo: https://github.com/warmshowers/wsandroid
|
||
|
||
Builds:
|
||
- versionName: 3.0.0
|
||
versionCode: 30000
|
||
commit: v3.0.0
|
||
subdir: app
|
||
gradle:
|
||
- floss
|
||
|
||
- versionName: 3.0.1
|
||
versionCode: 30100
|
||
commit: v3.0.1
|
||
subdir: app
|
||
gradle:
|
||
- floss
|
||
|
||
MaintainerNotes: |
|
||
Recent versions now require an API key that we don't have: https://github.com/warmshowers/wsandroid/issues/274#issuecomment-657133782
|
||
|
||
AutoUpdateMode: None
|
||
UpdateCheckMode: Tags
|
||
CurrentVersion: 3.0.1
|
||
CurrentVersionCode: 30100
|
||
|
||
NoSourceSince: 3.1.0
|