-
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] Document --format for additional man pages #17766
Conversation
8ec004e
to
acec469
Compare
@edsantiago What do I now need to do to clean this up? |
@rhatdan first step is to put a space before all the dot-dot-dots: -| .GraphDriver... | Structure for the graph driver info |
+| .GraphDriver ... | Structure for the graph driver info | Next step is to document all the missing fields, basically, keep running |
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 great work, thank you! LGTM with a few questions and suggestions
| .RepoDigests | Repository digests for the image | | ||
| .RepoTags | Repository tags for the image | | ||
| .RootFS ... | Structure for the root file system info | | ||
| .Size | Size of image, in bytes [1] | |
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.
What does the [1]
mean?
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.
Cut and paste from somewhere else.
| .Size | Size of image, in bytes [1] | | ||
| .User | Default user to execute the image as | | ||
| .Version | Image Version | | ||
| .VirtualSize | Virtual size of image, in bytes [1] | |
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.
Ibid
| .Comment | Image comment | | ||
| .Config ... | Structure with config info | | ||
| .Created | Image creation time (string, ISO3601) | | ||
| .Digest | Image digest (sha256:+64-char hash) | |
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.
There's a tab character in here.
I don't know if it's something in my emacs setup, or if it's automatic in emacs, but when I have my cursor inside MD tables and press the TAB key, emacs instantly aligns all the vertical bars. Really sweet. HTH.
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.
Must be something in your emacs, would love to have that.
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.
Must be this markdown-mode that I have installed (unfortunately, not in Fedora repos).
| .Reclaimable | Human reclaimable size of each Type | | ||
| .Size | Human size of each type | | ||
| .Total | Total items for each type | | ||
| .Type | Type of data | |
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.
"Human size" reads weirdly (to me). I like the parenthesized description you use elsewhere, would it make sense to write this table in that form?
.RawReclaimable | Reclaimable size (bytes)
.Reclaimable | Reclaimable size (human-readable)
...
| .Mountpoint | Source of volume mount point | | ||
| .Name | Volume name | | ||
| .NeedsChown | Indicates whether volume needs to be chowned | | ||
| .NeedsCopyUp | Indicates if volume needs to be copied up to | |
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.
Dangling "to"?
| .Anonymous | Indicates whether volume is anonymous | | ||
| .CreatedAt | Volume creation time | | ||
| .Driver | Volume driver | | ||
| .GID | GID to create volume with | |
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.
Maybe "GID of volume"? "to create with" seems more applicable to volume create
than ls
.
| .Status | Status of the volume | | ||
| .StorageID | StorageID of the volume | | ||
| .Timeout | Timeout of the volume | | ||
| .UID | UID to create volume with | |
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.
Ibid
@containers/podman-maintainers PTAL |
LGTM |
| .Name | Name of the machine | | ||
| .Resources ... | Resources used by the machine | | ||
| .SSHConfig ... | SSH configuration info for communitating with machine | | ||
| .State ... | Machine state | |
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.
Possible extra space here?
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.
Before the first '|'
Valid placeholders for the Go template are listed below: | ||
|
||
| **Placeholder** | **Description** | | ||
| ------------------- | ----------------------------------- | |
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.
hmm, I thought this divider would have to line up with the below, but it seems to work OK as is. It would be nice to keep them consistent though.
| .Status | Status of the volume | | ||
| .StorageID | StorageID of the volume | | ||
| .Timeout | Timeout of the volume | | ||
| .UID | UID to create volume with | |
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 you have the wrong tense? This command doesn't create the uid, it just shows what it is right?
| .UID | UID to create volume with | | |
| .UID | UID the volume was created with | |
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.
and below you use UID of volume
, that might be better.
{ | ||
"Name": "myvol", | ||
"Driver": "local", | ||
"Mountpoint": "/home/dwalsh/.local/share/containers/storage/volumes/myvol/_data", |
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.
do you want to include /home/dwalsh
here? I'd suggest something like /home/myusername
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 throughout
{ | ||
"Name": "myvol", | ||
"Driver": "local", | ||
"Mountpoint": "/home/dwalsh/.local/share/containers/storage/volumes/myvol/_data", |
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 dwalsh
0d3e385
to
2004317
Compare
Valid placeholders for the Go template are listed below: | ||
|
||
| **Placeholder** | **Description** | | ||
| ------------------- | ------===================================----------------------------- | |
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.
EEK! Those equal signs make a complete mess of the table.
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.
Dan, don't do stuff while running out to lunch.
18efb3f
to
f3abb00
Compare
Valid placeholders for the Go template are listed below: | ||
|
||
| **Placeholder** | **Description** | | ||
| =====------------------- | ----------------------------------------------------------------- | |
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.
aaaaaannd, you fixed one, but introduced equals in another.
Ninety-nine little bugs in the code
Ninety-nine little bugs
Fix one bug
commit & re-push
One hundred little bugs in the code
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 wonder if Emacs is doing something strange here... Or just PEBCAK
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.
Forcing a block to make sure nobody inadvertently merges this with the broken equals.
Signed-off-by: Daniel J Walsh <[email protected]>
Signed-off-by: Daniel J Walsh <[email protected]>
Signed-off-by: Daniel J Walsh <[email protected]>
Signed-off-by: Daniel J Walsh <[email protected]>
Signed-off-by: Daniel J Walsh <[email protected]>
Signed-off-by: Daniel J Walsh <[email protected]>
Signed-off-by: Daniel J Walsh <[email protected]>
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: edsantiago, 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 |
/lgtm |
Does this PR introduce a user-facing change?
Improves on #17472