[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Packaging of sigstore-go



On Tue, Jan 21, 2025 at 02:45:35PM +0100, Simon Josefsson wrote:
> "Loren M. Lang" <lorenl@north-winds.org> writes:

> > As far as the policy for this package, I am basing it on what I get from
> > dh-make-golang. This is the command I started with when I began bundling
> > this package a few days ago:
> >
> >     dh-make-golang make -dep14 -git_revision v0.6.2 -type both \
> >     -upstream_git_history -wrap-and-sort ast github.com/sigstore/sigstore-go
> >
> > With -type prog, it will name it as sigstore-go, but with both or
> > library as the type, it uses the full module name.
> 
> Try '-type p+l' and you should get the source/binary package naming
> style I used.
> 

Interesting, I didn't realize it had both a p+l and l+p configuration.
Also, since I wrote that email, I've now run into other packages that
used the p+l configuration. Interesting though the aliases that they
added for them, both is l+p but combined is p+l. I'm curious if there is
a consensus from the Go Team on which case one is better than the other.

-- 
Loren M. Lang
lorenl@north-winds.org
http://www.north-winds.org/
IRC: penguin359


Public Key: http://www.north-winds.org/lorenl_pubkey.asc
Fingerprint: 7896 E099 9FC7 9F6C E0ED  E103 222D F356 A57A 98FA

Attachment: signature.asc
Description: PGP signature


Reply to: