[pkg-go] github.com/XXX/YYY vs gopkg.in/XXX/YYY.v1

Dmitry Smirnov onlyjob at debian.org
Tue May 24 21:29:02 UTC 2016


On Tuesday, 24 May 2016 1:20:34 PM AEST Vincent Bernat wrote:
> I need this package for use in gobgp which
> uses it through github.com/eapache/channels.
> 
> Should I package golang-github-eapache-channels-dev or
> golang-gopkg-eapache-channels.v1-dev?
> 
> In the first case, should I provide a symbolic link for
> gopkg.in/eapache/channels.v1 or wait for anything else needing this
> symbolic link?

I would go with first option because if package ever moves to .v2 you'll only 
need to update "Provides" field (and symlink). Providing compatibility 
symlink may be useful even if nobody uses it yet.

-- 
Best wishes,
 Dmitry Smirnov.

---

Good luck happens when preparedness meets opportunity.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-go-maintainers/attachments/20160525/c0120b22/attachment.sig>


More information about the Pkg-go-maintainers mailing list