community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r1682661 - /comdev/projects.apache.org/scripts/cronjobs/parsereleases.py
Date Sat, 30 May 2015 22:28:42 GMT
Author: hboutemy
Date: Sat May 30 22:28:41 2015
New Revision: 1682661

URL: http://svn.apache.org/r1682661
Log:
little fix

Modified:
    comdev/projects.apache.org/scripts/cronjobs/parsereleases.py

Modified: comdev/projects.apache.org/scripts/cronjobs/parsereleases.py
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/scripts/cronjobs/parsereleases.py?rev=1682661&r1=1682660&r2=1682661&view=diff
==============================================================================
--- comdev/projects.apache.org/scripts/cronjobs/parsereleases.py (original)
+++ comdev/projects.apache.org/scripts/cronjobs/parsereleases.py Sat May 30 22:28:41 2015
@@ -54,11 +54,11 @@ def parseDir(project, path):
         if xd:
             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(project, "%s/%s" % (path, f))
-        elif not re.search(r"(MD5SUM|SHA1SUM|\.md5|\.mds|\.sh1|\.sh2|\.sha|\.asc|\.sig|\.bin|\.pom|\.jar|\.whl|\.pdf|\.xml|\.html|\.txt|\.cfg|\.ish|\.pl|RELEASE.NOTES|LICENSE|KEYS|CHANGELOG|NOTICE|MANIFEST|Changes|readme|x86|amd64|-docs-|Announcement|current|-deps|-dependencies|binary|-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|-docs-|Announcement|current|-deps|-dependencies|binary|-bin-|-javadoc-|-distro|rat_report)",
f, flags=re.IGNORECASE):
             filename = cleanFilename(f)
             if len(filename) > 1 and filename not in releases[project]:
                 releases[project][filename] = d
-                orig[project][filename] = "%s/%s" % (path, filename)
+                orig[project][filename] = "%s/%s" % (path, f)
                 print("                  - %s\t\t\t%s" % (filename, f))
 
 



Mime
View raw message