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
50 lines
1.3 KiB
YAML
50 lines
1.3 KiB
YAML
Categories:
|
||
- Connectivity
|
||
- Development
|
||
License: GPL-3.0-only
|
||
SourceCode: https://github.com/e-venement/eve-control
|
||
|
||
AutoName: Eve-control
|
||
Description: |-
|
||
Control tickets with an existing <a href="http://www.e-venement.org/">e-venement</a>
|
||
instance.
|
||
|
||
When launched, the user is prompted to enter the host name as well as his login
|
||
credentials wich will be stored for future authentifications.
|
||
|
||
Once the form submitted, the app will connect to the instance’s server and
|
||
display the access control page (tck.php/ticket/control), and tickets can be
|
||
controlled directly from there.
|
||
|
||
During use, the app will automatically re-authenticate the user on server
|
||
periodically to keep the session alive as long as needed.
|
||
|
||
Builds:
|
||
- versionName: '1.0'
|
||
versionCode: 1
|
||
commit: 36a87f06556c0192c6a9f8e969c41573f154f386
|
||
subdir: app
|
||
gradle:
|
||
- yes
|
||
|
||
- versionName: '1.1'
|
||
versionCode: 2
|
||
commit: c786edc9aa1065ae9a2fd24a357ebf7abb501ac9
|
||
subdir: app
|
||
gradle:
|
||
- yes
|
||
prebuild: sed -i -e '/versionCode/d' -e '/versionName/d' build.gradle
|
||
|
||
- versionName: '1.2'
|
||
versionCode: 3
|
||
commit: '1.2'
|
||
subdir: app
|
||
gradle:
|
||
- yes
|
||
|
||
AutoUpdateMode: None
|
||
UpdateCheckMode: None
|
||
CurrentVersion: '1.2'
|
||
CurrentVersionCode: 3
|
||
|
||
NoSourceSince: '1.2'
|