Jérémy Lal <kapouer@melix.org> writes:
I had a look at another approach, just upgrading the dependency to
golang-github-smallstep-crypto-dev
for these two packages:
- golang-step-cli-utils: all fine, level1
- golang-github-smallstep-certificates: level 2, needs the previous one
rebuilt first, and the attached patch.
There are probably mistakes in that patch.
Now that that patch passes the test suite by borrowing from upstreamfixes,
and that "caddy" also builds fine with them, I'm going to do asadvertised.
golang-step-crypto-dev from the archive as discussed in 1) below, and
for us to ignore issue 2) + 3) below, even though they warrant more consideration.
1) Now there are no reverse dependencies on golang-step-crypto-dev any
more, so I think we could ask for removal of that package from the
archive which would resolve https://bugs.debian.org/1100967
jas@kaka:~/dpkg/golang-github-smallstep-crypto$ ssh mirror.ftp-master.debian.org "dak rm -Rn -b golang-step-crypto-dev"
Will remove the following packages from unstable:
golang-step-crypto-dev | 0.24.0-2 | all
Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org> ------------------- Reason ------------------- ----------------------------------------------
Checking reverse dependencies...
No dependency problem found.
jas@kaka:~/dpkg/golang-github-smallstep-crypto$
2) However I realized I was wrong in my comment in https://bugs.debian.org/1100967#10 about which package name is the
"proper" one. Upstream's go.mod namespace is still go.step.sm/crypto
even in latest upstream master:
https://github.com/smallstep/crypto/blob/master/go.mod
So then the "correct" package name in Debian really ought to be "golang-step-crypto" after all.... sigh. Should we upload
golang-step-crypto v0.60.0 and migrate all dependencies back to the
proper name, and then remove golang-github-smallstep-crypto?
Naming policy:
https://go-team.pages.debian.net/packaging.html#_naming_conventions_2
What was missing there for me was the definition of the term "import
path", which I now take to mean the 'module FOO' line in go.mod. I
probably confused it with the source code hosting site before.
3) Upstream namespace go.step.sm/* has been renamed to
github.com/smallstep/* for many (most?) other smallstep packages, and I
had expected this to happen to go.step.sm/crypto as well. I found this
bug report that discuss it:
https://github.com/smallstep/crypto/issues/579
So it may be that shortly the right name is actually the one we have
already prematurely migrated to. Given that there are no reverse dependencies on golang-step-crypto-dev now, I think the simplest way out
of this mess is to ask for that package to be dropped.
</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Jérémy Lal <<a href="mailto:kapouer@melix.org" target="_blank">kapouer@melix.org</a>> writes:<br>
Jérémy Lal <kapouer@melix.org> writes:
1) Now there are no reverse dependencies on golang-step-crypto-dev any
more, so I think we could ask for removal of that package from the
archive which would resolve https://bugs.debian.org/1100967
jas@kaka:~/dpkg/golang-github-smallstep-crypto$ ssh
mirror.ftp-master.debian.org "dak rm -Rn -b golang-step-crypto-dev"
Will remove the following packages from unstable:
golang-step-crypto-dev | 0.24.0-2 | all
Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org>
------------------- Reason -------------------
----------------------------------------------
Checking reverse dependencies...
No dependency problem found.
jas@kaka:~/dpkg/golang-github-smallstep-crypto$
To be careful, the golang-step-crypto-dev should be removed after all its previous rdeps have migrated to testing.
I think this is the case now:
jas@kaka:~/dpkg/golang-gitlab-gitlab-org-api-client-go$ ssh mirror.ftp-master.debian.org "dak rm -Rn -b -s=testing golang-step-crypto-dev"
Will remove the following packages from testing:
golang-step-crypto-dev | 0.24.0-2 | all
Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org> ------------------- Reason ------------------- ----------------------------------------------
Checking reverse dependencies...
No dependency problem found. jas@kaka:~/dpkg/golang-gitlab-gitlab-org-api-client-go$
What do you think about reassigning this bug report to ftp.debian.org
and renaming subject to:
RM: golang-step-crypto-dev -- RoM; not used, replaced by golang-github-smallstep-crypto
Once golang-step-crypto-dev is removed from testing/unstable, the
original problem in this bug report should be resolved.
I'm not sure about severity. Technically this is a RC bug in both of
these packages, but the solution to the RC problem is to remove one of
the packages. But I doubt the ftp.debian.org maintainers would regard
this as a RC bug for them? Maybe it is acceptable to lower the severity hoping the package will be removed soon. But if the removal doesn't
happen soon, it feels weird to have RC buggy packages without a proper
RC bug on them. Helmut, do you have any preference/recommendation? If someone who understands the bug tracker better than I could do the
rename that would be appreciated.
</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Jérémy Lal <<a href="mailto:kapouer@melix.org" target="_blank">kapouer@melix.org</a>> writes:<br>
<div><br></div></div></div>
Thank you! Some observations - tl;dr: I suggest to remove golang-step-crypto-dev from the archive as discussed in 1) below, and
for us to ignore issue 2) + 3) below, even though they warrant more consideration.
1) Now there are no reverse dependencies on golang-step-crypto-dev any
more, so I think we could ask for removal of that package from the
archive which would resolve https://bugs.debian.org/1100967
2) However I realized I was wrong in my comment in https://bugs.debian.org/1100967#10 about which package name is the
"proper" one. Upstream's go.mod namespace is still go.step.sm/crypto
even in latest upstream master:
https://github.com/smallstep/crypto/blob/master/go.mod
So then the "correct" package name in Debian really ought to be "golang-step-crypto" after all.... sigh. Should we upload
golang-step-crypto v0.60.0 and migrate all dependencies back to the
proper name, and then remove golang-github-smallstep-crypto?
2) However I realized I was wrong in my comment in
https://bugs.debian.org/1100967#10 about which package name is the
"proper" one. Upstream's go.mod namespace is still go.step.sm/crypto
even in latest upstream master:
https://github.com/smallstep/crypto/blob/master/go.mod
So then the "correct" package name in Debian really ought to be
"golang-step-crypto" after all.... sigh. Should we upload
golang-step-crypto v0.60.0 and migrate all dependencies back to the
proper name, and then remove golang-github-smallstep-crypto?
Sorry for the late reply. But I think it can be better handled.
We can just update golang-step-crypto to 0.57.0-1 and make
golang-github-smallstep-crypto-dev as a transitional package.
I prefer we keep the correct package name, aka golang-step-crypto.
That solution could be done before soft freeze.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (0 / 16) |
Uptime: | 157:36:06 |
Calls: | 10,384 |
Calls today: | 1 |
Files: | 14,056 |
Messages: | 6,416,479 |