1. 09 Dec, 2020 1 commit
    • Hans-Christoph Steiner's avatar
      convert all MediaWiki links to HTML links · cf4e8a40
      Hans-Christoph Steiner authored
      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
  2. 12 Nov, 2020 1 commit
    • Marcus's avatar
      add ndk r12b to any buildjni build that doesn't have an ndk · e592d5f8
      Marcus authored
      r12b has been forever the default. Let's explicitly request that version
      where we know we need it.
      Note; there's other builds that still implicitly rely on that version
      that don't use the buildjni flag. We don't really have a good way of
      finding those, except manually.
  3. 21 Aug, 2019 1 commit
  4. 19 Aug, 2019 1 commit
    • Hans-Christoph Steiner's avatar
      rewrite all .txt with 'Auto Update Mode:None' (a-c) · 6dc775b2
      Hans-Christoph Steiner authored
      for f in `grep --files-with-matches 'Auto Update Mode:None' metadata/*.txt |sed 's,^metadata/\(.*\)\.txt$,\1,'`; do echo $f; done >  /tmp/rewrite
      fdroid rewritemeta --to yml `cat /tmp/rewrite`
      for f in `cat /tmp/rewrite`; do git rm -f metadata/${f}.txt; git add metadata/${f}.yml; done