Author: humbedooh Date: Tue Feb 25 16:55:38 2020 New Revision: 1874520 URL: http://svn.apache.org/viewvc?rev=1874520&view=rev Log: add some more ignores
Modified: comdev/projects.apache.org/trunk/scripts/cronjobs/parsereleases.py Modified: comdev/projects.apache.org/trunk/scripts/cronjobs/parsereleases.py URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/trunk/scripts/cronjobs/parsereleases.py?rev=1874520&r1=1874519&r2=1874520&view=diff ============================================================================== --- comdev/projects.apache.org/trunk/scripts/cronjobs/parsereleases.py (original) +++ comdev/projects.apache.org/trunk/scripts/cronjobs/parsereleases.py Tue Feb 25 16:55:38 2020 @@ -86,7 +86,7 @@ def parseDir(committeeId, path): if ("/%s" % f) not in path and f.lower() not in ['binaries', 'repos', 'updatesite', 'current', 'stable', 'stable1', 'stable2', 'binary', 'notes', 'doc', 'eclipse', 'patches', 'docs', 'changes', 'features', 'tmp', 'cpp', 'php', 'ruby', 'py', 'py3', 'issuesfixed', 'images', 'styles', 'wikipages']: parseDir(committeeId, "%s/%s" % (path, f)) # Note: this eliminates binary archives; not sure whether that is intentional or not. - elif not re.search(r"(MD5SUM|SHA1SUM|\.md5|\.mds|\.sh1|\.sh2|\.sha|\.asc|\.sig|\.bin|\.pom|\.jar|\.whl|\.pdf|\.xml|\.xsd|\.html|\.txt|\.cfg|\.ish|\.pl|RELEASE.NOTES|LICENSE|KEYS|CHANGELOG|NOTICE|MANIFEST|Changes|readme|x86|amd64|-manual\.|-docs\.|-docs-|-doc-|Announcement|current|-deps|-dependencies|binary|-bin-|-bin\.|-javadoc-|-distro|rat_report)", f, flags=re.IGNORECASE): + elif not re.search(r"(MD5SUM|SHA1SUM|\.md5|\.mds|\.sh1|\.sh2|\.sha|\.asc|\.sig|\.bin|\.pom|\.jar|\.whl|\.pdf|\.xml|\.xsd|\.html|\.txt|\.cfg|\.ish|\.pl|RELEASE.NOTES|LICENSE|KEYS|CHANGELOG|NOTICE|MANIFEST|Changes|readme|x86|amd64|-manual\.|-docs\.|-docs-|-doc-|Announcement|current|-deps|-dependencies|binary|-bin-|-bin\.|-javadoc-|-distro|rat_report|\.png|\.jpg|\.gif|\.sqlite)", f, flags=re.IGNORECASE): filename = cleanFilename(f) if len(filename) > 1: if filename not in releases[committeeId]: