deb

package module
v0.0.0-...-9a1b228 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 6, 2016 License: MIT Imports: 11 Imported by: 0

README

deb

Various toolings around debian package lists, mirrors and changelogs

[![Build Status][1]][2] [![GoDoc][3]][4]

LICENSE

BSD

documentation

package documentation at godoc.org or gowalker.org

build and install

install from source

Install [Go 1][5], either [from source][6] or [with a prepackaged binary][7].

Then run

go get github.com/nightlyone/deb

LICENSE

BSD

documentation

contributing

Contributions are welcome. Please open an issue or send me a pull request for a dedicated branch. Make sure the git commit hooks show it works.

git commit hooks

enable commit hooks via

    cd .git ; rm -rf hooks; ln -s ../git-hooks hooks ; cd ..

References: [1]: https://secure.travis-ci.org/nightlyone/deb.png [2]: http://travis-ci.org/nightlyone/deb [3]: https://godoc.org/github.com/nightlyone/deb?status.png [4]: https://godoc.org/github.com/nightlyone/deb [5]: http://golang.org [6]: http://golang.org/doc/install/source [7]: http://golang.org/doc/install

Documentation

Overview

Package deb provides helpers to interact with data and metadata hidden in debian packages.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Package

type Package struct {
	Name, Version, Arch string
	// contains filtered or unexported fields
}

Package represents a debian Package on disk

func NewPackage

func NewPackage(file string) *Package

NewPackage provides information of a debian Package on disk

func (*Package) Find

func (p *Package) Find(file string) (io.ReadCloser, error)

Find a file archived in this Debian package

func (*Package) Source

func (p *Package) Source() (string, error)

Source package this Debian package was generated from

Directories

Path Synopsis
Package changelog provides helpers to parse a typical Debian changelog file found in packages generated from source packages.
Package changelog provides helpers to parse a typical Debian changelog file found in packages generated from source packages.
cmd
Package diff calculates changes in Debian package lists.
Package diff calculates changes in Debian package lists.
Package repository supports a debian repository according to https://wiki.debian.org/RepositoryFormat
Package repository supports a debian repository according to https://wiki.debian.org/RepositoryFormat

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL