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

Modernise all (most) remaining .TH manpages #12125

Closed
wants to merge 17 commits into from

Conversation

nabijaczleweli
Copy link
Contributor

@nabijaczleweli nabijaczleweli commented May 26, 2021

Motivation and Context

What if manpages, but stronger?

Description

See individual messages for what happened beside that.

One thing that might be of particular import is that I moved

Developed at Lawrence Livermore National Laboratory (LLNL-CODE-403049)

in zed.8 from the trailer to the comment at the top.
Not sure what the laboratory's requirements on this stanza are.

These are left:

How Has This Been Tested?

Looked at'em

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Performance enhancement (non-breaking change which improves efficiency)
  • Code cleanup (non-breaking change which makes code smaller or more readable)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Library ABI change (libzfs, libzfs_core, libnvpair, libuutil and libzfsbootenv)
  • Documentation (a change to man pages or other documentation)

Checklist:

@nabijaczleweli nabijaczleweli changed the title Modernise all (most) remaining manpages Modernise all (most) remaining .TH manpages May 26, 2021
@ghost
Copy link

ghost commented May 26, 2021

Here's a fun test: find man -type f -name '*[1-9]*' -exec mandoc -Tlint {} \+
I'm not sure if any of that relates to your changes, it's quite a list though 😅

@ghost ghost added Status: Code Review Needed Ready for review and testing Type: Documentation Indicates a requested change to the documentation labels May 26, 2021
@nabijaczleweli
Copy link
Contributor Author

nabijaczleweli commented May 26, 2021

I was about to say that that's weird and it passes mancheck for me, but apparently mancheck is only run on man8 :v

@nabijaczleweli
Copy link
Contributor Author

Fixed my new pages (mostly minor things that didn't affect rendered output much if at all, it's not as bad as you'd think from the error log, heh) and widened mancheck to catch all of man (and the test runner), seems that all other pages were already clean; thanks for the heads-up!

@behlendorf
Copy link
Contributor

It looks like the mancheck target is setting -Werror as well and only checking for errors. Is seems there's a bunch of additional STYLE and WARNING issues reported as well. Well, one step at a time it'll be nice to check all the manages for ERRORS.

@nabijaczleweli
Copy link
Contributor Author

nabijaczleweli commented May 26, 2021

Ah, hm. Good point; I'll beat down the warnings down to the default level on the all-new pages, we can drop the minimum level on the existing ones in mancheck later (but it's gonna be very dirty, considering the main WARNING is "new sentence, new line").

@nabijaczleweli
Copy link
Contributor Author

nabijaczleweli commented May 26, 2021

Okay, beside outdated mandoc.db and referenced manual not found, these are the WARNINGs that remain in the new pages and zgenhostid:

mandoc: man/man1/zhack.1:35:2: WARNING: sections out of conventional order: Sh SYNOPSIS
mandoc: man/man8/zinject.8:38:2: WARNING: sections out of conventional order: Sh SYNOPSIS

Since they use a subcommand-forward layout. I've added them to the head comments, and will make use of those in an improved variant of mancheck.

@ghost
Copy link

ghost commented May 27, 2021

Please s/sexoin/section/ in one of the commit messages.

@nabijaczleweli
Copy link
Contributor Author

Done

