Safe Haskell | None |
---|---|
Language | Haskell98 |
Changelog and changes file support.
- data ChangesFile = Changes {}
- data ChangedFileSpec = ChangedFileSpec {}
- changesFileName :: ChangesFile -> String
- newtype ChangeLog = ChangeLog [ChangeLogEntry]
- data ChangeLogEntry
- = Entry {
- logPackage :: String
- logVersion :: DebianVersion
- logDists :: [ReleaseName]
- logUrgency :: String
- logComments :: String
- logWho :: String
- logDate :: String
- | WhiteSpace String
- = Entry {
- parseChangeLog :: String -> Either [[String]] ChangeLog
- parseEntries :: String -> [Either [String] ChangeLogEntry]
- parseEntry :: String -> Either [String] (ChangeLogEntry, String)
- parseChanges :: Text -> Maybe ChangeLogEntry
Documentation
data ChangesFile Source #
A file generated by dpkg-buildpackage describing the result of a package build
Changes | |
|
changesFileName :: ChangesFile -> String Source #
data ChangeLogEntry Source #
A changelog is a series of ChangeLogEntries
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.