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, --repo REPOS β€” the repo url. this is the whole point of the program, so, y'know, use it. πŸ“
  • --repo-prefix-search OLD_PREFIX β€” the repository prefix that's gonna get replaced by NEW_PREFIX. out with the old. πŸ’€
  • --repo-prefix-replace NEW_PREFIX β€” the repository prefix URL that OLD_PREFIX gets swapped out for. in with the new. ✨
  • -a, --archlist ARCHLIST β€” 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, --outputdir OUTPUTDIR β€” 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-type COMPRESS_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-dir ZCK_DICT_DIR β€” directory containing compression dictionaries for use by zchunk. it's giving prepared. πŸ’…
  • --method MERGE_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-repo URL β€” packages with noarch architecture 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 a baseurl to 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 the pkgorigins file 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, --groupfile GROUPFILE β€” path to groupfile to include in metadata. πŸŽ€
  • -b, --blocked FILE β€” 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 πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ«Ά