[pkg-go] Bug#869989: golang-etcd-server-dev: circular dependency hell

2017-07-28 Thread Shengjing Zhu
Hi Bill,

IMHO, golang-github-spf13-cobra-dev can be avoid depending
golang-github-spf13-viper-dev

In package github.com/spf13/cobra, it only has github.com/spf13/pflag imported.
github.com/spf13/cobra/cobra can be removed from golang-github-spf13-cobra-dev,
it's only used for building `cobra` binary. I don't think other
packages will import it.

Regards,
Shengjing Zhu


On Fri, Jul 28, 2017 at 9:34 PM, Bill Allombert  wrote:
> Package: golang-etcd-server-dev
> Version: 3.1.8+dfsg-2
> Severity: important
>
> Hello Debian Go maintainers,
>
> There is a circular dependency between
> golang-etcd-server-dev, golang-github-spf13-cobra-dev,
> golang-github-spf13-viper-dev and
> golang-github-xordataexchange-crypt-dev:
>
> golang-etcd-server-dev:  Depends: golang-github-spf13-cobra-dev
> golang-github-spf13-cobra-dev:   Depends: golang-github-spf13-viper-dev (>= 
> 0.0~git20160605.0.c1ccc37)
> golang-github-spf13-viper-dev:   Depends: 
> golang-github-xordataexchange-crypt-dev
> golang-github-xordataexchange-crypt-dev :Depends: golang-etcd-server-dev
>
> Complex circular dependencies are known to cause problems during upgrade, so 
> we
> should try to avoid them.
>
> Also there is little point in having four separated -dev packages, if
> you have to install them all anyway.
>
> See threads
> http://lists.debian.org/debian-devel/2005/06/msg02111.html
> http://lists.debian.org/debian-devel/2005/11/msg01101.html
>
> Cheers,
> --
> Bill. 
>
> Imagine a large red swirl here.
>
> ___
> Pkg-go-maintainers mailing list
> Pkg-go-maintainers@lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-go-maintainers

___
Pkg-go-maintainers mailing list
Pkg-go-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-go-maintainers


[pkg-go] Bug#869989: golang-etcd-server-dev: circular dependency hell

2017-07-28 Thread Bill Allombert
Package: golang-etcd-server-dev
Version: 3.1.8+dfsg-2
Severity: important

Hello Debian Go maintainers,

There is a circular dependency between 
golang-etcd-server-dev, golang-github-spf13-cobra-dev, 
golang-github-spf13-viper-dev and 
golang-github-xordataexchange-crypt-dev:

golang-etcd-server-dev:  Depends: golang-github-spf13-cobra-dev
golang-github-spf13-cobra-dev:   Depends: golang-github-spf13-viper-dev (>= 
0.0~git20160605.0.c1ccc37)
golang-github-spf13-viper-dev:   Depends: 
golang-github-xordataexchange-crypt-dev
golang-github-xordataexchange-crypt-dev :Depends: golang-etcd-server-dev

Complex circular dependencies are known to cause problems during upgrade, so we
should try to avoid them.

Also there is little point in having four separated -dev packages, if
you have to install them all anyway.

See threads 
http://lists.debian.org/debian-devel/2005/06/msg02111.html
http://lists.debian.org/debian-devel/2005/11/msg01101.html

Cheers,
-- 
Bill. 

Imagine a large red swirl here. 

___
Pkg-go-maintainers mailing list
Pkg-go-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-go-maintainers