libsolv/doc/gen/repomdxml2solv.1

58 lines
2.0 KiB
Groff

'\" t
.\" Title: repomdxml2solv
.\" Author: [see the "Author" section]
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
.\" Date: 09/14/2018
.\" Manual: LIBSOLV
.\" Source: libsolv
.\" Language: English
.\"
.TH "REPOMDXML2SOLV" "1" "09/14/2018" "libsolv" "LIBSOLV"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
repomdxml2solv \- convert a repomd\&.xml file into a solv file
.SH "SYNOPSIS"
.sp
\fBrepomdxml2solv\fR [\fIOPTIONS\fR]
.SH "DESCRIPTION"
.sp
The repomd\&.xml file is the index file of a rpm\-md repository, containing references to all data file with checksums\&. The repomdxml2solv tool reads the repomd\&.xml file from stdin and writes the parsed data as solv file to standard output\&. The data is stored as meta attributes in the result\&.
.PP
\fB\-q\fR \fIWHAT\fR
.RS 4
Data query mode: instead of writing a solv file, select the
\fIWHAT\fR
element in the input data and write it to standard output\&. Examples for
\fIWHAT\fR
are
\fBtype\fR
to get a list of all types, and
\fBprimary:location\fR
to get the location of the element with type
\fBprimary\fR\&.
.RE
.SH "SEE ALSO"
.sp
rpmmd2solv(1), mergesolv(1), createrepo(8)
.SH "AUTHOR"
.sp
Michael Schroeder <mls@suse\&.de>