From c405c3b94164f507952a56411a120840aff4aaeb Mon Sep 17 00:00:00 2001 From: Sebastian Kippe Date: Tue, 7 Jul 2015 17:19:48 +0200 Subject: [PATCH] Use new rs-logger-script instead of previous hack --- external-scripts.json | 3 +-- package.json | 3 +-- run.sh | 12 ++++++------ 3 files changed, 8 insertions(+), 10 deletions(-) diff --git a/external-scripts.json b/external-scripts.json index 39216c4..375256b 100644 --- a/external-scripts.json +++ b/external-scripts.json @@ -1,6 +1,5 @@ [ "hubot-help", - "hubot-heroku-keepalive", "hubot-read-tweet", "hubot-redis-brain", "hubot-rules", @@ -9,5 +8,5 @@ "hubot-tell", "hubot-seen", "hubot-rss-reader", - "hubot-logger" + "hubot-remotestorage-logger" ] diff --git a/package.json b/package.json index 9362727..182c2e4 100644 --- a/package.json +++ b/package.json @@ -18,13 +18,12 @@ "hubot-plusplus": "^1.1.5", "hubot-read-tweet": "0.0.2", "hubot-redis-brain": "0.0.2", + "hubot-remotestorage-logger": "^0.2.0", "hubot-rules": "^0.1.0", "hubot-scripts": "^2.5.16", "hubot-seen": "https://github.com/67P/hubot-seen.git#fix_debug", "hubot-shipit": "^0.2.0", "hubot-tell": "^1.2.3", - "hubot-rss-reader": "git://github.com/67P/hubot-rss-reader.git", - "hubot-logger": "67P/hubot-logger#remotestorage", "request": "2.30.0" }, "engines": { diff --git a/run.sh b/run.sh index a24af22..31a0233 100755 --- a/run.sh +++ b/run.sh @@ -1,19 +1,19 @@ # cp ~/src/remotestorage/modules/src/chat-messages.js ~/src/kosmos/hubot-logger/lib/chat-messages.es6 -# rm -rf node_modules/hubot-logger +# rm -rf node_modules/hubot-remotestorage-logger # npm install HUBOT_IRC_SERVER="irc.freenode.net" \ HUBOT_IRC_ROOMS="#kosmos-dev,#kosmos-random" \ HUBOT_IRC_NICK="hal7000" \ -HUBOT_IRC_UNFLOOD="true" \ +HUBOT_IRC_UNFLOOD="300" \ HUBOT_RSS_PRINTSUMMARY="false" \ HUBOT_RSS_IRCCOLORS="true" \ HUBOT_RSS_HEADER="Update:" \ HUBOT_AUTH_ADMIN="bkero,derbumi,galfert,gregkare,jaaan,slvrbckt,raucao" \ LOG_HTTP_PORT=7000 \ LOG_STEALTH="true" \ -LOG_RS_USER="kosmos@5apps.com" \ -LOG_RS_TOKEN="change-me" \ -LOG_RS_SERVER_NAME="freenode" \ -LOG_RS_PUBLIC="true" \ +RS_LOGGER_USER="kosmos@5apps.com" \ +RS_LOGGER_TOKEN="change-me" \ +RS_LOGGER_SERVER_NAME="freenode" \ +RS_LOGGER_PUBLIC="true" \ bin/hubot -a irc --name hal7000