|
|
ca81c9 |
From 1b432bada5a3627f729cb42b99b7a93f808e3a80 Mon Sep 17 00:00:00 2001
|
|
|
ca81c9 |
From: Aleš Matěj <amatej@redhat.com>
|
|
|
ca81c9 |
Date: Tue, 8 Jun 2021 11:48:07 +0200
|
|
|
ca81c9 |
Subject: [PATCH] [repomanage] Enhance repomanage documentation (RhBug:1898293)
|
|
|
ca81c9 |
|
|
|
ca81c9 |
= changelog =
|
|
|
ca81c9 |
msg: Enhance repomanage documentation
|
|
|
ca81c9 |
type: enhancement
|
|
|
ca81c9 |
resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1898293
|
|
|
ca81c9 |
---
|
|
|
ca81c9 |
doc/repomanage.rst | 7 ++++---
|
|
|
ca81c9 |
1 file changed, 4 insertions(+), 3 deletions(-)
|
|
|
ca81c9 |
|
|
|
ca81c9 |
diff --git a/doc/repomanage.rst b/doc/repomanage.rst
|
|
|
ca81c9 |
index e4da441..e3171ef 100644
|
|
|
ca81c9 |
--- a/doc/repomanage.rst
|
|
|
ca81c9 |
+++ b/doc/repomanage.rst
|
|
|
ca81c9 |
@@ -31,9 +31,10 @@ Synopsis
|
|
|
ca81c9 |
Description
|
|
|
ca81c9 |
-----------
|
|
|
ca81c9 |
|
|
|
ca81c9 |
-`repomanage` prints newest or oldest packages in a repository specified by <path> for easy piping to xargs or similar programs. In case <path> doesn't contain a valid repository it is searched for rpm packages which are then used instead.
|
|
|
ca81c9 |
+`repomanage` prints newest or older packages in a repository specified by <path> for easy piping to xargs or similar programs. In case <path> doesn't contain a valid repodata, it is searched for rpm packages which are then used instead.
|
|
|
ca81c9 |
+If the repodata are present, `repomanage` uses them as the source of truth, it doesn't verify that they match the present rpm packages. In fact, `repomanage` can run with just the repodata, no rpm packages are needed.
|
|
|
ca81c9 |
|
|
|
ca81c9 |
-In order to work correctly with modular packages <path> has to contain repodata with modular metadata. If modular content is present `repomanage` prints packages from newest or oldest versions of each stream in addition to newest or oldest non-modular packages.
|
|
|
ca81c9 |
+In order to work correctly with modular packages, <path> has to contain repodata with modular metadata. If modular content is present, `repomanage` prints packages from newest or older stream versions in addition to newest or older non-modular packages.
|
|
|
ca81c9 |
|
|
|
ca81c9 |
|
|
|
ca81c9 |
Options
|
|
|
ca81c9 |
@@ -44,7 +45,7 @@ All general DNF options are accepted, see `Options` in :manpage:`dnf(8)` for det
|
|
|
ca81c9 |
The following options set what packages are displayed. These options are mutually exclusive, i.e. only one can be specified. If no option is specified, the newest packages are shown.
|
|
|
ca81c9 |
|
|
|
ca81c9 |
``--old``
|
|
|
ca81c9 |
- Show older packages.
|
|
|
ca81c9 |
+ Show older packages (for a package or a stream show all versions except the newest one).
|
|
|
ca81c9 |
|
|
|
ca81c9 |
``--new``
|
|
|
ca81c9 |
Show newest packages.
|
|
|
ca81c9 |
--
|
|
|
ca81c9 |
libgit2 1.0.1
|
|
|
ca81c9 |
|