svn commit: r1912338 - in /comdev/projects.apache.org/trunk/site/json/foundation: groups.json people.json releases-files.json releases.json repositories.json

2023-09-15 Thread projects_role
Author: projects_role
Date: Sat Sep 16 04:20:03 2023
New Revision: 1912338

URL: http://svn.apache.org/viewvc?rev=1912338=rev
Log:
updating projects data

Modified:
comdev/projects.apache.org/trunk/site/json/foundation/groups.json
comdev/projects.apache.org/trunk/site/json/foundation/people.json
comdev/projects.apache.org/trunk/site/json/foundation/releases-files.json
comdev/projects.apache.org/trunk/site/json/foundation/releases.json
comdev/projects.apache.org/trunk/site/json/foundation/repositories.json

Modified: comdev/projects.apache.org/trunk/site/json/foundation/groups.json
URL: 
http://svn.apache.org/viewvc/comdev/projects.apache.org/trunk/site/json/foundation/groups.json?rev=1912338=1912337=1912338=diff
==
--- comdev/projects.apache.org/trunk/site/json/foundation/groups.json (original)
+++ comdev/projects.apache.org/trunk/site/json/foundation/groups.json Sat Sep 
16 04:20:03 2023
@@ -3836,6 +3836,7 @@
 "klesh",
 "lidongdai",
 "likyh",
+"lynwee",
 "mappjzc",
 "maximwheatley",
 "mintsweet",

