dpkg::changelog::entry::debian(3) [linux man page]
Dpkg::Changelog::Entry::Debian(3) libdpkg-perl Dpkg::Changelog::Entry::Debian(3)NAME
Dpkg::Changelog::Entry::Debian - represents a Debian changelog entry
DESCRIPTION
This object represents a Debian changelog entry. It implements the generic interface Dpkg::Changelog::Entry. Only functions specific to
this implementation are described below.
VARIABLES
$regex_header, $regex_trailer are two regular expressions that can be used to match a line and know whether it's a valid header/trailer
line.
The matched content for $regex_header is the source package name ($1), the version ($2), the target distributions ($3) and the options on
the rest of the line ($4). For $regex_trailer, it's the maintainer name ($1), its email ($2), some blanks ($3) and the timestamp ($4).
FUNCTIONS
my @items = $entry->get_change_items()
Return a list of change items. Each item contains at least one line. A change line starting with an asterisk denotes the start of a
new item. Any change line like "[ Raphael Hertzog ]" is treated like an item of its own even if it starts a set of items attributed to
this person (the following line necessarily starts a new item).
my @errors = $entry->check_header()
my @errors = $entry->check_trailer()
Return a list of errors. Each item in the list is an error message describing the problem. If the empty list is returned, no errors
have been found.
$entry->normalize()
Normalize the content. Strip whitespaces at end of lines, use a single empty line to separate each part.
UTILITY FUNCTIONS
my @closed_bugs = find_closes($changes)
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.
AUTHOR
Raphael Hertzog <hertzog@debian.org>.
1.16.0.3 2012-04-17 Dpkg::Changelog::Entry::Debian(3)
Check Out this Related Man Page
Dpkg::Changelog::Parse(3) libdpkg-perl Dpkg::Changelog::Parse(3)NAME
Dpkg::Changelog::Parse - generic changelog parser for dpkg-parsechangelog
DESCRIPTION
This module provides a single function changelog_parse() which reproduces all the features of dpkg-parsechangelog.
Functions
my $fields = changelog_parse(%opt)
This function will parse a changelog. In list context, it return as many Dpkg::Control object as the parser did output. In scalar context,
it will return only the first one. If the parser didn't return any data, it will return an empty in list context or undef on scalar
context. If the parser failed, it will die.
The parsing itself is done by an external program (searched in the following list of directories: $opt{libdir},
/usr/local/lib/dpkg/parsechangelog, /usr/lib/dpkg/parsechangelog) That program is named according to the format that it's able to parse. By
default it's either "debian" or the format name lookep up in the 40 last lines of the changelog itself (extracted with this perl regular
expression "schangelog-format:s+([0-9a-z]+)W"). But it can be overridden with $opt{changelogformat}. The program expects the content of
the changelog file on its standard input.
The changelog file that is parsed is debian/changelog by default but it can be overridden with $opt{file}.
All the other keys in %opt are forwarded as parameter to the external parser. If the key starts with "-", it's passed as is. If not, it's
passed as "--<key>". If the value of the corresponding hash entry is defined, then it's passed as the parameter that follows.
1.16.15 2014-06-05 Dpkg::Changelog::Parse(3)
Hi,
can someone pls help resolves this problem.
I have an Openserver 5.0.4 running but had this error after having a power failure problem.
error: cannot access termainl control database entry
I have a arnetport also install with wyse 60 terminals, non of the users can have access on... (2 Replies)
I am scanning a file (line by line) for format errors. A line could have multiple errors. Each field in the line is evaluated for errors and sent, along w/ any error messages, to a temporary file. Finally, if any errors were detected, this temporary file is then appended to the errorFile. The... (4 Replies)
Hello,
I have two AIX 5.3 systems. One is at Technology Level 6 Service Pack 5, and the other is Technology Level 12 Service Pack 3. I was hoping to find a changelog of fixes made for a specific fileset (bos.net.tcp.server) between these two versions, but I can only seem to find changes made in... (3 Replies)
Hello All,
can someone please suggest me a one line command to change a specific value that is associated to an entry in the file.
for example
#more schedulefile
quartz.job.manual.bonus.schedule=0 0 9 ? * *
#
it should be changed to
#more schedulefile... (5 Replies)