.\" Man page generated from reStructuredText.
.
-.TH CREATEREPO_C "2015-10-20" "" ""
+.TH CREATEREPO_C "2017-02-23" "" ""
.SH NAME
createrepo_c \- Create rpm-md format (xml-rpm-metadata) repository
.
.SS \-v \-\-verbose
.sp
Run verbosely.
-.SS \-x \-\-excludes <packages>
+.SS \-x \-\-excludes PACKAGE_NAME_GLOB
.sp
File globs to exclude, can be specified multiple times.
-.SS \-\-basedir <basedir>
+.SS \-\-basedir BASEDIR
.sp
Basedir for path to directories.
-.SS \-u \-\-baseurl <URL>
+.SS \-u \-\-baseurl URL
.sp
Optional base URL location for all files.
.SS \-g \-\-groupfile GROUPFILE
.sp
Path to groupfile to include in metadata.
-.SS \-s \-\-checksum <checksum_type>
+.SS \-s \-\-checksum CHECKSUM_TYPE
.sp
Choose the checksum type used in repomd.xml and for packages in the metadata. The default is now sha256.
.SS \-p \-\-pretty
.SS \-\-skip\-stat
.sp
Skip the stat() call on a \-\-update, assumes if the filename is the same then the file is still the same (only use this if you\(aqre fairly trusting or gullible).
-.SS \-i \-\-pkglist <filename>
+.SS \-\-split
+.sp
+Run in split media mode. Rather than pass a single directory, take a set of directories corresponding to different volumes in a media set. Meta data is created in the first given directory
+.SS \-i \-\-pkglist FILENAME
.sp
Specify a text file which contains the complete list of files to include in the repository from the set found in the directory. File format is one package per line, no wildcards or globs.
-.SS \-n \-\-includepkg <packages>
+.SS \-n \-\-includepkg PACKAGE
.sp
Specify pkgs to include on the command line. Takes urls as well as local paths.
-.SS \-o \-\-outputdir <URL>
+.SS \-o \-\-outputdir URL
.sp
Optional output directory.
.SS \-S \-\-skip\-symlinks
.sp
Ignore symlinks of packages.
-.SS \-\-split
-.sp
-Run in split media mode. Rather than pass a single directory, take a set of directories corresponding to different volumes in a media set. Meta data is created in the first given directory
-.SS \-\-changelog\-limit <number>
+.SS \-\-changelog\-limit NUM
.sp
Only import the last N changelog entries, from each rpm, into the metadata.
.SS \-\-unique\-md\-filenames
.SS \-\-simple\-md\-filenames
.sp
Do not include the file\(aqs checksum in the metadata filename.
-.SS \-\-retain\-old\-md <N>
+.SS \-\-retain\-old\-md NUM
.sp
Keep around the latest (by timestamp) N copies of the old repodata.
.SS \-\-distro DISTRO
.SS \-\-xz
.sp
Use xz for repodata compression.
-.SS \-\-compress\-type <compress_type>
+.SS \-\-compress\-type COMPRESSION_TYPE
.sp
Which compression type to use.
-.SS \-\-general\-compress\-type <compress_type>
+.SS \-\-general\-compress\-type COMPRESSION_TYPE
.sp
Which compression type to use (even for primary, filelists and other xml).
.SS \-\-keep\-all\-metadata
.SS \-\-location\-prefix PREFIX
.sp
Append this prefix before location_href in output repodata
-.SS \-\-repomd\-checksum <checksum_type>
+.SS \-\-repomd\-checksum CHECKSUM_TYPE
.sp
Checksum type to be used in repomd.xml
+.SS \-\-error\-exit\-val
+.sp
+Exit with retval 2 if there were any errors during processing
.SS \-\-ignore\-lock
.sp
Expert (risky) option: Ignore an existing .repodata/. (Remove the existing .repodata/ and create an empty new one to serve as a lock for other createrepo intances. For the repodata generation, a different temporary dir with the name in format .repodata.time.microseconds.pid/ will be used). NOTE: Use this option on your own risk! If two createrepos run simultaneously, then the state of the generated metadata is not guaranted \- it can be inconsistent and wrong.