On Tue, Mar 12, 2019 at 11:25 PM rajudev <raju...@disroot.org> wrote: > > > Shengjing Zhu writes: > > > Hi Raju, > > Ni Hao :) > > > > This package seems problematic in other perspective, > Indeed it is confusing. > > > > golang-github-data-dog-go-sqlmock-dev is already in archive, and can > > be imported as gopkg.in/DATA-DOG/go-sqlmock.v1 or > > github.com/DATA-DOG/go-sqlmock. > > > > So this package is duplicated. > > I think no. > > > > > gopkg.in/DATA-DOG/go-sqlmock.v1 is not in > > src:golang-github-data-dog-go-sqlmock's Go-Import-Path field, this > > should be fixed in golang-github-data-dog-go-sqlmock. I think that's > > why you were not aware, and upload a new one. > I did looked at the other package and I was aware. > > then I looked at https://gopkg.in/DATA-DOG/go-sqlmock.v1 > > The upstream maintains three different versions of the same package. > And authors of other golang packages use different versions in there code.
the current version + golang-gopkg-data-dog-go-sqlmock.v1-dev is 1.3.0-1 + golang-github-data-dog-go-sqlmock-dev is 1.3.0-1 They are the same version, and same code. So it's duplicated. And as I said before, golang-github-data-dog-go-sqlmock-dev can be used for package which imports gopkg.in/DATA-DOG/go-sqlmock.v1. Please just think why it installs a symlink named /usr/share/gocode/src/gopkg.in/DATA-DOG/go-sqlmock.v1. And take prometheus-mysqld-exporter package as example, it imports gopkg.in/DATA-DOG/go-sqlmock.v1 and build fine with golang-github-data-dog-go-sqlmock-dev. > > The efforts behind this package were made as it is a dependency for > micro text editor, which is now in upload queue. > > https://ftp-master.debian.org/new/micro_1.4.1-1.html > I don't see golang-gopkg-data-dog-go-sqlmock.v1-dev is in micro's Build-Depends. > > > > > I think file a RM request for ftp-master is the solution here. > > If we file an RM request for this one, it will break micro. > > I am open to any suggestions, or comments on the situation. > > ----- > rajudev -- Shengjing Zhu