community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1865224 - in /comdev/reporter.apache.org/trunk: scripts/pdata.py scripts/readjira.py site/getjson.py site/jiraversions.py site/wizard/kibble.py
Date Thu, 15 Aug 2019 13:42:29 GMT
Author: sebb
Date: Thu Aug 15 13:42:28 2019
New Revision: 1865224

URL: http://svn.apache.org/viewvc?rev=1865224&view=rev
Log:
Update token locations

Modified:
    comdev/reporter.apache.org/trunk/scripts/pdata.py
    comdev/reporter.apache.org/trunk/scripts/readjira.py
    comdev/reporter.apache.org/trunk/site/getjson.py
    comdev/reporter.apache.org/trunk/site/jiraversions.py
    comdev/reporter.apache.org/trunk/site/wizard/kibble.py

Modified: comdev/reporter.apache.org/trunk/scripts/pdata.py
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/scripts/pdata.py?rev=1865224&r1=1865223&r2=1865224&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/scripts/pdata.py (original)
+++ comdev/reporter.apache.org/trunk/scripts/pdata.py Thu Aug 15 13:42:28 2019
@@ -64,7 +64,7 @@ ldapmap = {
 }
 
 jirapass = ""
-with open(RAOHOME+"data/jirapass.txt", "r") as f:
+with open("/usr/local/etc/tokens/jira.txt", "r") as f:
     jirapass = f.read().strip()
     f.close()
 

Modified: comdev/reporter.apache.org/trunk/scripts/readjira.py
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/scripts/readjira.py?rev=1865224&r1=1865223&r2=1865224&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/scripts/readjira.py (original)
+++ comdev/reporter.apache.org/trunk/scripts/readjira.py Thu Aug 15 13:42:28 2019
@@ -36,7 +36,7 @@ print("Scanning mypath=%s" % mypath)
 myfiles = [ f for f in listdir(mypath) if f.endswith(".json") and isfile(join(mypath,f))
]
 
 jirapass = ""
-with open("%s/data/jirapass.txt" % MYHOME, "r") as f:
+with open("/usr/local/etc/tokens/jira.txt", "r") as f:
     jirapass = f.read().strip()
     f.close()
 

Modified: comdev/reporter.apache.org/trunk/site/getjson.py
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/getjson.py?rev=1865224&r1=1865223&r2=1865224&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/getjson.py (original)
+++ comdev/reporter.apache.org/trunk/site/getjson.py Thu Aug 15 13:42:28 2019
@@ -77,7 +77,7 @@ ldapmap = {
 }
 
 jirapass = ""
-with open(RAOHOME+"data/jirapass.txt", "r") as f:
+with open("/usr/local/etc/tokens/jira.txt", "r") as f:
     jirapass = f.read().strip()
     f.close()
 

Modified: comdev/reporter.apache.org/trunk/site/jiraversions.py
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/jiraversions.py?rev=1865224&r1=1865223&r2=1865224&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/jiraversions.py (original)
+++ comdev/reporter.apache.org/trunk/site/jiraversions.py Thu Aug 15 13:42:28 2019
@@ -35,7 +35,7 @@ def getReleaseData(project):
         return {}
 
 jirapass = ""
-with open("/var/www/reporter.apache.org/data/jirapass.txt", "r") as f:
+with open("/usr/local/etc/tokens/jira.txt", "r") as f:
     jirapass = f.read().strip()
 
 # Do the cheapest checks first

Modified: comdev/reporter.apache.org/trunk/site/wizard/kibble.py
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/wizard/kibble.py?rev=1865224&r1=1865223&r2=1865224&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/wizard/kibble.py (original)
+++ comdev/reporter.apache.org/trunk/site/wizard/kibble.py Thu Aug 15 13:42:28 2019
@@ -10,7 +10,7 @@ import sys
 
 BEFORE = int(time.time() - (90*86400))
 RAO_HOME = '/var/www/reporter.apache.org'
-TOKEN = open('%s/data/kibble-token.txt' % RAO_HOME).read().strip()
+TOKEN = open('/usr/local/etc/tokens/kibble.txt').read().strip()
 
 def main():
     form = cgi.FieldStorage()



Mime
View raw message