Modified: comdev/projects.apache.org/trunk/site/json/foundation/people.json
URL: 
http://svn.apache.org/viewvc/comdev/projects.apache.org/trunk/site/json/foundation/people.json?rev=1912338=1912337=1912338=diff
==
--- comdev/projects.apache.org/trunk/site/json/foundation/people.json (original)
+++ comdev/projects.apache.org/trunk/site/json/foundation/people.json Sat Sep 
16 04:20:03 2023
@@ -36543,6 +36543,7 @@
 },
 "lynwee": {
 "groups": [
+"devlake",
 "incubator"
 ],
 "member": false,

Modified: 
comdev/projects.apache.org/trunk/site/json/foundation/releases-files.json
URL: 
http://svn.apache.org/viewvc/comdev/projects.apache.org/trunk/site/json/foundation/releases-files.json?rev=1912338=1912337=1912338=diff
==
--- comdev/projects.apache.org/trunk/site/json/foundation/releases-files.json 
(original)
+++ comdev/projects.apache.org/trunk/site/json/foundation/releases-files.json 
Sat Sep 16 04:20:03 2023
@@ -3806,8 +3806,8 @@
 ]
 },
 "incubator-devlake": {
-"apache-devlake-0.17.0-incubating": [
-"incubator/devlake/0.17.0-incubating/apache-devlake-0.17.0-incubating-src.tar.gz"
+"apache-devlake-0.18.0-incubating": [
+"incubator/devlake/0.18.0-incubating/apache-devlake-0.18.0-incubating-src.tar.gz"
 ]
 },
 "incubator-hugegraph": {
@@ -4120,8 +4120,8 @@
 "jackrabbit-filevault-3.7.0": [
 "jackrabbit/filevault/3.7.0/jackrabbit-filevault-3.7.0-src.zip"
 ],
-"jackrabbit-oak-1.22.16": [
-"jackrabbit/oak/1.22.16/jackrabbit-oak-1.22.16-src.zip"
+"jackrabbit-oak-1.22.17": [
+"jackrabbit/oak/1.22.17/jackrabbit-oak-1.22.17-src.zip"
 ],
 "jackrabbit-oak-1.4.26": [
 "jackrabbit/oak/1.4.26/jackrabbit-oak-1.4.26-src.zip"
@@ -4993,8 +4993,8 @@
 "maven-jarsigner-plugin-3.0.0": [
 "maven/plugins/maven-jarsigner-plugin-3.0.0-source-release.zip"
 ],
-"maven-javadoc-plugin-3.5.0": [
-"maven/plugins/maven-javadoc-plugin-3.5.0-source-release.zip"
+"maven-javadoc-plugin-3.6.0": [
+"maven/plugins/maven-javadoc-plugin-3.6.0-source-release.zip"
 ],
 "maven-jdeprscan-plugin-3.0.0-alpha-1": [
 "maven/plugins/maven-jdeprscan-plugin-3.0.0-alpha-1-source-release.zip"
@@ -5754,8 +5754,8 @@
 "openwhisk-runtime-go-1.16.0": [
 "openwhisk/20.11/openwhisk-runtime-go-1.16.0-sources.tar.gz"
 ],
-"openwhisk-runtime-go-1.22.0": [
-"openwhisk/openwhisk-runtime-go-1.22.0-sources.tar.gz"
+"openwhisk-runtime-go-1.23.0": [
+"openwhisk/openwhisk-runtime-go-1.23.0-sources.tar.gz"
 ],
 "openwhisk-runtime-java-1.15.0": [
 "openwhisk/20.11/openwhisk-runtime-java-1.15.0-sources.tar.gz"
@@ -5772,9 +5772,6 @@
 "openwhisk-runtime-php-1.15.0": [
 "openwhisk/20.11/openwhisk-runtime-php-1.15.0-sources.tar.gz"
 ],
-"openwhisk-runtime-php-1.18.0": [
-"openwhisk/openwhisk-runtime-php-1.18.0-sources.tar.gz"
-],
 "openwhisk-runtime-php-1.19.0": [
 "openwhisk/openwhisk-runtime-php-1.19.0-sources.tar.gz"
 ],

Modified: comdev/projects.apache.org/trunk/site/json/foundation/releases.json
URL: 
http://svn.apache.org/viewvc/comdev/projects.apache.org/trunk/site/json/foundation/releases.json?rev=1912338=1912337=1912338=diff
==
--- comdev/projects.apache.org/trunk/site/json/foundation/releases.json 
(original)
+++ comdev/projects.apache.org/trunk/site/json/foundation/releases.json Sat Sep 
16 04:20:03 2023
@@ -1261,7 +1261,7 @@
 "apache-datalab-2.6.0-incubating": "2022-11-30"
 },
 "incubator-devlake": {
-"apache-devlake-0.17.0-incubating": "2023-07-14"
+"apache-devlake-0.18.0-incubating": "2023-09-01"
 },
 "incubator-hugegraph": {
 "apache-hugegraph-commons-incubating-1.0.0": "2023-02-10",
@@ -1394,7 +1394,7 @@
 "jackrabbit-filevault-3.2.8": "2021-03-11",
 "jackrabbit-filevault-3.6.8": "2023-01-05",
 "jackrabbit-filevault-3.7.0": "2023-07-14",

svn commit: r1912330 - in /comdev/reporter.apache.org/trunk/data/releases: maven.json openwhisk.json

2023-09-15 Thread projects_role
Author: projects_role
Date: Fri Sep 15 18:45:02 2023
New Revision: 1912330

URL: http://svn.apache.org/viewvc?rev=1912330=rev
Log:
updating report releases data

Modified:
comdev/reporter.apache.org/trunk/data/releases/maven.json
comdev/reporter.apache.org/trunk/data/releases/openwhisk.json

Modified: comdev/reporter.apache.org/trunk/data/releases/maven.json
URL: 
http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/data/releases/maven.json?rev=1912330=1912329=1912330=diff
==
--- comdev/reporter.apache.org/trunk/data/releases/maven.json (original)
+++ comdev/reporter.apache.org/trunk/data/releases/maven.json Fri Sep 15 
18:45:02 2023
@@ -337,6 +337,7 @@
  "Maven Javadoc Plugin 3.4.0": 1650153600,
  "Maven Javadoc Plugin 3.4.1": 1660089600,
  "Maven Javadoc Plugin 3.5.0": 167616,
+ "Maven Javadoc Plugin 3.6.0": 1694390400,
  "Maven Jlink Plugin 3.0.0-alpha-1": 1504915200,
  "Maven PDF Plugin 1.3": 1424041200,
  "Maven PDF Plugin 1.4": 1514419200,

Modified: comdev/reporter.apache.org/trunk/data/releases/openwhisk.json
URL: 
http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/data/releases/openwhisk.json?rev=1912330=1912329=1912330=diff
==
--- comdev/reporter.apache.org/trunk/data/releases/openwhisk.json (original)
+++ comdev/reporter.apache.org/trunk/data/releases/openwhisk.json Fri Sep 15 
18:45:02 2023
@@ -46,6 +46,7 @@
  "openwhisk-runtime-go-1.20.0": 1660435200,
  "openwhisk-runtime-go-1.21.0": 1677283200,
  "openwhisk-runtime-go-1.22.0": 1682380800,
+ "openwhisk-runtime-go-1.23.0": 1694736000,
  "openwhisk-runtime-java-1.13.0-incubating": 1557792000,
  "openwhisk-runtime-java-1.14.0": 1581379200,
  "openwhisk-runtime-java-1.15.0": 1602115200,




svn commit: r1912325 - /comdev/projects.apache.org/trunk/scripts/cronjobs/

2023-09-15 Thread sebb
Author: sebb
Date: Fri Sep 15 12:02:08 2023
New Revision: 1912325

URL: http://svn.apache.org/viewvc?rev=1912325=rev
Log:
Pylint

Modified:
comdev/projects.apache.org/trunk/scripts/cronjobs/countaccounts.py
comdev/projects.apache.org/trunk/scripts/cronjobs/errtee.py
comdev/projects.apache.org/trunk/scripts/cronjobs/generaterepos.py
comdev/projects.apache.org/trunk/scripts/cronjobs/jsonutils.py
comdev/projects.apache.org/trunk/scripts/cronjobs/parsecommitteeinfo.py
comdev/projects.apache.org/trunk/scripts/cronjobs/parsecommitters.py
comdev/projects.apache.org/trunk/scripts/cronjobs/parseprojects.py
comdev/projects.apache.org/trunk/scripts/cronjobs/parsereleases.py
comdev/projects.apache.org/trunk/scripts/cronjobs/podlings.py
comdev/projects.apache.org/trunk/scripts/cronjobs/sendmail.py
comdev/projects.apache.org/trunk/scripts/cronjobs/testlogging.py
comdev/projects.apache.org/trunk/scripts/cronjobs/urlutils.py

Modified: comdev/projects.apache.org/trunk/scripts/cronjobs/countaccounts.py
URL: 
http://svn.apache.org/viewvc/comdev/projects.apache.org/trunk/scripts/cronjobs/countaccounts.py?rev=1912325=1912324=1912325=diff
==
--- comdev/projects.apache.org/trunk/scripts/cronjobs/countaccounts.py 
(original)
+++ comdev/projects.apache.org/trunk/scripts/cronjobs/countaccounts.py Fri Sep 
15 12:02:08 2023
@@ -64,7 +64,7 @@ def loadJson(url):
 return j
 
 js = {}
-with open("../../site/json/foundation/accounts-evolution.json") as f:
+with open("../../site/json/foundation/accounts-evolution.json", "r", 
encoding='utf-8') as f:
 js = json.loads(f.read())
 f.close()
 
@@ -101,7 +101,7 @@ for p in ldappeople:
 if stamp.startswith(tym1):
 js[ym1] += 1
 
-with open("../../site/json/foundation/accounts-evolution.json", "w") as f:
+with open("../../site/json/foundation/accounts-evolution.json", "w", 
encoding='utf-8') as f:
 json.dump(js, f, sort_keys=True, indent=0)
 f.close()
 

Modified: comdev/projects.apache.org/trunk/scripts/cronjobs/errtee.py
URL: 
http://svn.apache.org/viewvc/comdev/projects.apache.org/trunk/scripts/cronjobs/errtee.py?rev=1912325=1912324=1912325=diff
==
--- comdev/projects.apache.org/trunk/scripts/cronjobs/errtee.py (original)
+++ comdev/projects.apache.org/trunk/scripts/cronjobs/errtee.py Fri Sep 15 
12:02:08 2023
@@ -33,4 +33,4 @@ if __name__ == '__main__': # simple test
 sys.stderr.write("STDERR2\n")
 sys.stderr=ErrTee() # enable for testing
 sys.stderr.write("STDERR3 (should also appear on STDOUT)\n")
-raise Exception("STDERR4 (should also appear on STDOUT)")
\ No newline at end of file
+raise ValueError("STDERR4 (should also appear on STDOUT)")

Modified: comdev/projects.apache.org/trunk/scripts/cronjobs/generaterepos.py
URL: 
http://svn.apache.org/viewvc/comdev/projects.apache.org/trunk/scripts/cronjobs/generaterepos.py?rev=1912325=1912324=1912325=diff
==
--- comdev/projects.apache.org/trunk/scripts/cronjobs/generaterepos.py 
(original)
+++ comdev/projects.apache.org/trunk/scripts/cronjobs/generaterepos.py Fri Sep 
15 12:02:08 2023
@@ -35,7 +35,7 @@ class SVNRepoParser(HTMLParser):
 
 # Parse svn repos
 try:
-svnResponse = requests.get("https://svn.apache.org/repos/asf/;)
+svnResponse = requests.get("https://svn.apache.org/repos/asf/;, 
timeout=120)
 svnResponse.raise_for_status()
 
 parser = SVNRepoParser()
@@ -46,7 +46,7 @@ except requests.exceptions.RequestExcept
 
 # Parse git repos
 try:
-gitResponse = requests.get("https://gitbox.apache.org/repositories.json;)
+gitResponse = requests.get("https://gitbox.apache.org/repositories.json;, 
timeout=120)
 gitResponse.raise_for_status()
 gitData = json.loads(gitResponse.content.decode("utf-8"))
 
@@ -57,7 +57,7 @@ except requests.exceptions.RequestExcept
 print("ERROR: Unable to retrieve git repos: %s", e)
 
 print("Writing json/foundation/repositories.json...")
-with open("../../site/json/foundation/repositories.json", "w") as f:
+with open("../../site/json/foundation/repositories.json", "w", 
encoding='utf-8') as f:
 json.dump(repos, f, sort_keys=True, indent=0)
 f.close()
 

Modified: comdev/projects.apache.org/trunk/scripts/cronjobs/jsonutils.py
URL: 
http://svn.apache.org/viewvc/comdev/projects.apache.org/trunk/scripts/cronjobs/jsonutils.py?rev=1912325=1912324=1912325=diff
==
--- comdev/projects.apache.org/trunk/scripts/cronjobs/jsonutils.py (original)
+++ comdev/projects.apache.org/trunk/scripts/cronjobs/jsonutils.py Fri Sep 15 
12:02:08 2023
@@ -24,4 +24,4 @@ def read_utf8(path):
 Read and parse JSON from the given file path assuming UTF-8 encoding
 """
 with 

svn commit: r1912324 - in /comdev/projects.apache.org/trunk/scripts: committee_info.py newtlp.py project2attic.py update_create.py

2023-09-15 Thread sebb
Author: sebb
Date: Fri Sep 15 11:22:28 2023
New Revision: 1912324

URL: http://svn.apache.org/viewvc?rev=1912324=rev
Log:
Pylint

Modified:
comdev/projects.apache.org/trunk/scripts/committee_info.py
comdev/projects.apache.org/trunk/scripts/newtlp.py
comdev/projects.apache.org/trunk/scripts/project2attic.py
comdev/projects.apache.org/trunk/scripts/update_create.py

Modified: comdev/projects.apache.org/trunk/scripts/committee_info.py
URL: 
http://svn.apache.org/viewvc/comdev/projects.apache.org/trunk/scripts/committee_info.py?rev=1912324=1912323=1912324=diff
==
--- comdev/projects.apache.org/trunk/scripts/committee_info.py (original)
+++ comdev/projects.apache.org/trunk/scripts/committee_info.py Fri Sep 15 
11:22:28 2023
@@ -46,10 +46,10 @@ def file_mtime(filename):
 return t
 
 # download url as file if the cached copy is too old
-def get_url_if_newer(url, dir, name):
-path=join(dir,name)
+def get_url_if_newer(url, folder, name):
+path=join(folder,name)
 fileTime = file_mtime(path)
-check = join(dir,".checked_"+name)
+check = join(folder,".checked_"+name)
 if fileTime >= 0:
 checkTime = file_mtime(check)
 now = time.time()
@@ -70,7 +70,7 @@ def get_url_if_newer(url, dir, name):
 lastMod = response.headers['Last-Modified']
 lastModT = calendar.timegm(time.strptime(lastMod, HTTP_TIME_FORMAT))
 outFile = path + ".tmp"
-with open(outFile,'wb') as f:
+with open(outFile,'wb', encoding='utf-8') as f:
 f.write(response.read())
 f.close()
 
@@ -84,7 +84,7 @@ def get_url_if_newer(url, dir, name):
 else:
 print("Cached copy of %s is up to date" % path)
 
-with open(check,'a'):
+with open(check,'a', encoding='utf-8'):
 os.utime(check, None) # touch the marker file
 
 def update_cache():
@@ -98,11 +98,11 @@ update_cache() # done when loading
 
 def chairs():
 
-committees = cidata['committees']
+cttees = cidata['committees']
 
 chairjson={}
-for ctte in committees:
-c = committees[ctte]
+for ctte in cttees:
+c = cttees[ctte]
 if not c['pmc']:
 continue
 chs = c['chair']
@@ -117,20 +117,20 @@ def chairs():
 
 def cycles():
 
-committees = cidata['committees']
+cttees = cidata['committees']
 
-cycles={}
-for ctte in committees:
-c = committees[ctte]
+reportcycles={}
+for ctte in cttees:
+c = cttees[ctte]
 if not c['pmc']:
 continue
-cycles[ctte] = c['report']
+reportcycles[ctte] = c['report']
 # Duplicate some entries for now so the code can find them (the 
existing json has the duplicates)
 if ctte == 'ws': # Special processing
-cycles['webservices'] = cycles[ctte]
+reportcycles['webservices'] = reportcycles[ctte]
 if ctte == 'httpd': # Special processing
-cycles['http server'] = cycles[ctte]
-return cycles
+reportcycles['http server'] = reportcycles[ctte]
+return reportcycles
 
 """
 Returns an array of entries of the form:
@@ -156,7 +156,7 @@ Returns an array of entries of the form:
 """
 def committees():
 
-committees = {}
+cttees = {}
 cttes = cidata['committees']
 for ent in cttes:
 ctte = cttes[ent]
@@ -190,8 +190,8 @@ def committees():
 c['reporting'] = 0
 else:
 c[key] = ctte[key]
-committees[ent]=c
-return committees
+cttees[ent]=c
+return cttees
 
 def pmcdates():
 dates = {}
@@ -210,16 +210,16 @@ def pmcdates():
 date = calendar.timegm(time.strptime(est[0:7], '%m/%Y'))
 except Exception as e:
 print("Date parse error for %s: %s %s" % (ent, est, e))
-pass
 dates[ent] = {'pmc': [est, date], 'roster': {} }
 ids = {}
-for id in roster:
-rid = roster[id]
+for idk in roster:
+rid = roster[idk]
 try:
 date = calendar.timegm(time.strptime(rid['date'], '%Y-%m-%d'))
-except:
+except Exception:
+print("Date parse error for %s: %s %s" % (ent, rid['date'], e))
 date = 0
-ids[id] = [rid['name'], date]
+ids[idk] = [rid['name'], date]
 dates[ent]['roster'] = ids
 # The 'CI' internal name for Web Services is 'ws' but reporter code 
originally used 'webservices'
 if ent == 'ws':

Modified: comdev/projects.apache.org/trunk/scripts/newtlp.py
URL: 
http://svn.apache.org/viewvc/comdev/projects.apache.org/trunk/scripts/newtlp.py?rev=1912324=1912323=1912324=diff
==
--- comdev/projects.apache.org/trunk/scripts/newtlp.py (original)
+++