[pkg-go] my first pkg-go package: golang-petname

Potter, Tim (HPE Linux Support) timothy.potter at hpe.com
Wed Sep 28 22:52:06 UTC 2016

On 29 Sep 2016, at 2:32 AM, Jonathan Dowland <jmtd at debian.org> wrote:
> Hi,
> I've prepared my first package intended to be part of the team, I'd appreciate
> it if anyone had the time to give the source a once-over
> 	git.debian.org/git/pkg-go/packages/golang-petname.git

Hi Jonathan.  Here are my quick notes, although I wasn't able to build as there is no
upstream source.

* rename git repo and source package to golang-github-dustinkirkland-golang-petname
* remove unneeded override_dh_install target from r/rules
* maybe add remark about d/update-wordlists.sh to d/README.source?
* remove unneeded lintian overrides
* add upstream and pristine-tar branches (running "gbp import-dsc --pristine-tar" should do the trick)
* are d/*.install files necessary?  I thought the binary and manage were installed automatically by other parts of dh
* update Vcs-* fields
* set section and priority to "devel" and "extra"
* set homepage to project github page
* is dh-exec used anymore? if not remove from B-Ds

The source and binary package names are a bit irksome.  Technically the source package should
be golang-github-dustinkirckland-golang-petname and the binary package the same, but that's
such an awful name for a binary package - golang-petname is much better.  That leaves:

source package: golang-github-dustinkirckland-golang-petname
package with binary: golang-petname
dev package: golang-github-dustinkirckland-golang-petname-dev

Which I think isn't too bad.


> It's derived from the Ubuntu packaging. The key differences are
> * removal of the shared library
> * removal of build-dep on golang-any-shared-dev (I don't think we need an
>   alternative here?)
> * renaming of golang-petname-dev to golang-github-dustinkirkland-golang-petname-dev.
>   The latter is policy-compliant, and a virtual package (depending on the former)
>   in Ubuntu. but, I don't think we need the cost of the virtual package in Debian.
> Thanks,
> --
> Jonathan Dowland
> _______________________________________________
> Pkg-go-maintainers mailing list
> Pkg-go-maintainers at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-go-maintainers

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.alioth.debian.org/pipermail/pkg-go-maintainers/attachments/20160928/298493b8/attachment.sig>

More information about the Pkg-go-maintainers mailing list