Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 844580 - app-containers/docker-registry: uses deprecated Go eclass (DeprecatedEclass)
Summary: app-containers/docker-registry: uses deprecated Go eclass (DeprecatedEclass)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal
Assignee: Zac Medico
URL:
Whiteboard:
Keywords:
Depends on: 949979
Blocks: 844532
  Show dependency tree
 
Reported: 2022-05-14 23:52 UTC by Sam James
Modified: 2025-02-20 12:10 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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(-)