-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[ci:docs] Remove future tense from man pages #18559
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@TomSweeneyRedHat PTAL |
@@ -117,8 +117,7 @@ The default is **false**. | |||
|
|||
#### **--latest**, **-l** | |||
|
|||
Instead of providing the *container ID* or *name*, use the last created *container*. If other methods than Podman are used to run *containers* such as `CRI-O`, the last started *container* could be from either of those methods.\ | |||
The default is **false**.\ | |||
Instead of providing the *container ID* or *name*, use the last created *container*. The default is **false**. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did you remove the CRI-O bit? It needs to be rewritten, but I think it still holds.
"If tools other than Podman are used to run a container, such as CRI-O
or another container engine, the last started container could be from one of those engines.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cri-o does not create containers that --last would refer to. These containers are in the podman database, CRI-O does not use the Podman database.
*IMPORTANT: Conflicts with **--rmi** as the container is not being cleaned up so the image cannot be removed.* | ||
|
||
#### **--latest**, **-l** | ||
|
||
Instead of providing the *container ID* or *name*, use the last created *container*. If other methods than Podman are used to run *containers* such as `CRI-O`, the last started *container* could be from either of those methods.\ | ||
The default is **false**.\ | ||
Instead of providing the *container ID* or *name*, use the last created *container*. The default is **false**. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto CRI-O removal here.
The default is **false**. | ||
|
||
#### **--latest**, **-l** | ||
|
||
Instead of providing the *container ID* or *name*, use the last created *container*. If other tools than Podman are used to run *containers* such as `CRI-O`, the last started *container* could be from either tool.\ | ||
The default is **false**.\ | ||
Instead of providing the *container ID* or *name*, use the last created *container*. The default is **false**. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto CRI-o comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto reason. :^)
@@ -17,7 +17,7 @@ Generating unit files for a pod requires the pod to be created with an infra con | |||
- Note: The generated `podman run` command contains an `--sdnotify` option with the value taken from the container. | |||
If the container does not have any explicitly set value or the value is set to __ignore__, the value __conmon__ is used. | |||
The reason for overriding the default value __container__ is that almost no container workloads send notify messages. | |||
Systemd would wait for a ready message that never comes, if the value __container__ is used for a container | |||
Systemd waits for a ready message that never comes, if the value __container__ is used for a container |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think "will wait" is better than "waits" in this context, but it is a coinflip.
Systemd waits for a ready message that never comes, if the value __container__ is used for a container | |
Systemd will wait for a ready message that never comes if the value __container__ is used for a container |
specify additional options via the `--storage-opt` flag. | ||
|
||
#### **--storage-opt**=*value* | ||
|
||
Specify a storage driver option. Default storage driver options are configured in `containers-storage.conf(5)`. The `STORAGE_OPTS` environment variable overrides the default. The --storage-opt specified options override all. Specify --storage-opt="" so no storage options will be used. | ||
Specify a storage driver option. Default storage driver options are configured in `containers-storage.conf(5)`. The `STORAGE_OPTS` environment variable overrides the default. The --storage-opt specified options override all. Specify --storage-opt="" so no storage options is used. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Specify a storage driver option. Default storage driver options are configured in `containers-storage.conf(5)`. The `STORAGE_OPTS` environment variable overrides the default. The --storage-opt specified options override all. Specify --storage-opt="" so no storage options is used. | |
Specify a storage driver option. Default storage driver options are configured in `containers-storage.conf(5)`. The `STORAGE_OPTS` environment variable overrides the default. The --storage-opt specified options override all. Specify --storage-opt="" so no storage options are used. |
|
||
**policy.json** (`/etc/containers/policy.json`) | ||
|
||
Signature verification policy files are used to specify policy, e.g. trusted keys, applicable when deciding whether to accept an image, or individual signatures of that image, as valid. | ||
|
||
**registries.conf** (`/etc/containers/registries.conf`, `$HOME/.config/containers/registries.conf`) | ||
|
||
registries.conf is the configuration file which specifies which container registries should be consulted when completing image names which do not include a registry or domain portion. | ||
registries.conf is the configuration file which specifies which container registries is consulted when completing image names which do not include a registry or domain portion. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
registries.conf is the configuration file which specifies which container registries is consulted when completing image names which do not include a registry or domain portion. | |
registries.conf is the configuration file which specifies which container registries are consulted when completing image names that do not include a registry or domain portion. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Away nits, away I SAY!
Done picking. The eyeballs were going, going, gone near the end, I'm sure a few slipped by. Please watch for text that's repeated across multiple man pages.
@rhatdan Please squash the commits, |
@Luap99 I did. |
@rhatdan woah was this manual or is there a tense-checker tool like the spellchecker one? |
LGTM given @TomSweeneyRedHat went through those already 😄 |
if there was a tool used, can we please mention it in the commit message? Otherwise, good to go for me. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
|
||
NOTE: The support for the network name pasta is deprecated and will be removed in the next major | ||
NOTE: The support for the network name "pasta" is deprecated and is removed in the next major |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is an actual future tense because it will actually happen in the future.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch!
Whoops, may have been a little fast, hopefully the hold will come in time? |
/lgtm cancel |
duration in microseconds. Once the container's CPU quota is used up, it will | ||
not be scheduled to run until the current period ends. Defaults to 100000 | ||
duration in microseconds. Once the container's CPU quota is used up, it is not | ||
scheduled to run until the current period ends. Defaults to 100000 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This too, I believe, even if more nuanced, should be a future tense (once ... it will not).
Remove all will, would, could, should and use present tense. Signed-off-by: Daniel J Walsh <[email protected]>
"if there was a tool used, can we please mention it in the commit message? Otherwise, good to go for me." Nope brute force on a Saturday morning with little to do. |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rhatdan, sbrivio-rh 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 |
/hold cancel |
Remove all will, would, could, should and use present tense.
Does this PR introduce a user-facing change?