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
diff --git a/jeepyb/cmd/openstackwatch.py b/jeepyb/cmd/openstackwatch.py
index ff611dd..042806f 100644
--- a/jeepyb/cmd/openstackwatch.py
+++ b/jeepyb/cmd/openstackwatch.py
@@ -87,7 +87,7 @@
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)
diff --git a/jeepyb/config/openstackwatch.ini-sample b/jeepyb/config/openstackwatch.ini-sample
index 630bdcf..bf13234 100644
--- a/jeepyb/config/openstackwatch.ini-sample
+++ b/jeepyb/config/openstackwatch.ini-sample
@@ -10,10 +10,10 @@
# 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 =