From d3062d701f4066f79e4895fde998da595b448afc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A2u=20Cao?= Date: Wed, 28 Oct 2026 14:35:09 +0400 Subject: [PATCH] hubot: drop the unused hubot-auth script hubot-auth is CoffeeScript-only (needs porting) and nothing in the bots calls robot.auth; remove it from hal8000's external scripts and drop HUBOT_AUTH_ADMIN from both bots. --- site-cookbooks/kosmos-hubot/attributes/default.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/site-cookbooks/kosmos-hubot/attributes/default.rb b/site-cookbooks/kosmos-hubot/attributes/default.rb index 5f696be..6900e5d 100644 --- a/site-cookbooks/kosmos-hubot/attributes/default.rb +++ b/site-cookbooks/kosmos-hubot/attributes/default.rb @@ -33,7 +33,6 @@ default['kosmos-hubot']['bots'] = { 'HUBOT_IRC_REALNAME' => 'botka (kosmos)', 'HUBOT_IRC_ROOMS' => '#kosmos,#kosmos-dev,#kosmos-random,#remotestorage,#hackerbeach,#unhosted,#sockethub,#mastodon', 'HUBOT_IRC_UNFLOOD' => '100', - 'HUBOT_AUTH_ADMIN' => 'bkero,raucao', 'HUBOT_HELP_REPLY_IN_PRIVATE' => 'true', 'REDIS_URL' => 'redis://localhost:6379?botka', 'RS_LOGGER_USER' => 'kosmos@5apps.com', @@ -53,7 +52,7 @@ default['kosmos-hubot']['bots'] = { 'firewall' => { 'port' => 8082, 'source' => '10.1.1.0/24' }, 'external_scripts' => %w[ hubot-help hubot-redis-brain hubot-rules hubot-incoming-webhook - hubot-auth @kredits/hubot-kredits + @kredits/hubot-kredits ], 'secret_env' => { 'HUBOT_XMPP_PASSWORD' => 'xmpp_password', @@ -68,7 +67,6 @@ default['kosmos-hubot']['bots'] = { 'env' => { 'HUBOT_XMPP_USERNAME' => 'hal8000@kosmos.org/hubot', 'HUBOT_XMPP_ROOMS' => 'kosmos@kosmos.chat,kosmos-dev@kosmos.chat,kredits@kosmos.chat,info@kosmos.chat,ops@kosmos.chat', - 'HUBOT_AUTH_ADMIN' => '', 'HUBOT_HELP_REPLY_IN_PRIVATE' => 'true', 'HUBOT_RSS_PRINTSUMMARY' => 'false', 'HUBOT_RSS_PRINTERROR' => 'false',