Remove obsolete scripts/packages
We don't use OpenAssets anymore, and the logger is used from 67P/botka now.
This commit is contained in:
		
							parent
							
								
									fc35aefab0
								
							
						
					
					
						commit
						c569a7fda4
					
				| @ -9,8 +9,6 @@ | |||||||
|   "hubot-tell", |   "hubot-tell", | ||||||
|   "hubot-seen", |   "hubot-seen", | ||||||
|   "hubot-rss-reader", |   "hubot-rss-reader", | ||||||
|   "hubot-remotestorage-logger", |  | ||||||
|   "hubot-openassets", |  | ||||||
|   "hubot-incoming-webhook", |   "hubot-incoming-webhook", | ||||||
|   "hubot-yubikey-invalidation" |   "hubot-yubikey-invalidation" | ||||||
| ] | ] | ||||||
|  | |||||||
| @ -15,11 +15,9 @@ | |||||||
|     "hubot-help": "^0.1.1", |     "hubot-help": "^0.1.1", | ||||||
|     "hubot-incoming-webhook": "^1.0.1", |     "hubot-incoming-webhook": "^1.0.1", | ||||||
|     "hubot-irc": "^0.2.9", |     "hubot-irc": "^0.2.9", | ||||||
|     "hubot-openassets": "^0.9.0", |  | ||||||
|     "hubot-plusplus": "^1.1.5", |     "hubot-plusplus": "^1.1.5", | ||||||
|     "hubot-read-tweet": "0.0.2", |     "hubot-read-tweet": "0.0.2", | ||||||
|     "hubot-redis-brain": "0.0.2", |     "hubot-redis-brain": "0.0.2", | ||||||
|     "hubot-remotestorage-logger": "^0.4.0", |  | ||||||
|     "hubot-rss-reader": "git://github.com/67P/hubot-rss-reader.git", |     "hubot-rss-reader": "git://github.com/67P/hubot-rss-reader.git", | ||||||
|     "hubot-rules": "^0.1.0", |     "hubot-rules": "^0.1.0", | ||||||
|     "hubot-scripts": "^2.5.16", |     "hubot-scripts": "^2.5.16", | ||||||
|  | |||||||
							
								
								
									
										9
									
								
								run.sh
									
									
									
									
									
										
										
										Executable file → Normal file
									
								
							
							
						
						
									
										9
									
								
								run.sh
									
									
									
									
									
										
										
										Executable file → Normal file
									
								
							| @ -9,16 +9,9 @@ HUBOT_IRC_UNFLOOD="300" \ | |||||||
| HUBOT_RSS_PRINTSUMMARY="false" \ | HUBOT_RSS_PRINTSUMMARY="false" \ | ||||||
| HUBOT_RSS_IRCCOLORS="true" \ | HUBOT_RSS_IRCCOLORS="true" \ | ||||||
| HUBOT_RSS_HEADER="Update:" \ | HUBOT_RSS_HEADER="Update:" \ | ||||||
| HUBOT_AUTH_ADMIN="bkero,derbumi,galfert,gregkare,jaaan,slvrbckt,raucao" \ | HUBOT_AUTH_ADMIN="bkero,derbumi,galfert,gregkare,slvrbckt,raucao" \ | ||||||
| LOG_HTTP_PORT=7000 \ | LOG_HTTP_PORT=7000 \ | ||||||
| LOG_STEALTH="true" \ | LOG_STEALTH="true" \ | ||||||
| RS_LOGGER_USER="kosmos@5apps.com" \ |  | ||||||
| RS_LOGGER_TOKEN="change-me" \ |  | ||||||
| RS_LOGGER_SERVER_NAME="freenode" \ |  | ||||||
| RS_LOGGER_PUBLIC="true" \ |  | ||||||
| OA_BOT_KEYWORD="kreditz" \ |  | ||||||
| OA_ASSET_FROM_ADDRESS="akRWZJMETdM2U5UGKadKhv1PAj2npoGja1m" \ |  | ||||||
| OA_ASSET_ID="AbDn6L2AUGnDreUuNkGFEqcxnsoUP4HCjm" \ |  | ||||||
| WEBHOOK_TOKEN="kosmosplusplus" \ | WEBHOOK_TOKEN="kosmosplusplus" \ | ||||||
| HUBOT_YUBIKEY_API_ID="change-me" \ | HUBOT_YUBIKEY_API_ID="change-me" \ | ||||||
| bin/hubot -a irc --name hal7000 | bin/hubot -a irc --name hal7000 | ||||||
|  | |||||||
| @ -1,106 +0,0 @@ | |||||||
| # Description: |  | ||||||
| #   Example scripts for you to examine and try out. |  | ||||||
| # |  | ||||||
| # Notes: |  | ||||||
| #   They are commented out by default, because most of them are pretty silly and |  | ||||||
| #   wouldn't be useful and amusing enough for day to day huboting. |  | ||||||
| #   Uncomment the ones you want to try and experiment with. |  | ||||||
| # |  | ||||||
| #   These are from the scripting documentation: https://github.com/github/hubot/blob/master/docs/scripting.md |  | ||||||
| 
 |  | ||||||
| module.exports = (robot) -> |  | ||||||
| 
 |  | ||||||
