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 podman system events alias to podman events #16464

Merged
merged 2 commits into from
Nov 11, 2022

Conversation

rhatdan
Copy link
Member

@rhatdan rhatdan commented Nov 9, 2022

Signed-off-by: Daniel J Walsh [email protected]

Does this PR introduce a user-facing change?

podman system events now alias to podman events for Docker compatibility

@openshift-ci openshift-ci bot added the do-not-merge/release-note-label-needed Enforce release-note requirement, even if just None label Nov 9, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Nov 9, 2022

[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

@openshift-ci openshift-ci bot added approved Indicates a PR has been approved by an approver from all required OWNERS files. release-note and removed do-not-merge/release-note-label-needed Enforce release-note requirement, even if just None labels Nov 9, 2022
@baude
Copy link
Member

baude commented Nov 10, 2022

idea is LGTM

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.

Please add the changelog to the commit message as well.

@rhatdan
Copy link
Member Author

rhatdan commented Nov 10, 2022

@edsantiago PTAL, I could not figure out how to get hack/xref-helpmsgs-manpages to recognize that there was a links file for the podman-system-events man page
podman-system-events->podman-events
For some reason this works with
podman-system-info->podman-info

@edsantiago
Copy link
Member

diff --git a/docs/source/markdown/podman-system.1.md b/docs/source/markdown/podman-system.1.md
index c41124510..12b77f5b8 100644
--- a/docs/source/markdown/podman-system.1.md
+++ b/docs/source/markdown/podman-system.1.md
@@ -15,7 +15,7 @@ The system command allows you to manage the podman systems
 | -------    | ------------------------------------------------------------ | ------------------------------------------------------------------------ |
 | connection | [podman-system-connection(1)](podman-system-connection.1.md) | Manage the destination(s) for Podman service(s)                          |
 | df         | [podman-system-df(1)](podman-system-df.1.md)                 | Show podman disk usage.                                                  |
-| events     | [podman-system-events(1)](podman-system-events.1.md)         | Monitor Podman events                                                       |
+| events     | [podman-system-events(1)](podman-events.1.md)                | Monitor Podman events                                                    |
 | info       | [podman-system-info(1)](podman-info.1.md)                    | Displays Podman related system information.                              |
 | migrate    | [podman-system-migrate(1)](podman-system-migrate.1.md)       | Migrate existing containers to a new podman version.                     |
 | prune      | [podman-system-prune(1)](podman-system-prune.1.md)           | Remove all unused pods, containers, images, networks, and volume data.   |

@rhatdan
Copy link
Member Author

rhatdan commented Nov 11, 2022

Thanks @edsantiago I love it when it is right in front of your face.

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.

You need to change eventsCommand to cmd in the new eventsFlags function, otherwise tab completion will not work.

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
/hold

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Nov 11, 2022
@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Nov 11, 2022
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Nov 11, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Nov 11, 2022

New changes are detected. LGTM label has been removed.

@Luap99
Copy link
Member

Luap99 commented Nov 11, 2022

Looks like the format test is failing, I think you need to add this:

$ git diff
diff --git a/test/system/610-format.bats b/test/system/610-format.bats
index 8f74634d1..3ee95bdff 100644
--- a/test/system/610-format.bats
+++ b/test/system/610-format.bats
@@ -37,6 +37,7 @@ search            | $IMAGE
 pod inspect       | mypod
 
 events            | --stream=false --events-backend=file
+system events     | --stream=false --events-backend=file
 "
 
 # podman machine is finicky. Assume we can't run it, but see below for more.

@rhatdan rhatdan added the lgtm Indicates that a PR is ready to be merged. label Nov 11, 2022
@rhatdan
Copy link
Member Author

rhatdan commented Nov 11, 2022

/hold cancel

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Nov 11, 2022
@openshift-merge-robot openshift-merge-robot merged commit c75b059 into containers:main Nov 11, 2022
@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 20, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. release-note
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants