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

Move DiscoverContainerfile to define directory, so podman can use it #3442

Merged
merged 1 commit into from
Aug 21, 2021

Conversation

rhatdan
Copy link
Member

@rhatdan rhatdan commented Aug 11, 2021

Signed-off-by: Daniel J Walsh dwalsh@redhat.com

What type of PR is this?

/kind api-change
/kind bug
/kind cleanup
/kind deprecation
/kind design
/kind documentation
/kind failing-test
/kind feature
/kind flake
/kind other

What this PR does / why we need it:

How to verify it

Which issue(s) this PR fixes:

Special notes for your reviewer:

Does this PR introduce a user-facing change?


@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 11, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: rhatdan

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@rhatdan rhatdan force-pushed the define branch 2 times, most recently from 3110432 to 00aa15b Compare August 12, 2021 18:34
@nalind
Copy link
Member

nalind commented Aug 12, 2021

The point of moving type definitions into this directory is to avoid having consumers build code that they might not end up calling, and this seems to run counter to that goal. Somewhere under pkg or in the util grab bag would be more appropriate.

@TomSweeneyRedHat
Copy link
Member

If @nalind likes the location, the changes LGTM. Tests aren't happy yet though.

@rhatdan rhatdan force-pushed the define branch 2 times, most recently from 5d167fb to aa0f524 Compare August 17, 2021 15:12
@nalind
Copy link
Member

nalind commented Aug 17, 2021

I don't love it (why must it be added in an existing import path?), but it's not a hill I'm particularly interested in dying on. Either way, the commit message and pull request name need to be updated.

@rhatdan
Copy link
Member Author

rhatdan commented Aug 17, 2021

@nalind Moved it to pkg/util

@TomSweeneyRedHat
Copy link
Member

@rhatdan the smoke test is smoking

@nalind
Copy link
Member

nalind commented Aug 19, 2021

Needs to add pkg/util/*.go to the SOURCES list in the top-level Makefile, then LGTM.

Then podman can use it

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
@TomSweeneyRedHat
Copy link
Member

@rhatdan looks like a rebase is wanted.

@rhatdan rhatdan merged commit 1b3f9cd into containers:main Aug 21, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants