debian: pault.ag/go/debian/changelog Index | Files

package changelog

import "pault.ag/go/debian/changelog"

Parse the Debian changelog format.

Index

Package Files

changelog.go doc.go

type ChangelogEntries Uses

type ChangelogEntries []ChangelogEntry

func Parse Uses

func Parse(reader io.Reader) (ChangelogEntries, error)

func ParseFile Uses

func ParseFile(path string) (ChangelogEntries, error)

type ChangelogEntry Uses

type ChangelogEntry struct {
    Source    string
    Version   version.Version
    Target    string
    Arguments map[string]string
    Changelog string
    ChangedBy string
    When      time.Time
}

A ChangelogEntry is the encapsulation for each entry for a given version in a series of uploads.

func ParseFileOne Uses

func ParseFileOne(path string) (*ChangelogEntry, error)

func ParseOne Uses

func ParseOne(reader *bufio.Reader) (*ChangelogEntry, error)

Package changelog imports 7 packages (graph) and is imported by 1 packages. Updated 2019-01-10. Refresh now. Tools for package owners.