Yuvipanda has uploaded a new change for review.
https://gerrit.wikimedia.org/r/106681
Change subject: Add support for a Firehose Channel that gets *all* changes
......................................................................
Add support for a Firehose Channel that gets *all* changes
Change-Id: Ia7ef98f2146781c073ba09d9bef53cd4147e5903
---
M config.yaml
M src/relay.js
2 files changed, 4 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/labs/tools/grrrit
refs/changes/81/106681/1
diff --git a/config.yaml b/config.yaml
index 70a4415..2a2423f 100644
--- a/config.yaml
+++ b/config.yaml
@@ -3,6 +3,7 @@
userName: lolrrit
realName: GRRRit the Terrible
default-channel: "#wikimedia-dev"
+firehose-channel: "#mediawiki-feed"
blacklist:
L10n-bot
channels:
diff --git a/src/relay.js b/src/relay.js
index b0288e9..5372ac0 100644
--- a/src/relay.js
+++ b/src/relay.js
@@ -51,6 +51,9 @@
if(!channels.length) {
channels = [config['default-channel']];
}
+ if(config['firehose-channel']) {
+ channels.push(config['firehose-channel']);
+ }
return channels;
}
--
To view, visit https://gerrit.wikimedia.org/r/106681
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia7ef98f2146781c073ba09d9bef53cd4147e5903
Gerrit-PatchSet: 1
Gerrit-Project: labs/tools/grrrit
Gerrit-Branch: master
Gerrit-Owner: Yuvipanda <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits