public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/portage-utils:master commit in: man/include/, man/
@ 2018-04-02 17:52 Fabian Groffen
  0 siblings, 0 replies; 8+ messages in thread
From: Fabian Groffen @ 2018-04-02 17:52 UTC (permalink / raw
  To: gentoo-commits

commit:     ec9c281b4fd5d4b36927c2b004bbcd0fe11f2d76
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Mon Apr  2 17:52:20 2018 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Mon Apr  2 17:52:20 2018 +0000
URL:        https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=ec9c281b

qfile: update manpage

Bug: https://bugs.gentoo.org/645554

 man/include/qfile.desc         |  4 ++++
 man/include/qfile.optdesc.yaml |  7 +++++++
 man/qfile.1                    | 40 ++++++++++++++++++++++++----------------
 3 files changed, 35 insertions(+), 16 deletions(-)

diff --git a/man/include/qfile.desc b/man/include/qfile.desc
new file mode 100644
index 0000000..08d4bb3
--- /dev/null
+++ b/man/include/qfile.desc
@@ -0,0 +1,4 @@
+\fIqfile\fR searches packages for files they provide.  The searched
+packages must be installed, thus the search is for any file on the
+filesystem, to what package that file belongs.  It allows to identify
+which package installed a certain file.

diff --git a/man/include/qfile.optdesc.yaml b/man/include/qfile.optdesc.yaml
new file mode 100644
index 0000000..cb1cd7a
--- /dev/null
+++ b/man/include/qfile.optdesc.yaml
@@ -0,0 +1,7 @@
+verbose: |
+    Print package versions to matches, warn about problems with
+    resolving symlinks or positioning packages under an alternative
+    root.
+quiet: |
+    Don't print matching file for matches, just the package.  Don't
+    report about orphan files.

diff --git a/man/qfile.1 b/man/qfile.1
index 5bd58c7..ff92897 100644
--- a/man/qfile.1
+++ b/man/qfile.1
@@ -1,48 +1,55 @@
-.TH qfile "1" "Jun 2016" "Gentoo Foundation" "qfile"
+.\" generated by mkman.py, please do NOT edit!
+.TH qfile "1" "Apr 2018" "Gentoo Foundation" "qfile"
 .SH NAME
 qfile \- list all pkgs owning files
 .SH SYNOPSIS
 .B qfile
 \fI[opts] <filename>\fR
 .SH DESCRIPTION
-
+\fIqfile\fR searches packages for files they provide.  The searched
+packages must be installed, thus the search is for any file on the
+filesystem, to what package that file belongs.  It allows to identify
+which package installed a certain file.
 .SH OPTIONS
 .TP
 \fB\-S\fR, \fB\-\-slots\fR
-Display installed packages with slots
+Display installed packages with slots.
 .TP
 \fB\-R\fR, \fB\-\-root\-prefix\fR
-Assume arguments are already prefixed by $ROOT
+Assume arguments are already prefixed by $ROOT.
 .TP
 \fB\-b\fR, \fB\-\-basename\fR
-Match any component of the path
+Match any component of the path.
 .TP
 \fB\-o\fR, \fB\-\-orphans\fR
-List orphan files
+List orphan files.
 .TP
 \fB\-x\fR \fI<arg>\fR, \fB\-\-exclude\fR \fI<arg>\fR
-Don't look in package <arg> (used with --orphans)
+Don't look in package <arg> (used with --orphans).
 .TP
 \fB\-e\fR, \fB\-\-exact\fR
-Exact match (used with --exclude)
+Exact match (used with --exclude).
 .TP
 \fB\-\-root\fR \fI<arg>\fR
-Set the ROOT env var
+Set the ROOT env var.
 .TP
 \fB\-v\fR, \fB\-\-verbose\fR
-Make a lot of noise
+Print package versions to matches, warn about problems with
+resolving symlinks or positioning packages under an alternative
+root.
 .TP
 \fB\-q\fR, \fB\-\-quiet\fR
-Tighter output; suppress warnings
+Don't print matching file for matches, just the package.  Don't
+report about orphan files.
 .TP
 \fB\-C\fR, \fB\-\-nocolor\fR
-Don't output color
+Don't output color.
 .TP
 \fB\-h\fR, \fB\-\-help\fR
-Print this help and exit
+Print this help and exit.
 .TP
 \fB\-V\fR, \fB\-\-version\fR
-Print version and exit
+Print version and exit.
 .SH "FINDING FILES OWNERS"
 .PP
 This is the default behavior of \fBqfile\fP.  It will list the packages which
@@ -159,7 +166,7 @@ takes one argument, which can be a package name (\fBbash\fP or
 packages (ie., comparing the contents of one package with the contents of all
 the others).
 .PP
-For example, the following script will search collisions beetween all your
+For example, the following script will search collisions between all your
 installed packages. Be careful, this will takes time:
 .nf\fI
 	#!/bin/bash
@@ -202,7 +209,8 @@ TGL degrenier[at]easyconnect.fr
 .SH "REPORTING BUGS"
 Please report bugs via http://bugs.gentoo.org/
 .br
-Product: Portage Development; Component: Tools
+Product: Portage Development; Component: Tools, Assignee:
+portage-utils@gentoo.org
 .SH AUTHORS
 .nf
 Ned Ludd <solar@gentoo.org>


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [gentoo-commits] proj/portage-utils:master commit in: man/include/, man/
@ 2018-04-02 18:59 Fabian Groffen
  0 siblings, 0 replies; 8+ messages in thread
From: Fabian Groffen @ 2018-04-02 18:59 UTC (permalink / raw
  To: gentoo-commits

commit:     7de177d7ac1dff248f91e45bfdc3163629dae79e
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Mon Apr  2 18:59:02 2018 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Mon Apr  2 18:59:02 2018 +0000
URL:        https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=7de177d7

qgrep: improve documentation

Bug: https://bugs.gentoo.org/645554

 man/include/qgrep.desc         |  3 +++
 man/include/qgrep.optdesc.yaml |  5 ++++
 man/qgrep.1                    | 54 +++++++++++++++++++++++-------------------
 3 files changed, 38 insertions(+), 24 deletions(-)

diff --git a/man/include/qgrep.desc b/man/include/qgrep.desc
new file mode 100644
index 0000000..c95d35a
--- /dev/null
+++ b/man/include/qgrep.desc
@@ -0,0 +1,3 @@
+\fIqgrep\fR searches for a given pattern in all ebuilds of the current
+portage tree.  Optionally the search is in all eclasses, or just in the
+ebuilds that are currently installed.

diff --git a/man/include/qgrep.optdesc.yaml b/man/include/qgrep.optdesc.yaml
new file mode 100644
index 0000000..87b174e
--- /dev/null
+++ b/man/include/qgrep.optdesc.yaml
@@ -0,0 +1,5 @@
+verbose: |
+    Print multiple matches per files.  When this option is given
+    multiple times, also linenumber are printed for matches next to file
+    names.
+quiet: Ignored for compatibility with other qapplets.

diff --git a/man/qgrep.1 b/man/qgrep.1
index e31e45a..bd140b3 100644
--- a/man/qgrep.1
+++ b/man/qgrep.1
@@ -1,80 +1,86 @@
-.TH qgrep "1" "Mar 2016" "Gentoo Foundation" "qgrep"
+.\" generated by mkman.py, please do NOT edit!
+.TH qgrep "1" "Apr 2018" "Gentoo Foundation" "qgrep"
 .SH NAME
 qgrep \- grep in ebuilds
 .SH SYNOPSIS
 .B qgrep
 \fI[opts] <misc args>\fR
 .SH DESCRIPTION
-
+\fIqgrep\fR searches for a given pattern in all ebuilds of the current
+portage tree.  Optionally the search is in all eclasses, or just in the
+ebuilds that are currently installed.
 .SH OPTIONS
 .TP
 \fB\-I\fR, \fB\-\-invert\-match\fR
-Select non-matching lines
+Select non-matching lines.
 .TP
 \fB\-i\fR, \fB\-\-ignore\-case\fR
-Ignore case distinctions
+Ignore case distinctions.
 .TP
 \fB\-H\fR, \fB\-\-with\-filename\fR
-Print the filename for each match
+Print the filename for each match.
 .TP
 \fB\-N\fR, \fB\-\-with\-name\fR
-Print the package or eclass name for each match
+Print the package or eclass name for each match.
 .TP
 \fB\-c\fR, \fB\-\-count\fR
-Only print a count of matching lines per FILE
+Only print a count of matching lines per FILE.
 .TP
 \fB\-l\fR, \fB\-\-list\fR
-Only print FILE names containing matches
+Only print FILE names containing matches.
 .TP
 \fB\-L\fR, \fB\-\-invert\-list\fR
-Only print FILE names containing no match
+Only print FILE names containing no match.
 .TP
 \fB\-e\fR, \fB\-\-regexp\fR
-Use PATTERN as a regular expression
+Use PATTERN as a regular expression.
 .TP
 \fB\-x\fR, \fB\-\-extended\fR
-Use PATTERN as an extended regular expression
+Use PATTERN as an extended regular expression.
 .TP
 \fB\-J\fR, \fB\-\-installed\fR
-Search in installed ebuilds instead of the tree
+Search in installed ebuilds instead of the tree.
 .TP
 \fB\-E\fR, \fB\-\-eclass\fR
-Search in eclasses instead of ebuilds
+Search in eclasses instead of ebuilds.
 .TP
 \fB\-s\fR, \fB\-\-skip\-comments\fR
-Skip comments lines
+Skip comments lines.
 .TP
 \fB\-S\fR \fI<arg>\fR, \fB\-\-skip\fR \fI<arg>\fR
-Skip lines matching <arg>
+Skip lines matching <arg>.
 .TP
 \fB\-B\fR \fI<arg>\fR, \fB\-\-before\fR \fI<arg>\fR
-Print <arg> lines of leading context
+Print <arg> lines of leading context.
 .TP
 \fB\-A\fR \fI<arg>\fR, \fB\-\-after\fR \fI<arg>\fR
-Print <arg> lines of trailing context
+Print <arg> lines of trailing context.
 .TP
 \fB\-\-root\fR \fI<arg>\fR
-Set the ROOT env var
+Set the ROOT env var.
 .TP
 \fB\-v\fR, \fB\-\-verbose\fR
-Make a lot of noise
+Print multiple matches per files.  When this option is given
+multiple times, also linenumber are printed for matches next to file
+names.
 .TP
 \fB\-q\fR, \fB\-\-quiet\fR
-Tighter output; suppress warnings
+Ignored for compatibility with other qapplets.
 .TP
 \fB\-C\fR, \fB\-\-nocolor\fR
-Don't output color
+Don't output color.
 .TP
 \fB\-h\fR, \fB\-\-help\fR
-Print this help and exit
+Print this help and exit.
 .TP
 \fB\-V\fR, \fB\-\-version\fR
-Print version and exit
+Print version and exit.
 
 .SH "REPORTING BUGS"
 Please report bugs via http://bugs.gentoo.org/
 .br
-Product: Portage Development; Component: Tools
+Product: Portage Development; Component: Tools, Assignee:
+portage-utils@gentoo.org
 .SH AUTHORS
 .nf
 Ned Ludd <solar@gentoo.org>


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [gentoo-commits] proj/portage-utils:master commit in: man/include/, man/
@ 2018-04-03 20:00 Fabian Groffen
  0 siblings, 0 replies; 8+ messages in thread
From: Fabian Groffen @ 2018-04-03 20:00 UTC (permalink / raw
  To: gentoo-commits

commit:     2921191511917e039e6cbca77b7b4977fc8a9eb4
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Tue Apr  3 15:29:46 2018 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Tue Apr  3 15:29:46 2018 +0000
URL:        https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=29211915

qxpak: improve documentation

Bug: https://bugs.gentoo.org/645554

 man/include/qxpak.desc |  1 +
 man/qxpak.1            | 30 ++++++++++++++++--------------
 2 files changed, 17 insertions(+), 14 deletions(-)

diff --git a/man/include/qxpak.desc b/man/include/qxpak.desc
new file mode 100644
index 0000000..13b9591
--- /dev/null
+++ b/man/include/qxpak.desc
@@ -0,0 +1 @@
+\fIqxpak\fR is like ar and tar for xpak archives.

diff --git a/man/qxpak.1 b/man/qxpak.1
index dbf36f6..710df44 100644
--- a/man/qxpak.1
+++ b/man/qxpak.1
@@ -1,50 +1,52 @@
-.TH qxpak "1" "Mar 2016" "Gentoo Foundation" "qxpak"
+.\" generated by mkman.py, please do NOT edit!
+.TH qxpak "1" "Apr 2018" "Gentoo Foundation" "qxpak"
 .SH NAME
 qxpak \- manipulate xpak archives
 .SH SYNOPSIS
 .B qxpak
 \fI[opts] <misc args>\fR
 .SH DESCRIPTION
-
+\fIqxpak\fR is like ar and tar for xpak archives.
 .SH OPTIONS
 .TP
 \fB\-l\fR, \fB\-\-list\fR
-List the contents of an archive
+List the contents of an archive.
 .TP
 \fB\-x\fR, \fB\-\-extract\fR
-Extract the contents of an archive
+Extract the contents of an archive.
 .TP
 \fB\-c\fR, \fB\-\-create\fR
-Create an archive of a directory/files
+Create an archive of a directory/files.
 .TP
 \fB\-d\fR \fI<arg>\fR, \fB\-\-dir\fR \fI<arg>\fR
-Change to specified directory
+Change to specified directory.
 .TP
 \fB\-O\fR, \fB\-\-stdout\fR
-Write files to stdout
+Write files to stdout.
 .TP
 \fB\-\-root\fR \fI<arg>\fR
-Set the ROOT env var
+Set the ROOT env var.
 .TP
 \fB\-v\fR, \fB\-\-verbose\fR
-Make a lot of noise
+Make a lot of noise.
 .TP
 \fB\-q\fR, \fB\-\-quiet\fR
-Tighter output; suppress warnings
+Tighter output; suppress warnings.
 .TP
 \fB\-C\fR, \fB\-\-nocolor\fR
-Don't output color
+Don't output color.
 .TP
 \fB\-h\fR, \fB\-\-help\fR
-Print this help and exit
+Print this help and exit.
 .TP
 \fB\-V\fR, \fB\-\-version\fR
-Print version and exit
+Print version and exit.
 
 .SH "REPORTING BUGS"
 Please report bugs via http://bugs.gentoo.org/
 .br
-Product: Portage Development; Component: Tools
+Product: Portage Development; Component: Tools, Assignee:
+portage-utils@gentoo.org
 .SH AUTHORS
 .nf
 Ned Ludd <solar@gentoo.org>


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [gentoo-commits] proj/portage-utils:master commit in: man/include/, man/
@ 2018-05-18 10:15 Fabian Groffen
  0 siblings, 0 replies; 8+ messages in thread
From: Fabian Groffen @ 2018-05-18 10:15 UTC (permalink / raw
  To: gentoo-commits

commit:     213b183db62d05fc918f323098b19ac260fc2a3c
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Fri May 18 10:08:12 2018 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Fri May 18 10:08:12 2018 +0000
URL:        https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=213b183d

mkman.py: add additional authors to main authors section

 man/include/qfile-99-authors.include | 4 ----
 man/include/qfile-authors.include    | 1 +
 man/mkman.py                         | 5 ++++-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/man/include/qfile-99-authors.include b/man/include/qfile-99-authors.include
deleted file mode 100644
index df3dc39..0000000
--- a/man/include/qfile-99-authors.include
+++ /dev/null
@@ -1,4 +0,0 @@
-.SH "ADDITIONAL CONTRIBUTORS"
-.nf
-TGL degrenier[at]easyconnect.fr
-.fi

diff --git a/man/include/qfile-authors.include b/man/include/qfile-authors.include
new file mode 100644
index 0000000..d90fe2a
--- /dev/null
+++ b/man/include/qfile-authors.include
@@ -0,0 +1 @@
+TGL <degrenier[at]easyconnect.fr>

diff --git a/man/mkman.py b/man/mkman.py
index 8444311..7089320 100755
--- a/man/mkman.py
+++ b/man/mkman.py
@@ -139,7 +139,10 @@ def MkMan(applets, applet, output):
     # Handle any fragments this applet has available
     for frag in sorted(glob.glob(os.path.join(FRAGS_DIR, '%s-*.include' % applet))):
         with open(frag) as f:
-            extra_sections += [x.rstrip() for x in f.readlines()]
+            if "-authors." in frag:
+                authors += [x.rstrip() for x in f.readlines()]
+            else:
+                extra_sections += [x.rstrip() for x in f.readlines()]
 
     data = {
         'applet': applet,


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [gentoo-commits] proj/portage-utils:master commit in: man/include/, man/
@ 2019-04-28  8:52 Fabian Groffen
  0 siblings, 0 replies; 8+ messages in thread
From: Fabian Groffen @ 2019-04-28  8:52 UTC (permalink / raw
  To: gentoo-commits

commit:     30249c7fa6be35ae2a35fbab6381d2c51b772187
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 28 08:00:38 2019 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sun Apr 28 08:00:38 2019 +0000
URL:        https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=30249c7f

man/qgrep: use bold instead of italics for program refs

Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 man/include/qgrep.desc | 2 +-
 man/qgrep.1            | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/man/include/qgrep.desc b/man/include/qgrep.desc
index 98bcc09..e6bcf43 100644
--- a/man/include/qgrep.desc
+++ b/man/include/qgrep.desc
@@ -3,4 +3,4 @@ current portage tree and defined additional overlays.  Optionally the
 search is in all eclasses, or just in the ebuilds that are currently
 installed.  To narrow the search, multiple targets can be given using
 atom syntax.  In particular, the trailing slash (/) syntax can be used
-to match an entire category.  See also \fIqatom\fR(1).
+to match an entire category.  See also \fBqatom\fR(1).

diff --git a/man/qgrep.1 b/man/qgrep.1
index 048e28e..347c88c 100644
--- a/man/qgrep.1
+++ b/man/qgrep.1
@@ -11,7 +11,7 @@ current portage tree and defined additional overlays.  Optionally the
 search is in all eclasses, or just in the ebuilds that are currently
 installed.  To narrow the search, multiple targets can be given using
 atom syntax.  In particular, the trailing slash (/) syntax can be used
-to match an entire category.  See also \fIqatom\fR(1).
+to match an entire category.  See also \fBqatom\fR(1).
 .SH OPTIONS
 .TP
 \fB\-I\fR, \fB\-\-invert\-match\fR


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [gentoo-commits] proj/portage-utils:master commit in: man/include/, man/
@ 2019-05-04 11:53 Fabian Groffen
  0 siblings, 0 replies; 8+ messages in thread
From: Fabian Groffen @ 2019-05-04 11:53 UTC (permalink / raw
  To: gentoo-commits

commit:     3157f0fd47930f8604c6cc668906b3131dcc15d7
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Fri May  3 17:20:51 2019 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Fri May  3 17:20:51 2019 +0000
URL:        https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=3157f0fd

qkeyword.1: add description

Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 man/include/qkeyword.desc | 3 +++
 man/qkeyword.1            | 4 +++-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/man/include/qkeyword.desc b/man/include/qkeyword.desc
new file mode 100644
index 0000000..3bbfb43
--- /dev/null
+++ b/man/include/qkeyword.desc
@@ -0,0 +1,3 @@
+\fIqkeyword\fR allows various searches based on KEYWORDS aimed at Gentoo
+developers.  Various modes allow to query which packages would be
+available, or are candidate for keywording.

diff --git a/man/qkeyword.1 b/man/qkeyword.1
index a575404..d32e771 100644
--- a/man/qkeyword.1
+++ b/man/qkeyword.1
@@ -6,7 +6,9 @@ qkeyword \- list packages based on keywords
 .B qkeyword
 \fI[opts] <action> <args>\fR
 .SH DESCRIPTION
-
+\fIqkeyword\fR allows various searches based on KEYWORDS aimed at Gentoo
+developers.  Various modes allow to query which packages would be
+available, or are candidate for keywording.
 .SH OPTIONS
 .TP
 \fB\-p\fR \fI<arg>\fR, \fB\-\-matchpkg\fR \fI<arg>\fR


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [gentoo-commits] proj/portage-utils:master commit in: man/include/, man/
@ 2019-05-17 11:55 Fabian Groffen
  0 siblings, 0 replies; 8+ messages in thread
From: Fabian Groffen @ 2019-05-17 11:55 UTC (permalink / raw
  To: gentoo-commits

commit:     e7fd910eb6b95031261d4f8878bc97ca7818a9e2
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Fri May 17 11:54:55 2019 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Fri May 17 11:54:55 2019 +0000
URL:        https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=e7fd910e

man/q: document -r/-m (cache) opts were removed

Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 man/include/q.desc | 8 ++++++++
 man/q.1            | 9 ++++++++-
 2 files changed, 16 insertions(+), 1 deletion(-)

diff --git a/man/include/q.desc b/man/include/q.desc
new file mode 100644
index 0000000..7109c46
--- /dev/null
+++ b/man/include/q.desc
@@ -0,0 +1,8 @@
+.I q
+is a collection of utilities for use with Gentoo systems regarding
+installed and available packages.
+.P
+After version 0.74 of portage-utils, the cache functionality was removed
+in favour of using various trees directly, and optionally the caches
+therein.  As such the \fB-r\fR and \fB-m\fR options were removed.  It is
+no longer necessary to initialise the cache at any time.

diff --git a/man/q.1 b/man/q.1
index cbf2303..92794a2 100644
--- a/man/q.1
+++ b/man/q.1
@@ -6,7 +6,14 @@ q \- invoke a portage utility applet
 .B q
 \fI<applet> <args> \fR
 .SH DESCRIPTION
-
+.I q
+is a collection of utilities for use with Gentoo systems regarding
+installed and available packages.
+.P
+After version 0.74 of portage-utils, the cache functionality was removed
+in favour of using various trees directly, and optionally the caches
+therein.  As such the \fB-r\fR and \fB-m\fR options were removed.  It is
+no longer necessary to initialise the cache at any time.
 .SH OPTIONS
 .TP
 \fB\-i\fR, \fB\-\-install\fR


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [gentoo-commits] proj/portage-utils:master commit in: man/include/, man/
@ 2025-08-19 11:59 Fabian Groffen
  0 siblings, 0 replies; 8+ messages in thread
From: Fabian Groffen @ 2025-08-19 11:59 UTC (permalink / raw
  To: gentoo-commits

commit:     63e38584600d3292d83a96641bf1e5f75ed54c0d
Author:     Jernej Jakob <jernej.jakob <AT> gmail <DOT> com>
AuthorDate: Tue Jul 22 22:18:51 2025 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Tue Aug 19 11:58:58 2025 +0000
URL:        https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=63e38584

man: document -F/--format

Closes: https://github.com/gentoo/portage-utils/pull/34
Signed-off-by: Jernej Jakob <jernej.jakob <AT> gmail.com>
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 man/include/qatom.optdesc.yaml    |  4 +++-
 man/include/qcheck.optdesc.yaml   |  7 +++++++
 man/include/qfile.optdesc.yaml    |  8 ++++++++
 man/include/qkeyword.optdesc.yaml |  6 ++++++
 man/include/qlist.optdesc.yaml    | 27 +++++++++++++++++++++++++++
 man/include/qlop.optdesc.yaml     |  7 +++++++
 man/include/qsearch.optdesc.yaml  |  8 ++++++++
 man/include/qsize.optdesc.yaml    |  7 +++++++
 man/include/quse.optdesc.yaml     |  8 ++++++++
 man/include/qwhich.optdesc.yaml   | 16 ++++++++++++++++
 man/qatom.1                       |  6 ++++--
 man/qcheck.1                      |  9 +++++++--
 man/qfile.1                       |  8 +++++++-
 man/qkeyword.1                    |  8 ++++++--
 man/qlist.1                       | 27 ++++++++++++++++++++++++++-
 man/qlop.1                        |  7 ++++++-
 man/qsearch.1                     |  8 +++++++-
 man/qsize.1                       |  7 ++++++-
 man/quse.1                        |  8 +++++++-
 man/qwhich.1                      | 23 +++++++++++++++++++----
 20 files changed, 192 insertions(+), 17 deletions(-)

diff --git a/man/include/qatom.optdesc.yaml b/man/include/qatom.optdesc.yaml
index e71dfb7..3755562 100644
--- a/man/include/qatom.optdesc.yaml
+++ b/man/include/qatom.optdesc.yaml
@@ -14,7 +14,9 @@ format: |
     variables from \fBebuild\fR(5).
     .RS
     .IP CATEGORY
-    The category of the package.
+    The category of the package.  If this field is specified as
+    \fI%[CATEGORY]\fR and it precedes a subsequent field start symbol,
+    the field will be suffixed with a \fI/\fR.
     .IP P
     The package name and version without the ebuild revision.
     .IP PN

diff --git a/man/include/qcheck.optdesc.yaml b/man/include/qcheck.optdesc.yaml
new file mode 100644
index 0000000..cd15520
--- /dev/null
+++ b/man/include/qcheck.optdesc.yaml
@@ -0,0 +1,7 @@
+format: |
+    Print matched atom using given format string.
+    The default is \fI%[CATEGORY]%[PN]\fR or \fI%[CATEGORY]%[PF]\fR in
+    verbose mode (\fB-v\fR|\fB--verbose\fR).
+    Note that this only sets the format of the atom field, not the
+    entire output line.
+    For more information see \fBqatom\fR(1).

diff --git a/man/include/qfile.optdesc.yaml b/man/include/qfile.optdesc.yaml
index 249da71..fd0a7e4 100644
--- a/man/include/qfile.optdesc.yaml
+++ b/man/include/qfile.optdesc.yaml
@@ -15,3 +15,11 @@ follow: |
     locations which contain a symlink traversal, e.g. /bin/bash.  By
     default only the input arguments are resolved to make an exact match
     with the VDB.  Turning this option on may affect performance.
+format: |
+    Print matched atom using given format string.
+    The default is \fI%[CATEGORY]%[PN]\fR or \fI%[CATEGORY]%[PF]\fR in
+    verbose mode (\fB-v\fR|\fB--verbose\fR).
+    If \fB-S\fR|\fB--slot\fR is set, \fI%[SLOT]\fR will be appended.
+    Note that this only sets the format of the atom field, not the
+    entire output line.
+    For more information see \fBqatom\fR(1).

diff --git a/man/include/qkeyword.optdesc.yaml b/man/include/qkeyword.optdesc.yaml
new file mode 100644
index 0000000..ecbaaae
--- /dev/null
+++ b/man/include/qkeyword.optdesc.yaml
@@ -0,0 +1,6 @@
+format: |
+    Print matched atom using given format string.
+    The default is \fI%[CATEGORY]%[PF]\fR.
+    Note that this only sets the format of the atom field, not the
+    entire output line.
+    For more information see \fBqatom\fR(1).

diff --git a/man/include/qlist.optdesc.yaml b/man/include/qlist.optdesc.yaml
index 0ae0700..8cfe273 100644
--- a/man/include/qlist.optdesc.yaml
+++ b/man/include/qlist.optdesc.yaml
@@ -27,3 +27,30 @@ verbose: |
     When listing the package contents, \fB\-v\fR displays symlinks with
     an arrow (\->) to their target.  Shows disabled USE-flags when used
     with \fB\-U\fR.
+format: |
+    Print matched atom using given format string.
+
+    The default base format is:
+      \fI%[CATEGORY]%[PN]\fR
+    .br
+    If \fB-v\fR|\fB--verbose\fR the base format is instead:
+      \fI%[CATEGORY]%[PF]\fR
+    .br
+
+    If \fB-k\fR|\fB--binpkgs\fR is set:
+      \fI%[BUILDID]\fR is appended
+    .br
+    If \fB-S\fR|\fB--slots\fR is set once:
+      \fI%[SLOT]\fR is appended
+    .br
+    If \fB-S\fR|\fB--slots\fR is set twice:
+      \fI%[SUBSLOT]\fR is appended
+    .br
+    If \fB-R\fR|\fB--repo\fR is set:
+      \fI%[REPO]\fR is appended
+    .br
+
+    Note that this only sets the format of the atom field, not the
+    entire output line.
+
+    For more information see \fBqatom\fR(1).

diff --git a/man/include/qlop.optdesc.yaml b/man/include/qlop.optdesc.yaml
index fc268d6..8ebb7d9 100644
--- a/man/include/qlop.optdesc.yaml
+++ b/man/include/qlop.optdesc.yaml
@@ -68,3 +68,10 @@ emerge: |
     It is possible to combine this flag with the \fB-d\fR flag, in which
     case the default behaviour of displaying the last merge (\fB-l\fR)
     is disabled.
+format: |
+    Print matched atom using given format string.
+    The default is \fI%[CATEGORY]%[PN]\fR or \fI%[CATEGORY]%[PF]\fR in
+    verbose mode (\fB-v\fR|\fB--verbose\fR).
+    Note that this only sets the format of the atom field, not the
+    entire output line.
+    For more information see \fBqatom\fR(1).

diff --git a/man/include/qsearch.optdesc.yaml b/man/include/qsearch.optdesc.yaml
index 9bbaeaa..962405a 100644
--- a/man/include/qsearch.optdesc.yaml
+++ b/man/include/qsearch.optdesc.yaml
@@ -1,2 +1,10 @@
 verbose: Ignored for compatibility with other qapplets.
 quiet: Ignored for compatibility with other qapplets.
+format: |
+    Print matched atom using given format string.
+    The default is \fI%[CATEGORY]%[PN]\fR or \fI%[CATEGORY]%[PF]\fR in
+    verbose mode (\fB-v\fR|\fB--verbose\fR).
+    If \fB-R\fR|\fB--repo\fR is set, \fI%[REPO]\fR will be appended.
+    Note that this only sets the format of the atom field, not the
+    entire output line.
+    For more information see \fBqatom\fR(1).

diff --git a/man/include/qsize.optdesc.yaml b/man/include/qsize.optdesc.yaml
index 8dd58e4..998750c 100644
--- a/man/include/qsize.optdesc.yaml
+++ b/man/include/qsize.optdesc.yaml
@@ -3,3 +3,10 @@ ignore: |
     expression, before calculating size.
 verbose: Ignored for compatibility with other qapplets.
 quiet: Ignored for compatibility with other qapplets.
+format: |
+    Print matched atom using given format string.
+    The default is \fI%[CATEGORY]%[PN]\fR or \fI%[CATEGORY]%[PF]\fR in
+    verbose mode (\fB-v\fR|\fB--verbose\fR).
+    Note that this only sets the format of the atom field, not the
+    entire output line.
+    For more information see \fBqatom\fR(1).

diff --git a/man/include/quse.optdesc.yaml b/man/include/quse.optdesc.yaml
index 71fcd2d..93bca9e 100644
--- a/man/include/quse.optdesc.yaml
+++ b/man/include/quse.optdesc.yaml
@@ -9,3 +9,11 @@ describe: |
     \fB-p\fR, lists all USE-flags with their descriptions (and enabled
     state prefixed with an asterisk when used with \fB-I\fR) per
     package.
+format: |
+    Print matched atom using given format string.
+    The default is \fI%[CATEGORY]%[PN]\fR or \fI%[CATEGORY]%[PF]\fR in
+    verbose mode (\fB-v\fR|\fB--verbose\fR).
+    If \fB-R\fR|\fB--repo\fR is set, \fI%[REPO]\fR will be appended.
+    Note that this only sets the format of the atom field, not the
+    entire output line.
+    For more information see \fBqatom\fR(1).

diff --git a/man/include/qwhich.optdesc.yaml b/man/include/qwhich.optdesc.yaml
new file mode 100644
index 0000000..4cfefcb
--- /dev/null
+++ b/man/include/qwhich.optdesc.yaml
@@ -0,0 +1,16 @@
+format: |
+    Print matched atom using given format string.
+
+    Setting this option has the effect of also setting
+    \fB-p\fR|\fB--pretty\fR.
+
+    Note that this only sets the format of the atom field, not the
+    entire output line.
+
+    For more information see \fBqatom\fR(1).
+pretty: |
+    Print (pretty) atom instead of path.
+
+    The default print format is \fI%[CATEGORY]%[PN]\fR or
+    \fI%[CATEGORY]%[PF]\fR in verbose mode (\fB-v\fR|\fB--verbose\fR).
+    The format can be changed with \fB-F\fR|\fB--format\fR.

diff --git a/man/qatom.1 b/man/qatom.1
index cb1c972..4d02002 100644
--- a/man/qatom.1
+++ b/man/qatom.1
@@ -1,5 +1,5 @@
 .\" generated by mkman.py, please do NOT edit!
-.TH qatom "1" "Jan 2024" "Gentoo Foundation" "qatom"
+.TH qatom "1" "Aug 2025" "Gentoo Foundation" "qatom"
 .SH NAME
 qatom \- split atom strings
 .SH SYNOPSIS
@@ -39,7 +39,9 @@ The following fields are supported, which are inline with the
 variables from \fBebuild\fR(5).
 .RS
 .IP CATEGORY
-The category of the package.
+The category of the package.  If this field is specified as
+\fI%[CATEGORY]\fR and it precedes a subsequent field start symbol,
+the field will be suffixed with a \fI/\fR.
 .IP P
 The package name and version without the ebuild revision.
 .IP PN

diff --git a/man/qcheck.1 b/man/qcheck.1
index 2c7234c..b4eea48 100644
--- a/man/qcheck.1
+++ b/man/qcheck.1
@@ -1,5 +1,5 @@
 .\" generated by mkman.py, please do NOT edit!
-.TH qcheck "1" "Jan 2024" "Gentoo Foundation" "qcheck"
+.TH qcheck "1" "Aug 2025" "Gentoo Foundation" "qcheck"
 .SH NAME
 qcheck \- verify integrity of installed packages
 .SH SYNOPSIS
@@ -10,7 +10,12 @@ qcheck \- verify integrity of installed packages
 .SH OPTIONS
 .TP
 \fB\-F\fR \fI<arg>\fR, \fB\-\-format\fR \fI<arg>\fR
-Custom output format (default: %[CATEGORY]%[PN]).
+Print matched atom using given format string.
+The default is \fI%[CATEGORY]%[PN]\fR or \fI%[CATEGORY]%[PF]\fR in
+verbose mode (\fB-v\fR|\fB--verbose\fR).
+Note that this only sets the format of the atom field, not the
+entire output line.
+For more information see \fBqatom\fR(1).
 .TP
 \fB\-s\fR \fI<arg>\fR, \fB\-\-skip\fR \fI<arg>\fR
 Ignore files matching the regular expression <arg>.

diff --git a/man/qfile.1 b/man/qfile.1
index 204f55d..5d57d89 100644
--- a/man/qfile.1
+++ b/man/qfile.1
@@ -1,5 +1,5 @@
 .\" generated by mkman.py, please do NOT edit!
-.TH qfile "1" "Apr 2025" "Gentoo Foundation" "qfile"
+.TH qfile "1" "Aug 2025" "Gentoo Foundation" "qfile"
 .SH NAME
 qfile \- list all pkgs owning files
 .SH SYNOPSIS
@@ -37,6 +37,12 @@ renamed to \fB-d\fR.
 .TP
 \fB\-F\fR \fI<arg>\fR, \fB\-\-format\fR \fI<arg>\fR
 Print matched atom using given format string.
+The default is \fI%[CATEGORY]%[PN]\fR or \fI%[CATEGORY]%[PF]\fR in
+verbose mode (\fB-v\fR|\fB--verbose\fR).
+If \fB-S\fR|\fB--slot\fR is set, \fI%[SLOT]\fR will be appended.
+Note that this only sets the format of the atom field, not the
+entire output line.
+For more information see \fBqatom\fR(1).
 .TP
 \fB\-L\fR, \fB\-\-follow\fR
 Follow symlinks in both input as well as VDB stored entries.  This

diff --git a/man/qkeyword.1 b/man/qkeyword.1
index fc81e2c..a1a4c67 100644
--- a/man/qkeyword.1
+++ b/man/qkeyword.1
@@ -1,5 +1,5 @@
 .\" generated by mkman.py, please do NOT edit!
-.TH qkeyword "1" "Jan 2024" "Gentoo Foundation" "qkeyword"
+.TH qkeyword "1" "Aug 2025" "Gentoo Foundation" "qkeyword"
 .SH NAME
 qkeyword \- list packages based on keywords
 .SH SYNOPSIS
@@ -65,7 +65,11 @@ list latest stable version per package for <arch>.
 list latest testing version per package for <arch>.
 .TP
 \fB\-F\fR \fI<arg>\fR, \fB\-\-format\fR \fI<arg>\fR
-Print latest atom using given format string.
+Print matched atom using given format string.
+The default is \fI%[CATEGORY]%[PF]\fR.
+Note that this only sets the format of the atom field, not the
+entire output line.
+For more information see \fBqatom\fR(1).
 .TP
 \fB\-\-root\fR \fI<arg>\fR
 Set the ROOT env var.

diff --git a/man/qlist.1 b/man/qlist.1
index e0e9e81..9496f35 100644
--- a/man/qlist.1
+++ b/man/qlist.1
@@ -1,5 +1,5 @@
 .\" generated by mkman.py, please do NOT edit!
-.TH qlist "1" "Sep 2024" "Gentoo Foundation" "qlist"
+.TH qlist "1" "Aug 2025" "Gentoo Foundation" "qlist"
 .SH NAME
 qlist \- list files owned by pkgname
 .SH SYNOPSIS
@@ -64,6 +64,31 @@ Only show symlinks.
 .TP
 \fB\-F\fR \fI<arg>\fR, \fB\-\-format\fR \fI<arg>\fR
 Print matched atom using given format string.
+
+The default base format is:
+  \fI%[CATEGORY]%[PN]\fR
+.br
+If \fB-v\fR|\fB--verbose\fR the base format is instead:
+  \fI%[CATEGORY]%[PF]\fR
+.br
+
+If \fB-k\fR|\fB--binpkgs\fR is set:
+  \fI%[BUILDID]\fR is appended
+.br
+If \fB-S\fR|\fB--slots\fR is set once:
+  \fI%[SLOT]\fR is appended
+.br
+If \fB-S\fR|\fB--slots\fR is set twice:
+  \fI%[SUBSLOT]\fR is appended
+.br
+If \fB-R\fR|\fB--repo\fR is set:
+  \fI%[REPO]\fR is appended
+.br
+
+Note that this only sets the format of the atom field, not the
+entire output line.
+
+For more information see \fBqatom\fR(1).
 .TP
 \fB\-\-root\fR \fI<arg>\fR
 Set the ROOT env var.

diff --git a/man/qlop.1 b/man/qlop.1
index 379f3c6..19d4f78 100644
--- a/man/qlop.1
+++ b/man/qlop.1
@@ -1,5 +1,5 @@
 .\" generated by mkman.py, please do NOT edit!
-.TH qlop "1" "Jan 2024" "Gentoo Foundation" "qlop"
+.TH qlop "1" "Aug 2025" "Gentoo Foundation" "qlop"
 .SH NAME
 qlop \- emerge log analyzer
 .SH SYNOPSIS
@@ -131,6 +131,11 @@ Read package atoms to report from file.
 .TP
 \fB\-F\fR \fI<arg>\fR, \fB\-\-format\fR \fI<arg>\fR
 Print matched atom using given format string.
+The default is \fI%[CATEGORY]%[PN]\fR or \fI%[CATEGORY]%[PF]\fR in
+verbose mode (\fB-v\fR|\fB--verbose\fR).
+Note that this only sets the format of the atom field, not the
+entire output line.
+For more information see \fBqatom\fR(1).
 .TP
 \fB\-\-root\fR \fI<arg>\fR
 Set the ROOT env var.

diff --git a/man/qsearch.1 b/man/qsearch.1
index 8c56216..d2e430b 100644
--- a/man/qsearch.1
+++ b/man/qsearch.1
@@ -1,5 +1,5 @@
 .\" generated by mkman.py, please do NOT edit!
-.TH qsearch "1" "Jan 2024" "Gentoo Foundation" "qsearch"
+.TH qsearch "1" "Aug 2025" "Gentoo Foundation" "qsearch"
 .SH NAME
 qsearch \- search pkgname/desc
 .SH SYNOPSIS
@@ -31,6 +31,12 @@ Show repository the ebuild originates from.
 .TP
 \fB\-F\fR \fI<arg>\fR, \fB\-\-format\fR \fI<arg>\fR
 Print matched atom using given format string.
+The default is \fI%[CATEGORY]%[PN]\fR or \fI%[CATEGORY]%[PF]\fR in
+verbose mode (\fB-v\fR|\fB--verbose\fR).
+If \fB-R\fR|\fB--repo\fR is set, \fI%[REPO]\fR will be appended.
+Note that this only sets the format of the atom field, not the
+entire output line.
+For more information see \fBqatom\fR(1).
 .TP
 \fB\-\-root\fR \fI<arg>\fR
 Set the ROOT env var.

diff --git a/man/qsize.1 b/man/qsize.1
index b701476..eaa3d9f 100644
--- a/man/qsize.1
+++ b/man/qsize.1
@@ -1,5 +1,5 @@
 .\" generated by mkman.py, please do NOT edit!
-.TH qsize "1" "Jan 2024" "Gentoo Foundation" "qsize"
+.TH qsize "1" "Aug 2025" "Gentoo Foundation" "qsize"
 .SH NAME
 qsize \- calculate size usage
 .SH SYNOPSIS
@@ -35,6 +35,11 @@ expression, before calculating size.
 .TP
 \fB\-F\fR \fI<arg>\fR, \fB\-\-format\fR \fI<arg>\fR
 Print matched atom using given format string.
+The default is \fI%[CATEGORY]%[PN]\fR or \fI%[CATEGORY]%[PF]\fR in
+verbose mode (\fB-v\fR|\fB--verbose\fR).
+Note that this only sets the format of the atom field, not the
+entire output line.
+For more information see \fBqatom\fR(1).
 .TP
 \fB\-\-root\fR \fI<arg>\fR
 Set the ROOT env var.

diff --git a/man/quse.1 b/man/quse.1
index 2263b1a..aa7f071 100644
--- a/man/quse.1
+++ b/man/quse.1
@@ -1,5 +1,5 @@
 .\" generated by mkman.py, please do NOT edit!
-.TH quse "1" "Jan 2024" "Gentoo Foundation" "quse"
+.TH quse "1" "Aug 2025" "Gentoo Foundation" "quse"
 .SH NAME
 quse \- find pkgs using useflags
 .SH SYNOPSIS
@@ -36,6 +36,12 @@ Show repository the ebuild originates from.
 .TP
 \fB\-F\fR \fI<arg>\fR, \fB\-\-format\fR \fI<arg>\fR
 Print matched atom using given format string.
+The default is \fI%[CATEGORY]%[PN]\fR or \fI%[CATEGORY]%[PF]\fR in
+verbose mode (\fB-v\fR|\fB--verbose\fR).
+If \fB-R\fR|\fB--repo\fR is set, \fI%[REPO]\fR will be appended.
+Note that this only sets the format of the atom field, not the
+entire output line.
+For more information see \fBqatom\fR(1).
 .TP
 \fB\-\-root\fR \fI<arg>\fR
 Set the ROOT env var.

diff --git a/man/qwhich.1 b/man/qwhich.1
index b97d442..ceb18a5 100644
--- a/man/qwhich.1
+++ b/man/qwhich.1
@@ -1,5 +1,5 @@
 .\" generated by mkman.py, please do NOT edit!
-.TH qwhich "1" "Jan 2024" "Gentoo Foundation" "qwhich"
+.TH qwhich "1" "Aug 2025" "Gentoo Foundation" "qwhich"
 .SH NAME
 qwhich \- find path to pkg
 .SH SYNOPSIS
@@ -33,12 +33,19 @@ Look at binary packages.
 Look in main tree and overlays.
 .TP
 \fB\-p\fR, \fB\-\-pretty\fR
-Print (pretty) atom instead of path for use with -F.
+Print (pretty) atom instead of path.
+
+The default print format is \fI%[CATEGORY]%[PN]\fR or
+\fI%[CATEGORY]%[PF]\fR in verbose mode (\fB-v\fR|\fB--verbose\fR).
+The format can be changed with \fB-F\fR|\fB--format\fR.
 .TP
 \fB\-d\fR, \fB\-\-dir\fR
 Print directory instead of path.
 .TP
-\fB\-R\fR, \fB\-\-repo\fR
+\fB\-r\fR \fI<arg>\fR, \fB\-\-repo\fR \fI<arg>\fR
+Only look in given repo.
+.TP
+\fB\-R\fR, \fB\-\-printrepo\fR
 Print repository name instead of path for tree/overlay matches.
 .TP
 \fB\-f\fR, \fB\-\-first\fR
@@ -54,7 +61,15 @@ Skip virtual category.
 Skip acct-user and acct-group categories.
 .TP
 \fB\-F\fR \fI<arg>\fR, \fB\-\-format\fR \fI<arg>\fR
-Print matched using given format string.
+Print matched atom using given format string.
+
+Setting this option has the effect of also setting
+\fB-p\fR|\fB--pretty\fR.
+
+Note that this only sets the format of the atom field, not the
+entire output line.
+
+For more information see \fBqatom\fR(1).
 .TP
 \fB\-\-root\fR \fI<arg>\fR
 Set the ROOT env var.


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-08-19 11:59 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-19 11:59 [gentoo-commits] proj/portage-utils:master commit in: man/include/, man/ Fabian Groffen
  -- strict thread matches above, loose matches on Subject: below --
2019-05-17 11:55 Fabian Groffen
2019-05-04 11:53 Fabian Groffen
2019-04-28  8:52 Fabian Groffen
2018-05-18 10:15 Fabian Groffen
2018-04-03 20:00 Fabian Groffen
2018-04-02 18:59 Fabian Groffen
2018-04-02 17:52 Fabian Groffen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox