Debian::WNPP::Bug - handy representation of Debian WNPP bug reports


DhMakePerl documentation  | view source Contained in the DhMakePerl distribution.

Index


NAME

Top

Debian::WNPP::Bug - handy representation of Debian WNPP bug reports

SYNOPSIS

Top

    my $b = Debian::WNPP::Bug->new(
        {   number            => 1234,
            title             => 'RFP: nice-package -- do nice things easier',
            type              => 'rfp',
            package           => 'nice-package',
            short_description => 'do nice things together',
            submitter         => "Joe Developer <joe@developer.local>"
        }
    );

    print "$b";     # 1234

CONSTRUCTOR

Top

new

Constructs new instance of the class. Initial values are to be given as a hash reference.

FIELDS

Top

number

The unique ID of the big in the BTS.

title

The title of the bug. Usually something like

    RFP: nice-package -- do nice things easier

type

The type of the WNPP bug. Either of:

RFP

request for package

ITP

intent to package

O

orphaned package

RFH

request for help

RFA

request for adoption

ITA

intent to adopt

package

Package name

short_description

The short description of the package

submitter

The bug sumbitter in the form Full Name <email@address>

OVERLOADS

Top

""

Debian::WNPPBug object instances stringify via the method as_string (as_string). The default as_string method returns the bug number.

METHODS

Top

type_and_number

Returns a string representing the bug type and number in the form TYPE #number, e.g. ITP #1234.

as_string

Uset for the "" overload. Returns the bug number.

AUTHOR

Top

Damyan Ivanov <dmn@debian.org>

COPYRIGHT & LICENSE

Top


DhMakePerl documentation  | view source Contained in the DhMakePerl distribution.