Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: move main package into ./cmd/runc #3521

Closed
wants to merge 1 commit into from

Conversation

junnplus
Copy link

Signed-off-by: Ye Sijun junnplus@gmail.com

Signed-off-by: Ye Sijun <junnplus@gmail.com>
@junnplus
Copy link
Author

junnplus commented Jul 2, 2022

@AkihiroSuda @cyphar @kolyshkin any ideas?

@kolyshkin
Copy link
Contributor

Not sure if it helps anything. We are not going to add more commands...

@thaJeztah
Copy link
Member

Yeah, from a go modules perspective, this wouldn't bring benefits, unless it was its own module (which is why we did something like this in "library" repositories, such as containerd/continuity#200)

For runc, it's actually the reverse; the binary is the main project, and some packages (libcontainer) are effectively a "side product" that happen to be used by some external consumers.

Moving this to cmd/ will actually be a breaking change, as "go install github.com/opencontainers/runc@version" will no longer work.

@junnplus
Copy link
Author

OK, let's leave it as is.

@junnplus junnplus closed this Jul 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants