Edited the parsed url to work.
There was duplication in the parsed url, I removed the duplication to get the url to work. I commented out the swift heading in the ini file so that the absence-of-swift conditionals were met in the script. I set the output_mode to multiple since that was the setting that I got to work for me so I thought having a working ini file was a good idea. *jeepyb/cmd/openstackwatch.py *jeepyb/confif/openstackwatch.ini-sample Change-Id: I3e8f8170abd33a99989d96f226562b4c625411fb Reviewed-on: https://review.openstack.org/26699 Reviewed-by: Chmouel Boudjnah <chmouel@enovance.com> Reviewed-by: Clark Boylan <clark.boylan@gmail.com> Approved: James E. Blair <corvus@inaugust.com> Reviewed-by: James E. Blair <corvus@inaugust.com> Tested-by: Jenkins
This commit is contained in:
parent
a87f9fc92b
commit
c8cc7a5091
jeepyb
@ -87,7 +87,7 @@ def debug(msg):
|
||||
|
||||
|
||||
def get_javascript(project=None):
|
||||
url = "%s?q=status:open" % CONFIG['json_url']
|
||||
url = CONFIG['json_url']
|
||||
if project:
|
||||
url += "+project:" + project
|
||||
fp = urllib.urlretrieve(url)
|
||||
|
@ -10,10 +10,10 @@ json_url = https://review.openstack.org/query?q=status:open
|
||||
# Allow different mode to output to swift, by default 'combined' will
|
||||
# combined all rss in one and 'multiple' will upload all the projects
|
||||
# in each rss file.
|
||||
output_mode = combined
|
||||
output_mode = multiple
|
||||
|
||||
# username to your swift cluster
|
||||
[swift]
|
||||
# [swift]
|
||||
# username/tenant for swift with 2.0 or just username with 1.0 (i.e:
|
||||
# RAX).
|
||||
# username =
|
||||
|
Loading…
x
Reference in New Issue
Block a user