Scroll to navigation

Debian::WNPP::Bug(3pm) User Contributed Perl Documentation Debian::WNPP::Bug(3pm)

NAME

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

SYNOPSIS

    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

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

FIELDS

The unique ID of the big in the BTS.
The title of the bug. Usually something like

    RFP: nice-package -- do nice things easier
    
The type of the WNPP bug. Either of:
request for package
intent to package
orphaned package
request for help
request for adoption
intent to adopt
Package name
The short description of the package
The bug submitter in the form "Full Name <email@address>"

OVERLOADS

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

METHODS

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

AUTHOR

COPYRIGHT & LICENSE

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

2020-02-22 perl v5.30.0