podman icon indicating copy to clipboard operation
podman copied to clipboard

Quadlet/Container: Add GroupAdd option

Open xkr47 opened this issue 1 year ago • 4 comments

Does this PR introduce a user-facing change?

Quadlet/Container: Add GroupAdd option

I have not written anything in Go before and did not manage to run the test I added locally.

xkr47 avatar May 04 '24 09:05 xkr47

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

Thanks for the PR

Thanks for being quick to review it proactively help me out!

The test case you've added is not executed. You need to add an entry here: https://github.com/containers/podman/blob/main/test/e2e/quadlet_test.go#L786 to pick it up

Tried to do that :crossed_fingers:

xkr47 avatar May 06 '24 11:05 xkr47

Please squash all commits into one (it will also solve the "Build Each Commit" test

ygalblum avatar May 06 '24 12:05 ygalblum

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: xkr47, ygalblum

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

openshift-ci[bot] avatar May 07 '24 11:05 openshift-ci[bot]

LGTM

mheon avatar May 07 '24 18:05 mheon

Ah, right, forgot to mention, I ~copypasted the description from the podman-run manpage, so it might not be a perfect match stylewise. Let me know if you want me to work on that.

xkr47 avatar May 07 '24 19:05 xkr47

Ah, right, forgot to mention, I ~copypasted the description from the podman-run manpage, so it might not be a perfect match stylewise. Let me know if you want me to work on that.

Thanks for pointing this out. I've added a comment about it

ygalblum avatar May 08 '24 06:05 ygalblum

Pushed fixes and a typo in the mapping table. Let me know if you want me to squash the commits after the review.

Btw I guess it is customary not to do validation of the arguments at this stage but let podman report any errors, should there be any..?

xkr47 avatar May 08 '24 08:05 xkr47

Pushed fixes and a typo in the mapping table. Let me know if you want me to squash the commits after the review.

Btw I guess it is customary not to do validation of the arguments at this stage but let podman report any errors, should there be any..?

Yes, Quadlet leaves the argument validation to Podman. Please squash all commits

ygalblum avatar May 08 '24 11:05 ygalblum

/lgtm

ygalblum avatar May 09 '24 08:05 ygalblum