Dear all,

On Wed, Oct 28, 2020 at 12:18 PM Martina Ferrari <[email protected]> wrote:
>
> Hi!
>
> On 28/10/2020 15:06, Shengjing Zhu wrote:
> >> This bug is actually on the golang-github-nicksnyder-go-i18n-dev
> >> package. It seems the last upload brought a new API version, which
> >> changes import paths, and probably other API breaks. This should have
> >> been a new binary package and not an upgrade!
> >
> > The change in src:golang-github-nicksnyder-go-i18n could be reverted.
> > The v2 version is already packaged as a separated source
> > https://tracker.debian.org/pkg/golang-github-nicksnyder-go-i18n.v2
>
> I missed that there was already a v2 upload.. I really don't know what
> are the plans upstream, or whether this did more than changing the
> import path, but I think it would be good to upload some fix to the
> current situation.. In general, I think we should adopt a team policy
> regarding API breakages, similar to SONAME handling.

Sorry for the trouble caused by my upload of
golang-github-nicksnyder-go-i18n (2.1.1-1).
I thought no more package depends on golang-github-nicksnyder-go-i18n
v1 any longer,
with its sole reverse dependency golang-gopkg-alecthomas-kingpin.v3 no
longer needed
by any other package, and since golang-gopkg-alecthomas-kingpin.v3 is
essentially
abandoned upstream, I was planning to file a request to FTP masters to remove
golang-gopkg-alecthomas-kingpin.v3 from Debian altogether.

I did do a reverse dependency check, but somehow missed the fact that
prometheus-postfix-exporter still depended on
golang-gopkg-alecthomas-kingpin.v3-dev.
And of course, I totally missed the fact that
golang-github-nicksnyder-go-i18n.v2 already exists.

Anyhow, I am working on fixing the current situation, and here is the plan:

 1. Upload golang-gopkg-alecthomas-kingpin.v2 (2.2.6-2)
        * Add github.com/alecthomas/kingpin to XS-Go-Import-Path
        * debian/links: Add usr/share/gocode/src/github.com/alecthomas/kingpin
           as a symlink to usr/share/gocode/src/gopkg.in/alecthomas/kingpin.v2

 2. Change prometheus-postfix-exporter to build-depend on
     golang-gopkg-alecthomas-kingpin.v2-dev instead kingpin.v3
     as per https://github.com/kumina/postfix_exporter/blob/master/go.mod ,
     coincidentally fixing this FTBFS bug.

 3. Upload golang-gopkg-alecthomas-kingpin.v3 with the symlink
     usr/share/gocode/src/github.com/alecthomas/kingpin removed
     because it now belongs to golang-gopkg-alecthomas-kingpin.v2

 4. Upgrade golang-github-nicksnyder-go-i18n.v2 to 2.2.1,
     and merge my recent work on golang-github-nicksnyder-go-i18n to it.

 5. Change hugo to build-depend on golang-github-nicksnyder-go-i18n.v2

 6. Ask the FTP Masters to remove golang-gopkg-alecthomas-kingpin.v3
     and golang-github-nicksnyder-go-i18n from sid and testing
     as neither package would be used by any other packages once
     Steps 1 to 5 are completed.

Cheers,

Anthony Fok

Reply via email to