1. 14 Jun, 2021 1 commit
  2. 09 Dec, 2020 1 commit
    • Hans-Christoph Steiner's avatar
      convert all MediaWiki links to HTML links · cf4e8a40
      Hans-Christoph Steiner authored
      ```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
      cf4e8a40
  3. 14 Oct, 2020 1 commit
  4. 23 Jul, 2020 1 commit
  5. 23 Jun, 2020 2 commits
  6. 07 May, 2020 1 commit
  7. 23 Apr, 2020 1 commit
  8. 13 Apr, 2020 1 commit
  9. 05 Oct, 2019 1 commit
  10. 14 Aug, 2019 1 commit
  11. 11 Aug, 2019 1 commit