MERGEREPO_C(8)
β¨ NAME β¨
okay so mergerepo_c β that's the command, and this is its section 8 manual page β and it does exactly one iconic thing: Merge multiple rpm-md format repositories together. π
that's it. that's the whole job. she takes a bunch of repos and she fuses them. main character energy fr fr. π
π SYNOPSIS π
mergerepo_c [options] --repo repo1 --repo repo2
like, you literally just point her at two repos and she goes. β¨
π OPTIONS π
--versionβ shows the program's version number and then dips out. bye bestie π«Ά-r,--repoREPOSβ the repo url. this is the whole point of the program, so, y'know, use it. π--repo-prefix-searchOLD_PREFIXβ the repository prefix that's gonna get replaced byNEW_PREFIX. out with the old. π--repo-prefix-replaceNEW_PREFIXβ the repository prefix URL thatOLD_PREFIXgets swapped out for. in with the new. β¨-a,--archlistARCHLISTβ defaults to all arches β otherwise you specify which arches you actually want. your call, boo.-d,--database--no-database-v,--verbose
(yeah those three just vibe there with no description in the original, so no lore for you, sorry π just know they exist and they're doing their thing.)
-o,--outputdirOUTPUTDIRβ the location to create the repository. where the magic gets written to disk. π--nogroupsβ do not merge group (comps) metadata. skipping the groups, no groups today. π«--noupdateinfoβ do not merge updateinfo metadata. same energy, different metadata. π«--compress-typeCOMPRESS_TYPEβ which compression type to use. pick your fighter. π--zckβ generate zchunk files as well as the standard repodata. so you get both, greedy, love that for you. π₯--zck-dict-dirZCK_DICT_DIRβ directory containing compression dictionaries for use by zchunk. it's giving prepared. π--methodMERGE_METHODβ specify the merge method for packages with the same name and arch. this is the how do we break the tie setting, and the available merge methods are:repoβ (default) select package from the first specified repository. first come, first served, no cap.nvrβ select package with the higher version and release. newest-ish wins. πtsβ select package with the newest timestamp. time is a flat circle but the timestamp isn't. β
--allβ include all packages with the same name and arch if version or release is different.
β οΈ heads up bestie: if used, the --method argument is ignored! like, fully ignored. don't come crying to me. π
--noarch-repoURLβ packages withnoarcharchitecture will be replaced by a package from this repo, if it exists in it. conditional queen. π¦--unique-md-filenamesβ include the file's checksum in the metadata filename, which helps HTTP caching. this is the default, so she's already doing this unless you tell her not to. πΈ--simple-md-filenamesβ do not include the file's checksum in the metadata filename. the anti-unique option. π--omit-baseurlβ don't add abaseurlto packages that don't have one before. if she didn't have one, she still won't. π-k,--kojiβ enable koji mergerepos behaviour. (you can optionally select simple mode with:--simple) π₯--simpleβ enable koji-specific simple merge mode where we keep even packages with identical NEVRAs.
π only works in combination with--koji/-k. it cannot fly solo.
--pkgoriginsβ enable standard mergerepos behavior while also providing thepkgoriginsfile for koji. doing both, because she can. β¨--arch-expandβ add multilib architectures for the specified archlist and expand all of them.
π only works in combination with --archlist. them's the rules.
-g,--groupfileGROUPFILEβ path to groupfile to include in metadata. π-b,--blockedFILEβ a file containing a list of srpm names to exclude from the merged repo.
π« only works in combination with--koji/-k. blocked means blocked.
and that's the whole page bestie, go forth and merge, you're gonna eat π
signing off from the MERGEREPO_C(8) manual, dated 2020-04-29 β ily, drink water, read your manpages πβ¨ππ¦πΈπ«Ά
π¦ where this page comes from
- opensuse-leap 16.0: createrepo_c 1.1.0-160000.2.2 Β· GPL-2.0-or-later
- opensuse-leap 16.0: createrepo_c 1.1.0-160000.2.2 Β· GPL-2.0-or-later
- opensuse-leap 16.0: createrepo_c 1.1.0-160000.2.2 Β· GPL-2.0-or-later
- opensuse-leap 16.0: createrepo_c 1.1.0-160000.2.2 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms