debian-4.0.5: Modules for working with the Debian package system
Safe HaskellSafe-Inferred
LanguageHaskell2010

Debian.Changes

Description

Changelog and changes file support.

Synopsis

Documentation

data ChangesFile Source #

A file generated by dpkg-buildpackage describing the result of a package build

Constructors

Changes 

Fields

newtype ChangeLog Source #

Constructors

ChangeLog [ChangeLogEntry] 

Instances

Instances details
Read ChangeLog Source # 
Instance details

Defined in Debian.Changes

Show ChangeLog Source # 
Instance details

Defined in Debian.Changes

Eq ChangeLog Source # 
Instance details

Defined in Debian.Changes

Pretty (PP ChangeLog) Source # 
Instance details

Defined in Debian.Changes

data ChangeLogEntry Source #

A changelog is a series of ChangeLogEntries

Constructors

Entry 
WhiteSpace String

The parser here never returns this

parseChangeLog :: String -> Either [[String]] ChangeLog Source #

Parse the entries of a debian changelog and verify they are all valid.

parseEntries :: String -> [Either [String] ChangeLogEntry] Source #

Parse a Debian Changelog and return a lazy list of entries

parseEntry :: String -> Either [String] (ChangeLogEntry, String) Source #

Parse a single changelog entry, returning the entry and the remaining text.

parseChanges :: Text -> Maybe ChangeLogEntry Source #

Parse the changelog information that shows up in the .changes file, i.e. a changelog entry with no signature.