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

Daniel Stender stender at debian.org
Fri Apr 15 08:43:55 UTC 2016


On 15.04.2016 02:10, Dmitry Smirnov wrote:
> 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.

Hi Dmitry,

thx for comments. Yes, vendoring would be another option. I'll see.

Best,
Daniel

-- 
4096R/DF5182C8
http://www.danielstender.com/blog/




More information about the Pkg-go-maintainers mailing list