1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-14 11:00:10 +01:00
fdroidserver/fdroidserver
Hans-Christoph Steiner 0837289935 scanner: fix regex for matching URLs in gradle maven{} blocks
closes #465

This script generated gradle-maven-blocks.yaml:
```python
import os
import re
import yaml

pat = re.compile(r'\smaven\s*{[^}]+}')

finds = set()
for root, dirs, files in os.walk('.'):
    for f in files:
        if '.gradle' in f:
            with open(os.path.join(root, f), errors='surrogateescape') as fp:
                contents = fp.read()
            for m in pat.findall(contents):
                finds.add(m)

with open('finds.yaml', 'w') as fp:
    yaml.dump(sorted(finds), fp, default_flow_style=False)

```
2020-06-10 19:42:23 +02:00
..
asynchronousfilereader Add asynchronous filereader, fix python3 lockups 2015-09-20 20:57:53 +02:00
__init__.py fix egg-link and easy_install support for Python3 2017-10-19 23:28:13 +02:00
__main__.py implement plugin system review suggestsions 2020-06-10 18:43:23 +02:00
btlog.py use defusedxml to avoid DoS attacks while loading XML 2018-08-29 17:44:54 +02:00
build.py build: pass --verbose flag through to scanner 2020-06-10 19:42:23 +02:00
checkupdates.py checkupdates: write status JSON 2020-02-18 23:45:52 +01:00
common.py Merge branch 'yamllint' into 'master' 2020-05-14 12:36:19 +00:00
exception.py checkupdates: don't fail when we can't init submodules 2017-12-04 16:30:37 +01:00
gpgsign.py gpgsign: write status JSON 2020-02-19 14:50:26 +01:00
import.py logging.warn() was deprecated in Python 3.3, use logging.warning() 2020-05-27 08:35:14 +02:00
index.py index: xml.dom.minidom no longer sorts attribs 2020-04-15 21:53:39 +02:00
init.py logging.warn() was deprecated in Python 3.3, use logging.warning() 2020-05-27 08:35:14 +02:00
install.py logging.warn() was deprecated in Python 3.3, use logging.warning() 2020-05-27 08:35:14 +02:00
lint.py lint: fix pyflakes 2020-06-02 22:05:18 +02:00
metadata.py metadata: validate STRING and INT build field types 2020-06-02 22:06:01 +02:00
mirror.py mirror: make .asc downloading opt-in with --pgp-signatures 2020-01-31 15:38:02 +01:00
net.py set F-Droid HTTP Headers globally 2020-03-11 13:41:13 +01:00
nightly.py Fix nightly --archive-older command line option 2020-05-11 10:23:26 -03:00
publish.py publish: write status JSON 2020-02-19 14:50:24 +01:00
readmeta.py all: make newer pycodestyle happy 2016-11-15 20:55:06 +00:00
rewritemeta.py rewritemeta: refactor supported list to module variable SUPPORTED_FORMATS 2019-08-27 15:38:40 +02:00
scanner.py scanner: fix regex for matching URLs in gradle maven{} blocks 2020-06-10 19:42:23 +02:00
server.py logging.warn() was deprecated in Python 3.3, use logging.warning() 2020-05-27 08:35:14 +02:00
signatures.py logging.warn() was deprecated in Python 3.3, use logging.warning() 2020-05-27 08:35:14 +02:00
signindex.py signindex: write status JSON 2020-02-19 14:50:30 +01:00
stats.py fix PEP8 W605 invalid escape sequence 2018-05-29 13:51:47 +02:00
tail.py remove redundant open() arg: encoding='utf8' 2018-10-19 15:01:34 +02:00
update.py strip_and_copy_image: abort on broken symlinks 2020-06-04 12:58:11 +02:00
verify.py update: write status in JSON repo file, using new internal API 2020-02-18 23:45:48 +01:00
vmtools.py logging.warn() was deprecated in Python 3.3, use logging.warning() 2020-05-27 08:35:14 +02:00