fdroiddata/metadata/org.ocsinventoryng.android.agent.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

41 lines
1.3 KiB
YAML

Categories:
- Reading
License: GPL-2.0-only
WebSite: https://launchpad.net/ocsinventory-android-agent
SourceCode: https://bazaar.launchpad.net/~ocsinventory-dev/ocsinventory-android-agent/stable-2.1/files
IssueTracker: https://bugs.launchpad.net/ocsinventory-android-agent
AutoName: OCS-NG Agent
Description: |-
Agent/Client for the <a href="http://www.ocsinventory-ng.org/">Open Computers and
Software Inventory</a>.
You will have a complete inventory of all your Android devices: hardware and
software information will be collected and stored. Processors, memories, drives
and space used, bios, serial number, installed applications and versions, SIM
and operator information, … OCS Inventory Agent for Android send inventory to
OCS Inventory NG Server 2.1
OCS Inventory NG project is an open source project providing:
* hardware and software inventory (multiplatform)
* network discovery (IP Discover and SNMP)
* software deployment
* interfaced with others IT and Asset Management Software througt the OCS WebService
RepoType: bzr
Repo: lp:ocsinventory-android-agent/stable-2.1
Builds:
- versionName: 2.1.5
versionCode: 23
commit: '22'
- versionName: 2.1.6c
versionCode: 24
commit: '23'
AutoUpdateMode: None
UpdateCheckMode: RepoManifest
CurrentVersion: 2.1.6c
CurrentVersionCode: 24