[pkg-go] Bug#898396: dh-make-golang estimate: order missing packages by packaging order based on dependency chains
Paul Wise
pabs at debian.org
Fri May 11 05:48:17 BST 2018
Package: dh-make-golang
Version: 0.0~git20180410.bcfd5bf-1
Severity: wishlist
I tried to estimate the work needed to bring git-lab (command-line
gitlab API client) to Debian. Since the git-lab repo was printed first
I assumed I should start at the bottom. When I started at the bottom I
got two warnings listing two of the other dependencies. It would be
nice if the missing packages were ordered by the order in which they
should be packaged in order to satisfy the dependencies of the missing
packages. This would avoid having to manually discover that order by
packaging each dependency in a random order.
$ dh-make-golang estimate github.com/zaquestion/lab
2018/05/11 12:34:00 found github.com/mattn/go-runewidth in Debian package golang-github-mattn-go-runewidth-dev
2018/05/11 12:34:00 found github.com/mitchellh/mapstructure in Debian package golang-github-mitchellh-mapstructure-dev
2018/05/11 12:34:00 found golang.org/x/crypto in Debian package golang-golang-x-crypto-dev
2018/05/11 12:34:00 found golang.org/x/text in Debian package golang-x-text-dev
2018/05/11 12:34:00 found github.com/stretchr/testify in Debian package golang-github-stretchr-testify-dev
2018/05/11 12:34:00 found github.com/google/go-querystring in Debian package golang-github-google-go-querystring-dev
2018/05/11 12:34:00 found github.com/smartystreets/goconvey in Debian package golang-github-smartystreets-goconvey-dev
2018/05/11 12:34:00 found github.com/pkg/errors in Debian package golang-github-pkg-errors-dev
2018/05/11 12:34:00 found github.com/russross/blackfriday in Debian package golang-github-russross-blackfriday-dev
2018/05/11 12:34:00 found github.com/spf13/pflag in Debian package golang-github-spf13-pflag-dev
2018/05/11 12:34:00 found github.com/hashicorp/hcl in Debian package golang-github-hashicorp-hcl-dev
2018/05/11 12:34:00 found github.com/fsnotify/fsnotify in Debian package golang-github-go-fsnotify-fsnotify-dev
2018/05/11 12:34:00 found gopkg.in/yaml.v2 in Debian package golang-yaml.v2-dev
2018/05/11 12:34:00 found github.com/spf13/afero in Debian package golang-github-spf13-afero-dev
2018/05/11 12:34:00 found github.com/onsi/gomega in Debian package golang-gomega-dev
2018/05/11 12:34:00 found github.com/spf13/cast in Debian package golang-github-spf13-cast-dev
2018/05/11 12:34:00 found golang.org/x/sys in Debian package golang-golang-x-sys-dev
2018/05/11 12:34:00 found github.com/davecgh/go-spew in Debian package golang-github-davecgh-go-spew-dev
2018/05/11 12:34:00 found github.com/pelletier/go-toml in Debian package golang-github-pelletier-go-toml-dev
2018/05/11 12:34:00 found github.com/spf13/cobra in Debian package golang-github-spf13-cobra-dev
2018/05/11 12:34:00 found github.com/mitchellh/go-homedir in Debian package golang-github-mitchellh-go-homedir-dev
2018/05/11 12:34:00 found github.com/magiconair/properties in Debian package golang-github-magiconair-properties-dev
2018/05/11 12:34:00 found github.com/pmezard/go-difflib in Debian package golang-github-pmezard-go-difflib-dev
2018/05/11 12:34:00 found github.com/spf13/viper in Debian package golang-github-spf13-viper-dev
2018/05/11 12:34:00 found github.com/BurntSushi/toml in Debian package golang-toml-dev
2018/05/11 12:34:00 found gopkg.in/check.v1 in Debian package golang-gopkg-check.v1-dev
2018/05/11 12:34:00 found github.com/cpuguy83/go-md2man in Debian package golang-github-cpuguy83-go-md2man-dev
2018/05/11 12:34:00 found github.com/spf13/jwalterweatherman in Debian package golang-github-spf13-jwalterweatherman-dev
2018/05/11 12:34:00 Bringing github.com/zaquestion/lab to Debian requires packaging the following Go packages:
github.com/zaquestion/lab
github.com/tcnksm/go-gitconfig
github.com/rivo/tview
github.com/gdamore/encoding
github.com/lucasb-eyer/go-colorful
gopkg.in/DATA-DOG/go-sqlmock.v1
github.com/avast/retry-go
github.com/xanzy/go-gitlab
github.com/gdamore/tcell
$ dh-make-golang make github.com/gdamore/tcell
2018/05/11 12:34:50 Downloading "github.com/gdamore/tcell/..."
2018/05/11 12:34:58 Determining upstream version number
2018/05/11 12:34:58 Package version is "1.0.0+git20180503.3d5f294"
2018/05/11 12:34:58 Determining dependencies
2018/05/11 12:35:12 Build-Dependency "github.com/lucasb-eyer/go-colorful" is not yet available in Debian, or has not yet been converted to use XS-Go-Import-Path in debian/control
2018/05/11 12:35:12 Build-Dependency "github.com/gdamore/encoding" is not yet available in Debian, or has not yet been converted to use XS-Go-Import-Path in debian/control
2018/05/11 12:35:17
2018/05/11 12:35:17 Packaging successfully created in /home/pabs/work/frisk/pkg/golang-github-gdamore-tcell
2018/05/11 12:35:17
2018/05/11 12:35:17 Resolve all TODOs in itp-golang-github-gdamore-tcell.txt, then email it out:
2018/05/11 12:35:17 sendmail -t < itp-golang-github-gdamore-tcell.txt
2018/05/11 12:35:17
2018/05/11 12:35:17 Resolve all the TODOs in debian/, find them using:
2018/05/11 12:35:17 grep -r TODO debian
2018/05/11 12:35:17
2018/05/11 12:35:17 To build the package, commit the packaging and use gbp buildpackage:
2018/05/11 12:35:17 git add debian && git commit -a -m 'Initial packaging'
2018/05/11 12:35:17 gbp buildpackage --git-pbuilder
2018/05/11 12:35:17
2018/05/11 12:35:17 To create the packaging git repository on salsa, use:
2018/05/11 12:35:17 dh-make-golang create-salsa-project golang-github-gdamore-tcell
2018/05/11 12:35:17
2018/05/11 12:35:17 Once you are happy with your packaging, push it to salsa using:
2018/05/11 12:35:17 git remote set-url origin git at salsa.debian.org:go-team/packages/golang-github-gdamore-tcell.git
2018/05/11 12:35:17 gbp push
-- System Information:
Debian Release: buster/sid
APT prefers testing-debug
APT policy: (900, 'testing-debug'), (900, 'testing'), (800, 'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.16.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8), LANGUAGE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages dh-make-golang depends on:
ii git 1:2.17.0-1
ii git-buildpackage 0.9.8
ii golang-any 2:1.10~5
ii libc6 2.27-3
ii pristine-tar 1.42
Versions of packages dh-make-golang recommends:
ii exim4-daemon-light [mail-transport-agent] 4.91-3
dh-make-golang suggests no packages.
-- no debconf information
--
bye,
pabs
https://wiki.debian.org/PaulWise
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/pkg-go-maintainers/attachments/20180511/98259eab/attachment.sig>
More information about the Pkg-go-maintainers
mailing list