createrepo_c(8) - Linux man page

Name

createrepo_c - C implementation of createrepo

Options

-V --version

Show program's version number and exit.

-q --quiet

Run quietly.

-v --verbose

Run verbosely.

-x --excludes <packages>

File globs to exclude, can be specified multiple times.

--basedir <basedir>

Basedir for path to directories.

-u --baseurl <URL>

Optional base URL location for all files.

-g --groupfile GROUPFILE

Path to groupfile to include in metadata.

-s --checksum <checksum_type>

Choose the checksum type used in repomd.xml and for packages in the metadata. The default is now sha256.

-p --pretty

Make sure all xml generated is formatted (default)

-d --database

Generate sqlite databases for use with yum.

--no-database

Do not generate sqlite databases in the repository.

--update

If metadata already exists in the outputdir and an rpm is unchanged (based on file size and mtime) since the metadata was generated, reuse the existing metadata rather than recalculating it. In the case of a large repository with only a few new or modified rpms this can significantly reduce I/O and processing time.

--update-md-path

Use the existing repodata for --update from this path.

--skip-stat

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're fairly trusting or gullible).

-i --pkglist <filename>

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.

-n --includepkg <packages>

Specify pkgs to include on the command line. Takes urls as well as local paths.

-o --outputdir <URL>

Optional output directory.

-S --skip-symlinks

Ignore symlinks of packages.

--changelog-limit <number>

Only import the last N changelog entries, from each rpm, into the metadata.

--unique-md-filenames

Include the file's checksum in the metadata filename, helps HTTP caching (default).

--simple-md-filenames

Do not include the file's checksum in the metadata filename.

--retain-old-md

Keep around the latest (by timestamp) N copies of the old repodata.

--distro DISTRO

Distro tag and optional cpeid: --distro'cpeid,textname'.

--content CONTENT_TAGS

Tags for the content in the repository.

--repo REPO_TAGS

Tags to describe the repository itself.

--revision REVISION

User-specified revision for this repository.

--read-pkgs-list READ_PKGS_LIST

Output the paths to the pkgs actually read useful with --update.

--workers

Number of workers to spawn to read rpms.

--xz

Use xz for repodata compression.

--compress-type <compress_type>

Which compression type to use.

--keep-all-metadata

Keep groupfile and updateinfo from source repo during update.