From fc22b3d6507c6745911b9dfcc68f1e665ae13dbc Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 21:43:11 +0200 Subject: Adding upstream version 4.22.0. Signed-off-by: Daniel Baumann --- upstream/debian-unstable/man1/reposync.1 | 109 +++++++++++++++++++++++++++++++ 1 file changed, 109 insertions(+) create mode 100644 upstream/debian-unstable/man1/reposync.1 (limited to 'upstream/debian-unstable/man1/reposync.1') diff --git a/upstream/debian-unstable/man1/reposync.1 b/upstream/debian-unstable/man1/reposync.1 new file mode 100644 index 00000000..914ae2dd --- /dev/null +++ b/upstream/debian-unstable/man1/reposync.1 @@ -0,0 +1,109 @@ +.\" Man page generated from reStructuredText. +. +. +.nr rst2man-indent-level 0 +. +.de1 rstReportMargin +\\$1 \\n[an-margin] +level \\n[rst2man-indent-level] +level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] +- +\\n[rst2man-indent0] +\\n[rst2man-indent1] +\\n[rst2man-indent2] +.. +.de1 INDENT +.\" .rstReportMargin pre: +. RS \\$1 +. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] +. nr rst2man-indent-level +1 +.\" .rstReportMargin post: +.. +.de UNINDENT +. RE +.\" indent \\n[an-margin] +.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] +.nr rst2man-indent-level -1 +.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] +.in \\n[rst2man-indent\\n[rst2man-indent-level]]u +.. +.TH "REPOSYNC" "1" "Jan 22, 2023" "4.3.1" "dnf-plugins-core" +.SH NAME +reposync \- redirecting to DNF reposync Plugin +.sp +Synchronize packages of a remote DNF repository to a local directory. +.SH SYNOPSIS +.sp +\fBdnf reposync [options]\fP +.SH DESCRIPTION +.sp +\fIreposync\fP makes local copies of remote repositories. Packages that are already present in the local directory are not downloaded again. +.SH OPTIONS +.sp +All general DNF options are accepted. Namely, the \fB\-\-repoid\fP option can be used to specify the repositories to synchronize. See \fIOptions\fP in \fBdnf(8)\fP for details. +.INDENT 0.0 +.TP +.B \fB\-a , \-\-arch=\fP +Download only packages of given architectures (default is all architectures). Can be used multiple times. +.TP +.B \fB\-\-delete\fP +Delete local packages no longer present in repository. +.TP +.B \fB\-\-download\-metadata\fP +Download all repository metadata. Downloaded copy is instantly usable as a repository, no need to run createrepo_c on it. +.TP +.B \fB\-g, \-\-gpgcheck\fP +Remove packages that fail GPG signature checking after downloading. Exit code is \fB1\fP if at least one package was removed. +Note that for repositories with \fBgpgcheck=0\fP set in their configuration the GPG signature is not checked even with this option used. +.TP +.B \fB\-m, \-\-downloadcomps\fP +Also download and uncompress comps.xml. Consider using \fB\-\-download\-metadata\fP option which will download all available repository metadata. +.TP +.B \fB\-\-metadata\-path\fP +Root path under which the downloaded metadata are stored. It defaults to \fB\-\-download\-path\fP value if not given. +.TP +.B \fB\-n, \-\-newest\-only\fP +Download only newest packages per\-repo. +.TP +.B \fB\-\-norepopath\fP +Don’t add the reponame to the download path. Can only be used when syncing a single repository (default is to add the reponame). +.TP +.B \fB\-p , \-\-download\-path=\fP +Root path under which the downloaded repositories are stored, relative to the current working directory. Defaults to the current working directory. Every downloaded repository has a subdirectory named after its ID under this path. +.TP +.B \fB\-\-remote\-time\fP +Try to set the timestamps of the downloaded files to those on the remote side. +.TP +.B \fB\-\-source\fP +Download only source packages. +.TP +.B \fB\-u, \-\-urls\fP +Just print urls of what would be downloaded, don’t download. +.UNINDENT +.SH EXAMPLES +.INDENT 0.0 +.TP +.B \fBdnf reposync \-\-repoid=the_repo\fP +Synchronize all packages from the repository with id “the_repo”. The synchronized copy is saved in “the_repo” subdirectory of the current working directory. +.TP +.B \fBdnf reposync \-p /my/repos/path \-\-repoid=the_repo\fP +Synchronize all packages from the repository with id “the_repo”. In this case files are saved in “/my/repos/path/the_repo” directory. +.TP +.B \fBdnf reposync \-\-repoid=the_repo \-\-download\-metadata\fP +Synchronize all packages and metadata from “the_repo” repository. +.UNINDENT +.sp +Repository synchronized with \fB\-\-download\-metadata\fP option can be directly used in DNF for example by using \fB\-\-repofrompath\fP option: +.sp +\fBdnf \-\-repofrompath=syncedrepo,the_repo \-\-repoid=syncedrepo list \-\-available\fP +.SH SEE ALSO +.INDENT 0.0 +.IP \(bu 2 +\fBdnf(8)\fP, DNF Command Reference +.UNINDENT +.SH AUTHOR +See AUTHORS in your Core DNF Plugins distribution +.SH COPYRIGHT +2023, Red Hat, Licensed under GPLv2+ +.\" Generated by docutils manpage writer. +. -- cgit v1.2.3