Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 844580

Summary: app-containers/docker-registry: uses deprecated Go eclass (DeprecatedEclass)
Product: Gentoo Linux Reporter: Sam James <sam>
Component: Current packagesAssignee: Zac Medico <zmedico>
Status: RESOLVED FIXED    
Severity: normal CC: arthurzam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 949979    
Bug Blocks: 844532    

Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-14 23:52:28 UTC
This package uses a deprecated Go eclass. It must be migrated to go-module.eclass. Fixing this does not require a revbump as it'll already be successfully installed.

$ pkgcheck scan -k DeprecatedEclass app-containers/docker-registry
app-containers/docker-registry
  DeprecatedEclass: version 2.7.1-r1: uses deprecated eclass: golang-vcs-snapshot (migrate to go-module.eclass)
Comment 1 Larry the Git Cow gentoo-dev 2025-01-31 08:15:35 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00d883c71b4ac7b1e58ef0159fd7ef1878ceb689

commit 00d883c71b4ac7b1e58ef0159fd7ef1878ceb689
Author:     Arthur Zamarin <arthurzam@gentoo.org>
AuthorDate: 2025-01-31 08:10:51 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2025-01-31 08:15:28 +0000

    app-containers/docker-registry: add 3.0.0_rc2, go-module.eclass
    
    This rc version looks stable enough by upstream issues and reports, and
    is most likely close to release, but to be sure, it is better to not
    stable it yet.
    
    By using this rc version, upstream migrated to usage of go modules, with
    go.mod and even vendor/ dir!
    
    Bug: https://bugs.gentoo.org/844580
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 app-containers/docker-registry/Manifest            |  1 +
 .../docker-registry-3.0.0_rc2.ebuild               | 53 ++++++++++++++++++++++
 2 files changed, 54 insertions(+)
Comment 2 Arthur Zamarin archtester Gentoo Infrastructure gentoo-dev Security 2025-01-31 08:17:04 UTC
I've added an rc version, which works well enough and support go-module. We should wait to close this bug when we remove the problematic version, which I'm unsure when would be a good time window (when non rc version is release, or when we timeout and decide rc is the stable one).
Comment 3 Larry the Git Cow gentoo-dev 2025-02-20 12:10:54 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8fa957783718dce85d3ef1e6e16713f5817b2f9

commit a8fa957783718dce85d3ef1e6e16713f5817b2f9
Author:     Arthur Zamarin <arthurzam@gentoo.org>
AuthorDate: 2025-02-20 12:10:27 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2025-02-20 12:10:42 +0000

    app-containers/docker-registry: drop 2.8.2
    
    Closes: https://bugs.gentoo.org/844580
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 app-containers/docker-registry/Manifest            |  1 -
 .../docker-registry/docker-registry-2.8.2.ebuild   | 55 ----------------------
 2 files changed, 56 deletions(-)