Commit Graph

28 Commits

Author SHA1 Message Date
Krytarik Raido 987b3c91fa PackageInfo: Add 'releases' command to list all valid releases.
* Instead no longer include those in error message on invalid releases.
* But add setting to send list of valid releases in private on error.
* Minor fixes to Encyclopedia along the way.
* Update default configuration.
2021-06-13 00:23:04 +02:00
Krytarik Raido 5753ecf12d PackageInfo: Avoid newlines getting in output. 2020-12-03 01:23:04 +01:00
Krytarik Raido b27c23725b PackageInfo: Add option to look up source packages too.
* Improve error handling.
* Improve output formatting.
2019-05-30 14:04:04 +02:00
Krytarik Raido 9bf38fa948 PackageInfo: Fix 'find' output limitation. 2019-05-25 09:34:04 +02:00
Krytarik Raido 3e194ca516 PackageInfo: Round package size in output.
<https://salsa.debian.org/webmaster-team/packages/blob/master/lib/Packages/DoShow.pm#L230>
2018-08-28 01:34:04 +02:00
Krytarik Raido af7578e888 PackageInfo: Update for apt-file 3 2018-05-16 23:45:04 +02:00
Krytarik Raido 398247f0dd PackageInfo: General overhaul.
* Add full support for Debian releases.
* Unify and simplify piping and redirection.
* Various general and minor improvements.
* Switch architecture for infos to amd64.
* Update default configuration.
* Improve APT update scripts.
2018-05-16 23:45:04 +02:00
Krytarik Raido 4956995f9a PackageInfo: Various improvements (by Valentin Lorentz)
* Add depends command.
* Improve handling of find and info.
* Fix crash by double reloading.
* Fix shell code injection vulnerability.
2018-05-16 23:45:04 +02:00
Krytarik Raido 075b45ce9f PackageInfo: Add Python 3 support (by Valentin Lorentz) 2018-05-16 23:45:04 +02:00
Terence Simpson af6c250eed [PackageInfo]
* Work with packages that have a version of less than 0
2014-11-05 11:42:35 +00:00
tsimpson 2cef319400 Replace deprecated use of apt.VersionCompare with apt.apt_pkg.version_compare 2013-10-30 23:34:45 +00:00
tsimpson b038dca49c Bugtracker: Fix bugSnarfer regex to (finally) detect "tracker: #number" format
PackageInfo: Force apt-file to i386 architecture, as update_apt_file only grabs that anyway
2012-09-27 13:16:42 +01:00
tsimpson a3027d3eea actually fix number of string format arguments 2012-04-12 21:03:02 +01:00
tsimpson 03ce743951 fix number of string format arguments 2012-04-12 20:49:50 +01:00
tsimpson 72bbcdc34b Workaround translations in apt-cache 2012-04-11 00:48:30 +01:00
tsimpson f0d7e799d1 Merge ubottu Bugtracker with bzr.
Treat the Architecture key from apt-cache as a list, rather than a single string.
2012-04-10 14:05:29 +01:00
Terence Simpson fb70eb9e5d Bug-Fix: "local variable 'distro' referenced before assignment" error in PackageInfo (LP: #623639) 2010-11-19 14:11:23 +00:00
Terence Simpson be8346a7bf PackageInfo: !find now returns up to 10 matches and provides a link to packages.ubuntu.com for larger matches 2010-09-04 16:19:46 +01:00
Terence Simpson ad7a493262 Update copyright/license/author/contributors information
Make sure all files have encoding set to utf-8 unless they already have an encoding
Added COPYING with contense of GPL-2
Added plugin name prefix to all log output. This should take the form of self.log.severity("Plugin: message"),
when not logging from plugin.py use: "Plugin/file_without_dot_py: message"
Bantracker: Made the confgure() function do something, it also creates an initial database if it doesn't exist
Encyclopedia: Made the configure() function do something, it also creates an initial database if it doesn't exist
PackageInfo: Improve the configure() function, it also now creates some initial .list files and prompts to run update_apt and update_apt_file
This goes some way to getting an "ubottu" package together, all we need to do is patch supybot-wizard to download the plugins
from bzr and put them somewhere supybot will see them, then the wizard will do all the initial setup
2010-05-24 14:38:06 +01:00
Terence Simpson 0320609071 use /usr/bin/env for #! lines 2010-05-19 14:11:16 +01:00
Terence Simpson f757b715bd Add flood protection to PackageInfo (LP: #561908)
update copyright stuff.
2010-04-13 02:12:54 +01:00
Terence Simpson 07ef244648 Remove call to getUrl(), not implemented 2009-11-25 16:33:07 +00:00
Terence Simpson 55f88b5a60 * Fix a couple more typos/strange supybot errors.
* partial work on LP: #448619
2009-10-15 23:06:18 +01:00
Terence Simpson 7791f6e416 Resync all running ubottu code to bzr branch, they should now be in sync again 2009-10-12 19:26:35 +01:00
Terence Simpson 523cb40ba1 Another code dump 2009-01-19 22:26:32 +00:00
Terence Simpson f0e2dffbe2 Update code from working branch and fix a couple of bugs 2009-01-19 22:10:51 +00:00
Terence Simpson d7aa038d05 Fix "Package ... does not exist in ..." message 2008-11-09 01:59:46 +00:00
Terence Simpson 885ad30ded Added PackageInfo plugin.
Moved package info/lookup to PackageInfo plugin
2008-10-22 18:31:40 +01:00