Skip to content

Move skopeo to go.podman.io#2854

Merged
mtrmac merged 2 commits into
containers:mainfrom
baude:RUN-4548
Apr 20, 2026
Merged

Move skopeo to go.podman.io#2854
mtrmac merged 2 commits into
containers:mainfrom
baude:RUN-4548

Conversation

@baude
Copy link
Copy Markdown
Member

@baude baude commented Apr 17, 2026

With potential repo moves and cirus EOL, we have decided to begin preparing by making changes to the skopeo module name. See containers/go.podman.io#6 for more information.

@baude baude force-pushed the RUN-4548 branch 2 times, most recently from 9dcc666 to fd77a05 Compare April 17, 2026 14:50
Copy link
Copy Markdown
Member

@Luap99 Luap99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you will have to also rename the import in the Makefile where it is used to filter the tests

skopeo/Makefile

Line 266 in 904ff20

$(GO) test $(SKOPEO_LDFLAGS) -tags "$(BUILDTAGS)" $$($(GO) list -tags "$(BUILDTAGS)" -e ./... | grep -v '^github\.com/containers/skopeo/\(integration\|vendor/.*\)$$')

Without this it tries to run all tests as part of unit tests which is not what we want and fails on osx

Copy link
Copy Markdown
Contributor

@mtrmac mtrmac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK to the idea and to these particular changes; but a full text search for github.com/containers/skopeo finds various repo-name-derived paths that would be at least misleading (or perhaps no longer work) after this.

The osx failure is real, probably due to a non-updated github\.com/containers/skopeo regex.

Copy link
Copy Markdown
Contributor

@mtrmac mtrmac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also (frequently assuming a GOPATH layout; we could probably change that but let‘s not do that in this time-sensitive PR):

  • hack/get_ci_vm.sh
  • .cirrus.yml
  • install.md
  • Makefile
  • README.md

differentiating between GitHub URLs (unchanged) and module name (changed)

Copy link
Copy Markdown
Member

@Luap99 Luap99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@packit-as-a-service
Copy link
Copy Markdown

Ephemeral COPR build failed. @containers/packit-build please check.

3 similar comments
@packit-as-a-service
Copy link
Copy Markdown

Ephemeral COPR build failed. @containers/packit-build please check.

@packit-as-a-service
Copy link
Copy Markdown

Ephemeral COPR build failed. @containers/packit-build please check.

@packit-as-a-service
Copy link
Copy Markdown

Ephemeral COPR build failed. @containers/packit-build please check.

Copy link
Copy Markdown
Contributor

@mtrmac mtrmac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Non-blocking: Also

[![Go Report Card](https://goreportcard.com/badge/github.com/containers/skopeo)](https://goreportcard.com/report/github.com/containers/skopeo)
I think. It seems that it processes the module alias by redirecting back to the GitHub module name, so that doesn’t make much of a difference. (Alternatively, drop that? I don‘t know what good that badge does.)


There’s some risk that this will break image_test_skopeo_task in container-libs, due to similar GOPATH-like references to the repo. I don’t think we can avoid that risk — switching container-libs to the new module name while the module does not use the new name yet would also not be consistent.

So just a FYI that this might happen today.

@mtrmac
Copy link
Copy Markdown
Contributor

mtrmac commented Apr 20, 2026

@baude please rebase.

baude added 2 commits April 20, 2026 13:00
With potential repo moves and cirus EOL, we have decided to begin
preparing by making changes to the skopeo module name.  See
containers/go.podman.io#6 for more information.

Signed-off-by: Brent Baude <[email protected]>
Found some additional impact locations for the go module change.

Signed-off-by: Brent Baude <[email protected]>
@baude
Copy link
Copy Markdown
Member Author

baude commented Apr 20, 2026

Given the rebase, I removed the readme you mentioned.

@mtrmac
Copy link
Copy Markdown
Contributor

mtrmac commented Apr 20, 2026

Thanks!

@mtrmac mtrmac merged commit 1a4a0f9 into containers:main Apr 20, 2026
39 of 40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants