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

Add cwd argument for hooks exec Run func (API break-free version) #1521

Conversation

fangpenlin
Copy link
Contributor

For fixing the wrong cwd bug in podman:

containers/podman#18907

Basically this is the same as #1514, but instead of changing the signature of function, we create a new one with options struct and mark the old one as deprecated

@rhatdan
Copy link
Member

rhatdan commented Jun 23, 2023

/approve
LGTM

@fangpenlin
Copy link
Contributor Author

Awesome, thanks for reviewing and the approval. I guess once this PR is merged and a new release is made, I can then update my PRs for podman and buildah to use the new API then.

@rhatdan
Copy link
Member

rhatdan commented Jun 25, 2023

@vrothberg @Luap99 @giuseppe @containers/podman-maintainers PTAL

Copy link
Member

@vrothberg vrothberg left a comment

Choose a reason for hiding this comment

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

Thank you!

Just one naming nit.

pkg/hooks/exec/exec.go Outdated Show resolved Hide resolved
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jun 26, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: fangpenlin, rhatdan, vrothberg

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

@fangpenlin fangpenlin force-pushed the add-cwd-argument-for-hook-exec-run-with-api-break-free-changes branch from 4aa9558 to 11c8816 Compare June 26, 2023 06:25
Copy link
Member

@vrothberg vrothberg left a comment

Choose a reason for hiding this comment

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

LGTM, thank you

@Luap99 PTAL

Copy link
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

@openshift-ci openshift-ci bot added the lgtm label Jun 26, 2023
@openshift-merge-robot openshift-merge-robot merged commit 09caaf6 into containers:main Jun 26, 2023
7 checks passed
@fangpenlin fangpenlin deleted the add-cwd-argument-for-hook-exec-run-with-api-break-free-changes branch June 26, 2023 07:36
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.

None yet

5 participants