|   # robot.hear /badger/i, (res) -> |  | ||||||
|   #   res.send "Badgers? BADGERS? WE DON'T NEED NO STINKIN BADGERS" |  | ||||||
|   # |  | ||||||
|   # robot.respond /open the (.*) doors/i, (res) -> |  | ||||||
|   #   doorType = res.match[1] |  | ||||||
|   #   if doorType is "pod bay" |  | ||||||
|   #     res.reply "I'm afraid I can't let you do that." |  | ||||||
|   #   else |  | ||||||
|   #     res.reply "Opening #{doorType} doors" |  | ||||||
|   # |  | ||||||
|   # robot.hear /I like pie/i, (res) -> |  | ||||||
|   #   res.emote "makes a freshly baked pie" |  | ||||||
|   # |  | ||||||
|   # lulz = ['lol', 'rofl', 'lmao'] |  | ||||||
|   # |  | ||||||
|   # robot.respond /lulz/i, (res) -> |  | ||||||
|   #   res.send res.random lulz |  | ||||||
|   # |  | ||||||
|   # robot.topic (res) -> |  | ||||||
|   #   res.send "#{res.message.text}? That's a Paddlin'" |  | ||||||
|   # |  | ||||||
|   # |  | ||||||
|   # enterReplies = ['Hi', 'Target Acquired', 'Firing', 'Hello friend.', 'Gotcha', 'I see you'] |  | ||||||
|   # leaveReplies = ['Are you still there?', 'Target lost', 'Searching'] |  | ||||||
|   # |  | ||||||
|   # robot.enter (res) -> |  | ||||||
|   #   res.send res.random enterReplies |  | ||||||
|   # robot.leave (res) -> |  | ||||||
|   #   res.send res.random leaveReplies |  | ||||||
|   # |  | ||||||
|   # answer = process.env.HUBOT_ANSWER_TO_THE_ULTIMATE_QUESTION_OF_LIFE_THE_UNIVERSE_AND_EVERYTHING |  | ||||||
|   # |  | ||||||
|   # robot.respond /what is the answer to the ultimate question of life/, (res) -> |  | ||||||
|   #   unless answer? |  | ||||||
|   #     res.send "Missing HUBOT_ANSWER_TO_THE_ULTIMATE_QUESTION_OF_LIFE_THE_UNIVERSE_AND_EVERYTHING in environment: please set and try again" |  | ||||||
|   #     return |  | ||||||
|   #   res.send "#{answer}, but what is the question?" |  | ||||||
|   # |  | ||||||
|   # robot.respond /you are a little slow/, (res) -> |  | ||||||
|   #   setTimeout () -> |  | ||||||
|   #     res.send "Who you calling 'slow'?" |  | ||||||
|   #   , 60 * 1000 |  | ||||||
|   # |  | ||||||
|   # annoyIntervalId = null |  | ||||||
|   # |  | ||||||
|   # robot.respond /annoy me/, (res) -> |  | ||||||
|   #   if annoyIntervalId |  | ||||||
|   #     res.send "AAAAAAAAAAAEEEEEEEEEEEEEEEEEEEEEEEEIIIIIIIIHHHHHHHHHH" |  | ||||||
|   #     return |  | ||||||
|   # |  | ||||||
|   #   res.send "Hey, want to hear the most annoying sound in the world?" |  | ||||||
|   #   annoyIntervalId = setInterval () -> |  | ||||||
|   #     res.send "AAAAAAAAAAAEEEEEEEEEEEEEEEEEEEEEEEEIIIIIIIIHHHHHHHHHH" |  | ||||||
|   #   , 1000 |  | ||||||
|   # |  | ||||||
|   # robot.respond /unannoy me/, (res) -> |  | ||||||
|   #   if annoyIntervalId |  | ||||||
|   #     res.send "GUYS, GUYS, GUYS!" |  | ||||||
|   #     clearInterval(annoyIntervalId) |  | ||||||
|   #     annoyIntervalId = null |  | ||||||
|   #   else |  | ||||||
|   #     res.send "Not annoying you right now, am I?" |  | ||||||
|   # |  | ||||||
|   # |  | ||||||
|   # robot.router.post '/hubot/chatsecrets/:room', (req, res) -> |  | ||||||
|   #   room   = req.params.room |  | ||||||
|   #   data   = JSON.parse req.body.payload |  | ||||||
|   #   secret = data.secret |  | ||||||
|   # |  | ||||||
|   #   robot.messageRoom room, "I have a secret: #{secret}" |  | ||||||
|   # |  | ||||||
|   #   res.send 'OK' |  | ||||||
|   # |  | ||||||
|   # robot.error (err, res) -> |  | ||||||
|   #   robot.logger.error "DOES NOT COMPUTE" |  | ||||||
|   # |  | ||||||
|   #   if res? |  | ||||||
|   #     res.reply "DOES NOT COMPUTE" |  | ||||||
|   # |  | ||||||
|   # robot.respond /have a soda/i, (res) -> |  | ||||||
|   #   # Get number of sodas had (coerced to a number). |  | ||||||
|   #   sodasHad = robot.brain.get('totalSodas') * 1 or 0 |  | ||||||
|   # |  | ||||||
|   #   if sodasHad > 4 |  | ||||||
|   #     res.reply "I'm too fizzy.." |  | ||||||
|   # |  | ||||||
|   #   else |  | ||||||
|   #     res.reply 'Sure!' |  | ||||||
|   # |  | ||||||
|   #     robot.brain.set 'totalSodas', sodasHad+1 |  | ||||||
|   # |  | ||||||
|   # robot.respond /sleep it off/i, (res) -> |  | ||||||
|   #   robot.brain.set 'totalSodas', 0 |  | ||||||
|   #   res.reply 'zzzzz' |  | ||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user