compose-up...t-symlinks(1)

πŸ“¦ version 0.1.51, in fedora 43, fedora 44

okay bestie, so the manual name is compose-up...t-symlinks(1) (they truncated it for the header, iconic of them) and this is a General Commands Manual situation. let's get into it ✨


🌸 NAME 🌸

compose-update-latest-symlinks β€” creates the symbolic links of minor and major version to the given latest compose πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

compose-update-latest-symlinks [OPTIONS...]  COMPOSE_PATH

✨ DESCRIPTION ✨

so compose-update-latest-symlinks creates and updates symbolic links of minor and major version, and it points them at the latest generated compose. it's giving matchmaker but for symlinks πŸ’…

the required path should point to a directory where symlinks should be updated. like, that's the whole assignment, no cap.

here's the vibe: the tool finds all symlinks of the form latest-<NAME>-X.Y.Z with the longest version. then it creates shorter symlinks with fewer version components. slay. πŸ”₯

so, for example, if the directory contains latest-X-1.0.0, latest-X-1.0.1 and latest-X-1.1.0, it will create:

  • latest-X-1.0 -> latest-X-1.0.1
  • latest-X-1.1 -> latest-X-1.1.0
  • latest-X-1 -> latest-X-1.1
⚠️ heads up bestie: there is an expectation that only one product will be present in the directory. one product, one main character, periodt. πŸ‘‘

πŸŽ€ OPTIONS πŸŽ€

  • -h, --help β€” print help and exit. the classic. when in doubt, ask for help, we love a self-aware queen πŸ™ˆ
  • -n, --dry-run β€” only print what symlinks would be created, do not actually perform any actions. it's the "add to cart but never check out" option, lowkey obsessed, nothing gets touched πŸ’–

πŸ’€ EXIT CODE πŸ’€

this tool exits with a status code of 0 on success and a non-zero value on failure. so if it's 0, we ate. if it's not 0, something went sideways 😭


πŸ› BUGS πŸ›

found a bug? please report bugs at:

https://pagure.io/compose-utils/issues

fr fr, they wanna know 🫢


and that's the whole page babes ✨ this was compose-up...t-symlinks(1) from the General Commands Manual β€” go forth and symlink responsibly, ily πŸ’œ

πŸ“¦ where this page comes from