class Archive(Plugin):
- """Fetch package info from the archive
+ """Fetches package info from the archive
"""
+ #: Current stable Suite
stable_codename = 'buster'
+ #: Pakage name regexp
re_pkg = re_compile(r'(?P<package>[0-9a-z.+-]+)$')
def __init__(self, bot):
@botcmd
def archive(self, rcv, args):
- """Fetch pkg versions info from the archive:
+ """Fetches package info from the archive
- !archive pkg-name : Returns package versions (by suite)
- """
+ ``!archive pkg-name`` : Returns package versions (by suite)"""
if not args:
return
if len(args) > 1: