From 8ccf2c717553d45b9115604705ef955bd7e10db4 Mon Sep 17 00:00:00 2001 From: James Lu Date: Thu, 23 Jun 2022 13:09:23 -0700 Subject: [PATCH] PluginDownloader: drop legacy Python 2-only repos Most of these haven't been updated in ~10 years and are unlikely to work out of the box today (obsolete web APIs, etc.) --- plugins/PluginDownloader/plugin.py | 66 ------------------------------ plugins/PluginDownloader/test.py | 25 +---------- 2 files changed, 1 insertion(+), 90 deletions(-) diff --git a/plugins/PluginDownloader/plugin.py b/plugins/PluginDownloader/plugin.py index e88eb1e45..2c8d9155c 100644 --- a/plugins/PluginDownloader/plugin.py +++ b/plugins/PluginDownloader/plugin.py @@ -201,65 +201,11 @@ repositories = utils.InsensitivePreservingDict({ 'progval', 'Supybot-plugins' ), - 'quantumlemur': GithubRepository( - 'quantumlemur', - 'Supybot-plugins', - ), - 'stepnem': GithubRepository( - 'stepnem', - 'supybot-plugins', - ), - 'code4lib-snapshot':GithubRepository( - 'code4lib', - 'supybot-plugins', - 'Supybot-plugins-20060723', - ), - 'code4lib-edsu': GithubRepository( - 'code4lib', - 'supybot-plugins', - 'edsu-plugins', - ), - 'code4lib': GithubRepository( - 'code4lib', - 'supybot-plugins', - 'plugins', - ), - 'nanotube-bitcoin': GithubRepository( - 'nanotube', - 'supybot-bitcoin-' - 'marketmonitor', - ), - 'mtughan-weather': GithubRepository( - 'mtughan', - 'Supybot-Weather', - ), 'SpiderDave': GithubRepository( 'SpiderDave', 'spidey-supybot-plugins', 'Plugins', ), - 'doorbot': GithubRepository( - 'hacklab', - 'doorbot', - ), - 'boombot': GithubRepository( - 'nod', - 'boombot', - 'plugins', - ), - 'mailed-notifier': GithubRepository( - 'tbielawa', - 'supybot-mailed-notifier', - ), - 'pingdom': GithubRepository( - 'rynop', - 'supyPingdom', - 'plugins', - ), - 'scrum': GithubRepository( - 'amscanne', - 'supybot-scrum', - ), 'Hoaas': GithubRepository( 'Hoaas', 'Supybot-plugins' @@ -268,23 +214,11 @@ repositories = utils.InsensitivePreservingDict({ 'nyuszika7h', 'limnoria-plugins' ), - 'nyuszika7h-old': GithubRepository( - 'nyuszika7h', - 'Supybot-plugins' - ), - 'resistivecorpse': GithubRepository( - 'resistivecorpse', - 'supybot-plugins' - ), 'frumious': GithubRepository( 'frumiousbandersnatch', 'sobrieti-plugins', 'plugins', ), - 'jonimoose': GithubRepository( - 'Jonimoose', - 'Supybot-plugins', - ), 'skgsergio': GithubRepository( 'skgsergio', 'Limnoria-plugins', diff --git a/plugins/PluginDownloader/test.py b/plugins/PluginDownloader/test.py index e6d889bd3..e2b78bac2 100644 --- a/plugins/PluginDownloader/test.py +++ b/plugins/PluginDownloader/test.py @@ -62,7 +62,7 @@ class PluginDownloaderTestCase(PluginTestCase): def testRepolist(self): self.assertRegexp('repolist', '(.*, )?progval(, .*)?') - self.assertRegexp('repolist', '(.*, )?quantumlemur(, .*)?') + self.assertRegexp('repolist', '(.*, )?jlu5(, .*)?') self.assertRegexp('repolist progval', '(.*, )?AttackProtector(, .*)?') def testInstallprogval(self): @@ -76,29 +76,6 @@ class PluginDownloaderTestCase(PluginTestCase): self.assertRegexp('plugindownloader install progval Darcs', 'Error:.*not available.*supybot.commands.allowShell') - def testInstallQuantumlemur(self): - self.assertError('plugindownloader install quantumlemur AttackProtector') - self.assertNotError('plugindownloader install quantumlemur Listener') - self.assertError('plugindownloader install quantumlemur AttackProtector') - self._testPluginInstalled('Listener') - - def testInstallStepnem(self): - self.assertNotError('plugindownloader install stepnem Freenode') - self._testPluginInstalled('Freenode') - - def testInstallNanotubeBitcoin(self): - self.assertNotError('plugindownloader install nanotube-bitcoin GPG') - self._testPluginInstalled('GPG') - - def testInstallMtughanWeather(self): - self.assertNotError('plugindownloader install mtughan-weather ' - 'WunderWeather') - self._testPluginInstalled('WunderWeather') - - def testInstallSpiderDave(self): - self.assertNotError('plugindownloader install SpiderDave Pastebin') - self._testPluginInstalled('Pastebin') - def testInstallNonAsciiInit(self): self.assertNotError('plugindownloader install Hoaas DuckDuckGo') self._testPluginInstalled('DuckDuckGo')