fdroiddata/metadata/tk.al54.dev.badpixels.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

32 lines
974 B
YAML

Categories:
- System
License: GPL-3.0-only
SourceCode: https://github.com/SibDev/BadPixels
IssueTracker: https://github.com/SibDev/BadPixels/issues
Changelog: https://github.com/SibDev/BadPixels/releases
Name: Bad Pixel Detector
AutoName: Bad Pixels
Description: |-
Check the screen for existence of so-called "dead pixels". So called bad and
defective pixels are defects of the electronic device which is perceiving or
reproducing the image and having pixel structure. A more detailed explanation is
<a href="https://en.wikipedia.org/wiki/Defective_pixel">in Wikipedia</a>. Also see the
<a href="https://en.wikipedia.org/wiki/ISO_13406-2">ISO_13406-2</a> standard for more
information.
RepoType: git
Repo: https://github.com/SibDev/BadPixels.git
Builds:
- versionName: '0.2'
versionCode: 4
commit: v0.2-b4
subdir: app
gradle:
- yes
AutoUpdateMode: None
UpdateCheckMode: Tags
CurrentVersion: '0.2'
CurrentVersionCode: 4