@ghost ghost mentioned this pull request May 28, 2021
13 tasks
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
I fixed a few typos, but avoided changing anything beyond that;
the sould of the document should be preserved

Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Also slim down the description a tad

Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Also re-add articles left out by the slav who wrote this

Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Also rip out the section about potentially including in the OpenZFS
distribution and simplify -e description

Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
behlendorf pushed a commit to behlendorf/zfs that referenced this pull request Jun 8, 2021
Also remove note about the OS/Net consolidation, now the illumos gate

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes openzfs#12125
behlendorf pushed a commit to behlendorf/zfs that referenced this pull request Jun 8, 2021
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes openzfs#12125
behlendorf pushed a commit to behlendorf/zfs that referenced this pull request Jun 8, 2021
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes openzfs#12125
behlendorf pushed a commit to behlendorf/zfs that referenced this pull request Jun 8, 2021
Also yeet pci_slot since it doesn't seem to exist?

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes openzfs#12125
behlendorf pushed a commit to behlendorf/zfs that referenced this pull request Jun 8, 2021
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes openzfs#12125
behlendorf pushed a commit to behlendorf/zfs that referenced this pull request Jun 8, 2021
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes openzfs#12125
behlendorf pushed a commit to behlendorf/zfs that referenced this pull request Jun 8, 2021
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes openzfs#12125
behlendorf pushed a commit to behlendorf/zfs that referenced this pull request Jun 9, 2021
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes openzfs#12125
behlendorf pushed a commit to behlendorf/zfs that referenced this pull request Jun 9, 2021
I fixed a few typos, but avoided changing anything beyond that;
the sould of the document should be preserved

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes openzfs#12125
behlendorf pushed a commit to behlendorf/zfs that referenced this pull request Jun 9, 2021
Also slim down the description a tad

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes openzfs#12125
behlendorf pushed a commit to behlendorf/zfs that referenced this pull request Jun 9, 2021
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes openzfs#12125
behlendorf pushed a commit to behlendorf/zfs that referenced this pull request Jun 9, 2021
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes openzfs#12125
behlendorf pushed a commit to behlendorf/zfs that referenced this pull request Jun 9, 2021
Also re-add articles left out by the slav who wrote this

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes openzfs#12125
behlendorf pushed a commit to behlendorf/zfs that referenced this pull request Jun 9, 2021
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes openzfs#12125
behlendorf pushed a commit to behlendorf/zfs that referenced this pull request Jun 9, 2021
Also rip out the section about potentially including in the OpenZFS
distribution and simplify -e description

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes openzfs#12125
behlendorf pushed a commit to behlendorf/zfs that referenced this pull request Jun 9, 2021
The spacing on zhack    feature stat    pool is a bit iffy(?)

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes openzfs#12125
behlendorf pushed a commit to behlendorf/zfs that referenced this pull request Jun 9, 2021
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes openzfs#12125
behlendorf pushed a commit to behlendorf/zfs that referenced this pull request Jun 9, 2021
Also remove note about the OS/Net consolidation, now the illumos gate

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes openzfs#12125
behlendorf pushed a commit to behlendorf/zfs that referenced this pull request Jun 9, 2021
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes openzfs#12125
behlendorf pushed a commit to behlendorf/zfs that referenced this pull request Jun 9, 2021
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes openzfs#12125
behlendorf pushed a commit to behlendorf/zfs that referenced this pull request Jun 9, 2021
Also yeet pci_slot since it doesn't seem to exist?

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes openzfs#12125
behlendorf pushed a commit to behlendorf/zfs that referenced this pull request Jun 9, 2021
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes openzfs#12125
behlendorf pushed a commit to behlendorf/zfs that referenced this pull request Jun 9, 2021
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes openzfs#12125
behlendorf pushed a commit to behlendorf/zfs that referenced this pull request Jun 9, 2021
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes openzfs#12125
tonyhutter pushed a commit to tonyhutter/zfs that referenced this pull request Nov 2, 2021
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes openzfs#12125
tonyhutter pushed a commit to tonyhutter/zfs that referenced this pull request Nov 2, 2021
Also yeet pci_slot since it doesn't seem to exist?

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes openzfs#12125
tonyhutter pushed a commit to tonyhutter/zfs that referenced this pull request Nov 13, 2021
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes openzfs#12125
tonyhutter pushed a commit to tonyhutter/zfs that referenced this pull request Nov 13, 2021
Also yeet pci_slot since it doesn't seem to exist?

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes openzfs#12125
tonyhutter pushed a commit to tonyhutter/zfs that referenced this pull request Nov 13, 2021
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes openzfs#12125
tonyhutter pushed a commit to tonyhutter/zfs that referenced this pull request Nov 13, 2021
Also yeet pci_slot since it doesn't seem to exist?

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes openzfs#12125
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Accepted Ready to integrate (reviewed, tested) Type: Documentation Indicates a requested change to the documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants