• Stars
    star
    368
  • Rank 115,958 (Top 3 %)
  • Language
    Go
  • License
    BSD 3-Clause "New...
  • Created over 9 years ago
  • Updated 11 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Automatically creates Debian packaging for Go packages

CI Test

dh-make-golang is a tool to automatically create Debian packaging for Go packages. Its goal is to automate away as much of the work as possible when creating a Debian package for a Go library package or Go program.

Overview

All you need to specify is a Go package name. In your current working directory, a new directory will be created containing a git repository. Inside that repository, you’ll find the Go package’s source code plus the necessary Debian packaging files to build a Debian package. The packaging adheres to the pkg-go packaging guidelines and hence can be placed alongside the other team-maintained packages in pkg-go, hosted on Debian’s salsa.

Usage/example

For an introductory example, see this annotated demonstration of how to use dh-make-golang.

dh-make-golang’s usage of the internet

dh-make-golang makes heavy use of online resources to improve the resulting package. 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 its dependencies will be downloaded. This step can quickly cause dozens of megabytes to be transferred, so be careful if you are on a metered internet connection.
  • The output of filter-packages.sh, hosted on https://people.debian.org/~stapelberg/dh-make-golang/. This is used to figure out whether dependencies are already packaged in Debian, and whether you are about to duplicate somebody else’s work.
  • GitHub’s API, to get the license, repository creator, description and README for Go packages hosted on GitHub.

More Repositories

1

apt

Mirror of the apt git repository - This is just a mirror of the upstream repository, please submit pull requests there: https://salsa.debian.org/apt-team/apt
C++
533
star
2

dcs

Debian Code Search (codesearch.debian.net) is a search engine that searches through all the 130 GB of open source software that is included in Debian. Supports regular expressions!
Go
194
star
3

debiman

debiman generates a static manpage HTML repository out of a Debian archive
Go
181
star
4

raspi3-image-spec

contains the files to build the https://wiki.debian.org/RaspberryPi3 image
127
star
5

.github

Description of the purpose for this GitHub organization
74
star
6

debhelper

Perl
39
star
7

devscripts

Mirror of https://salsa.debian.org/debian/devscripts.git
Perl
31
star
8

ratt

Rebuild All The Things!
Go
30
star
9

debsources

Mirrored from https://salsa.debian.org/qa/debsources
Python
22
star
10

pk4

make available the Debian source package producing the specified package
Go
21
star
11

mergebot

Minimize the number of steps required to accept contributions for Debian packages you maintain.
Go
17
star
12

dak

[MIRROR] - send patches to https://salsa.debian.org/ftp-team/dak
Python
16
star
13

dput-ng

[MIRROR] - do not open PRs here
Python
14
star
14

tensorflow

C++
11
star
15

debile

[MIRROR] - actually hosted @ git.d.o
Python
10
star
16

java-package

Utility for creating Java Debian packages (mirrored from git.debian.org)
Shell
9
star
17

britney2

Python
8
star
18

openjdk-8

OpenJDK 8 packaging for Debian (mirrored from git.debian.org)
7
star
19

pkg-go-tools

tools (implemented in Go) for the pkg-go Debian packaging team
Go
6
star
20

docker.io

Debian Docker packaging
6
star
21

kfreebsd-11

6
star
22

ud

a reimplementation of Debian's userdir-ldap, leveraging the Django framework
Python
4
star
23

intel-mkl

[Mirror] https://salsa.debian.org/science-team/intel-mkl
3
star
24

freebsd-utils

3
star
25

spdx-licenses

Packaging data for spdx-licenses
3
star
26

pytorch

PyTorch Debian Packaging (Mirrored from Salsa)
C++
2
star
27

freebsd-buildutils

2
star
28

rsnapshot

Debian packaging for rsnapshot
2
star
29

kfreebsd-10

2
star
30

freebsd-libs

2
star
31

ctfutils

2
star
32

xserver-xorg-video-nv

2
star
33

ufsutils

2
star
34

firewoes

[MIRROR ONLY] - real repo at git://git.upsilon.cc/firewose.git
Python
2
star
35

cdbs

Read only mirror of https://alioth.debian.org/anonscm/git/collab-maint/cdbs.git
Shell
2
star
36

zfsutils

1
star
37

cuse4bsd

1
star
38

kfreebsd-downloader-10

1
star
39

freebsd-manpages

1
star
40

istgt

1
star
41

freebsd-glue

C
1
star
42

fuse4bsd

1
star
43

kfreebsd-defaults

1
star
44

kfreebsd-kernel-headers

C
1
star
45

freebsd-quota

1
star
46

freebsd-smbfs

1
star