From 76250afc7cab2eb391680ce71f60e82c5b57b11d Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Tue, 26 Oct 2010 19:45:24 +0100 Subject: Change debianbugs.py to support bug numbers up to one million. --- debian/changelog | 6 ++++++ debianbugs.py | 11 ++++++----- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/debian/changelog b/debian/changelog index 62f2a80..2cc2131 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +xchat-plugins-liw (1.2) squeeze; urgency=low + + * Change debianbugs.py to support bug numbers up to one million. + + -- Lars Wirzenius Tue, 26 Oct 2010 19:44:54 +0100 + xchat-plugins-liw (1.1) squeeze; urgency=low * Upload to squeeze. diff --git a/debianbugs.py b/debianbugs.py index fe09d42..8e512e1 100644 --- a/debianbugs.py +++ b/debianbugs.py @@ -3,6 +3,7 @@ Place in your .xchat2 directory and either reload X-Chat or /PY LOAD topicdiff.py +0.6 26 Oct 2010 Allow bug numbers up to one million. 0.5 23 Jun 2008 Add support for Ubuntu/Launchpad. 0.4 21 May 2006 Change channel pattern from *debian* to *deb*. 0.3 12 Jun 2005 Limit bug numbers to be below 4e5 to reduce false @@ -13,20 +14,20 @@ Place in your .xchat2 directory and either reload X-Chat or topicdiff.py. """ -__author__ = "Lars Wirzenius " -__copyright__ = "Copyright 2004 Lars Wirzenius ." +__author__ = "Lars Wirzenius " +__copyright__ = "Copyright 2010 Lars Wirzenius ." __licence__ = "MIT" __module_name__ = "debianbugs" -__module_version__ = "0.5" +__module_version__ = "0.6" __module_description__ = \ - "Shows links to Debian bugs, when someone says #[number]" + "Shows links to Debian/Ubuntu bugs, when someone says #[number]" import re import xchat BUG_MIN = 10000 -BUG_MAX = 600000 +BUG_MAX = 1000000 patterns = { r"#.*deb.*": "http://bugs.debian.org/%s", -- cgit v1.2.1