Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

parse::debianchangelog::util(3pm) [linux man page]

Parse::DebianChangelog::Util(3pm)			User Contributed Perl Documentation			 Parse::DebianChangelog::Util(3pm)

NAME
Parse::DebianChangelog::Util - utility functions for parsing Debian changelogs DESCRIPTION
This is currently only used internally by Parse::DebianChangelog. There may be still API changes until this module is finalized. Functions find_closes Takes one string as argument and finds "Closes: #123456, #654321" statements as supported by the Debian Archive software in it. Returns all closed bug numbers in an array reference. data2rfc822 Takes two hash references as arguments. The first should contain the data to output in RFC822 format. The second can contain a sorting order for the fields. The higher the numerical value of the hash value, the earlier the field is printed if it exists. Return the data in RFC822 format as string. data2rfc822_mult The first argument should be an array ref to an array of hash references. The second argument is a hash reference and has the same meaning as the second argument of data2rfc822. Calls data2rfc822 for each element of the array given as first argument and returns the concatenated results. get_dpkg_changes Takes a Parse::DebianChangelog::Entry object as first argument. Returns a string that is suitable for using it in a "Changes" field in the output format of "dpkg-parsechangelog". SEE ALSO
Parse::DebianChangelog, Parse::DebianChangelog::Entry AUTHOR
Frank Lichtenheld, <frank@lichtenheld.de> COPYRIGHT AND LICENSE
Copyright (C) 2005 by Frank Lichtenheld This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. 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 St, Fifth Floor, Boston, MA 02110-1301 USA perl v5.12.3 2011-05-07 Parse::DebianChangelog::Util(3pm)

Check Out this Related Man Page

Parse::DebianChangelog::Entry(3pm)			User Contributed Perl Documentation			Parse::DebianChangelog::Entry(3pm)

NAME
Parse::DebianChangelog::Entry - represents one entry in a Debian changelog SYNOPSIS
DESCRIPTION
Methods init Creates a new object, no options. new Alias for init. is_empty Checks if the object is actually initialized with data. Due to limitations in Parse::DebianChangelog this currently simply checks if one of the fields Source, Version, Maintainer, Date, or Changes is initalized. Accessors The following fields are available via accessor functions (all fields are string values unless otherwise noted): o Source o Version o Distribution o Urgency o ExtraFields (all fields except for urgency as hash) o Header (the whole header in verbatim form) o Changes (the actual content of the bug report, in verbatim form) o Trailer (the whole trailer in verbatim form) o Closes (Array of bug numbers) o Maintainer (name and email address) o Date o Timestamp (Date expressed in seconds since the epoche) o ERROR (last parse error related to this entry in the format described at Parse::DebianChangelog::get_parse_errors. SEE ALSO
Parse::DebianChangelog AUTHOR
Frank Lichtenheld, <frank@lichtenheld.de> COPYRIGHT AND LICENSE
Copyright (C) 2005 by Frank Lichtenheld This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. 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 St, Fifth Floor, Boston, MA 02110-1301 USA perl v5.12.3 2011-05-07 Parse::DebianChangelog::Entry(3pm)
Man Page