Mwalker has uploaded a new change for review.
https://gerrit.wikimedia.org/r/91334
Change subject: Upates for new pybal
......................................................................
Upates for new pybal
Change-Id: Ie7d546b6bcc7bb97c0071fa1c63525892ad471e5
---
M SquidRipper/squidder.py
1 file changed, 7 insertions(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/wikimedia/fundraising/tools
refs/changes/34/91334/1
diff --git a/SquidRipper/squidder.py b/SquidRipper/squidder.py
index e0e39b1..46d440e 100644
--- a/SquidRipper/squidder.py
+++ b/SquidRipper/squidder.py
@@ -7,6 +7,8 @@
import fnmatch
import json
+# NOTE: This script requires a set of WMF PyBal configuration files. These may
be obtained
+# from fenari:/h/w/conf/pybal.conf. For more details talk to paravoid.
def main():
# === Extract options ===
@@ -25,7 +27,11 @@
if len(args) > 0:
hosts = args
else:
- hosts = loadPybal('text')
+ hosts = set(loadPybal('text'))
+ hosts.union(set(loadPybal('text-squids')))
+ hosts.union(set(loadPybal('text-varnish')))
+ hosts = list(hosts)
+ hosts.sort()
# Construct the URL set
headers = {
--
To view, visit https://gerrit.wikimedia.org/r/91334
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie7d546b6bcc7bb97c0071fa1c63525892ad471e5
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/fundraising/tools
Gerrit-Branch: master
Gerrit-Owner: Mwalker <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits