Author: sebb
Date: Tue Jan 28 17:08:45 2025
New Revision: 1923426

URL: http://svn.apache.org/viewvc?rev=1923426&view=rev
Log:
Temporarily disable auth as it does not seem to be needed...

Modified:
    comdev/reporter.apache.org/trunk/scripts/readjira.py

Modified: comdev/reporter.apache.org/trunk/scripts/readjira.py
URL: 
http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/scripts/readjira.py?rev=1923426&r1=1923425&r2=1923426&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/scripts/readjira.py (original)
+++ comdev/reporter.apache.org/trunk/scripts/readjira.py Tue Jan 28 17:08:45 
2025
@@ -75,10 +75,10 @@ def getJIRAS(project):
     file = "%s/data/JIRA/%s.json" % (MYHOME, project)
     try:
         req = 
Request("""https://issues.apache.org/jira/rest/api/2/search?jql=project='""" + 
project + """'+AND+created%3E=-91d&fields=key""") # >=
-        req.add_header("Authorization", "Basic %s" % base64string)
+        # TEMP req.add_header("Authorization", "Basic %s" % base64string)
         cdata = json.loads(urlopen(req, 
timeout=JIRATIMEOUT).read().decode('utf-8'))
         req = 
Request("""https://issues.apache.org/jira/rest/api/2/search?jql=project='""" + 
project + """'+AND+resolved%3E=-91d&fields=key""") # >=
-        req.add_header("Authorization", "Basic %s" % base64string)
+        # TEMP req.add_header("Authorization", "Basic %s" % base64string)
         rdata = json.loads(urlopen(req, 
timeout=JIRATIMEOUT).read().decode('utf-8'))
         with open(file, "w") as f:
             json.dump([cdata['total'], rdata['total'], project], f, indent=1, 
sort_keys=True)


Reply via email to