- Notifications
You must be signed in to change notification settings - Fork83
Automatically creates Debian packaging for Go packages
License
Debian/dh-make-golang
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
dh-make-golang is a tool to automatically create Debian packaging for Gopackages. Its goal is to automate away as much of the work as possible whencreating a Debian package for a Go library package or Go program.
All you need to specify is a Go package name. In your current workingdirectory, a new directory will be created containing a git repository. Insidethat repository, you’ll find the Go package’s source code plus the necessaryDebian packaging files to build a Debian package. The packaging adheres to thepkg-go packaging guidelinesand hence can be placed alongside the otherteam-maintained packages inpkg-go, hosted on Debian’ssalsa.
For an introductory example, seethis annotated demonstration of how to usedh-make-golang.
dh-make-golang makes heavy use of online resources to improve the resultingpackage. In no particular order and depending on where your package is hosted,dh-make-golang may query:
- By virtue of using
go get, the specified Go package and all of itsdependencies will be downloaded. This step can quickly cause dozens ofmegabytes to be transferred, so be careful if you are on a metered internetconnection. - The output offilter-packages.sh,hosted onhttps://people.debian.org/~stapelberg/dh-make-golang/. This is usedto figure out whether dependencies are already packaged in Debian, andwhether you are about to duplicate somebody else’s work.
- GitHub’s API, to get the license, repository creator, description and READMEfor Go packages hosted on GitHub.
About
Automatically creates Debian packaging for Go packages
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Uh oh!
There was an error while loading.Please reload this page.