[pkg-go] a mutual dependency problem (Packer)

Dmitry Smirnov onlyjob at debian.org
Fri Apr 15 00:10:54 UTC 2016


On Thursday, 14 April 2016 10:38:15 PM AEST Daniel Stender wrote:
> I have an idea but wanted to poll, how could get they both in the best way?
 
Not sure for "best way" but here some ideas how this problem could be 
addressed:

Sometimes one dependency required only by tests. In such case it may be safe 
to disable corresponding tests in order to break/remove circular dependency.

Since Packer appears to be a bigger package it is likely that you are 
packaging "winrmcp" merely to satisfy dependency of Packer. There are two 
options:

 * To keep bundled/vendored version of "winrmcp" in Packer and do not package 
"winrmcp" separately;

 * To keep bundled/vendored portion of Packer code in "winrmcp".

I would investigate those options in given order. Whatever you choose please 
remember to leave a note explaining your decision in README.source.

-- 
Best wishes,
 Dmitry Smirnov.

---

For a creative writer possession of the 'truth' is less important than
emotional sincerity.
        -- George Orwell
-------------- 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/20160415/71d2fddb/attachment.sig>


More information about the Pkg-go-maintainers mailing list