NIXTAMAL-GC(1)

πŸ“¦ version 2.4.0, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay so this is NIXTAMAL-GC(1), the nixtamal-gc page from the Nixtamal manual β€” and bestie, it's giving β€œgarbage collect old generations” with a big EXPERIMENTAL sticker on it. πŸ’…

nixtamal-gc garbage collects old generations. It is experimental. It requires NIXTAMAL_EXPERIMENTAL_GC to be set, and it is probably still broken. What it does is keep the freshest (configurable) number of generations. We suggest at least 2 if you're favoring rebase-style workflows, so swapping back & forth is less trouble. ✨


✨ SYNOPSIS ✨

nixtamal gc [OPTION]…

πŸ“œ LICENSE πŸ“œ

GNU General Public License, version 3.0 later (GPL-3.0-or-later). 🫢


πŸ§‘β€πŸ³ MAKER πŸ§‘β€πŸ³

toastal <https://toast.al/contact/> β€” no cap, that's the maker. πŸ’–


πŸ’Έ FUNDING πŸ’Έ

See: https://toast.al/funding/ β€” support the vibes if you can. 🌸


🌸 OPTIONS 🌸

  • --color=WHEN (absent=auto or NIXTAMAL_OUTPUT_COLOR env) β€” colorize the output. WHEN must be one of auto, always or never.
  • --directory=PATH (absent NIXTAMAL_DIRECTORY env) β€” working directory for Nixtamal-related files (default: $PWD/nix/tamal).
  • --generations=INT (absent=2 or NIXTAMAL_GC_GENERATIONS env) β€” number of generations to keep (default: 2). Set to 0 to keep all, 1 to keep only current. Can also be set via NIXTAMAL_GC_GENERATIONS.
  • -j INT, --jobs=INT (absent=80 or NIXTAMAL_JOBS env) β€” Nixtamal’s executor pool domain size.
  • -q, --quiet β€” be quiet. Takes over -v and --verbosity.
  • -v, --verbose β€” increase verbosity. Repeatable, but more than twice does not bring more.
  • --verbosity=LEVEL (absent=warning or NIXTAMAL_LOG_LEVEL env) β€” be more or less verbose. LEVEL must be one of quiet, error, warning, info or debug. Takes over -v.

🌈 COMMON OPTIONS 🌈

  • --help[=FMT] (default=auto) β€” show this help in format FMT. The value FMT must be one of auto, pager, groff or plain. With auto, the format is pager or plain whenever the TERM env var is dumb or undefined.
  • --version β€” show version information.

πŸ”₯ EXIT STATUS πŸ”₯

nixtamal gc exits with:

  • 0 β€” on success.
  • 65 β€” Nixtamal working directory or manifest not set up. Run nixtamal set-up.
  • 66 β€” Version mismatch between manifest and lockfile. Run nixtamal lock, but might require removing the lockfile first until nixtaml fast-forward is made.
  • 67 β€” Manifest ∨ lockfile is not using the latest schema version. Run nixtamal upgrade to upgrade.
  • 68 β€” Failed to parse the manifest file.
  • 69 β€” Failed to parse the lockfile.
  • 70 β€” Failed to serialize lockfile.
  • 71 β€” Fresh command execution threw an exception.
  • 72 β€” Fresh command output nothing.
  • 73 β€” Prefetch command threw an exception.
  • 74 β€” Prefetch command output was unusable.
  • 75 β€” Prefetch command flopped on JSON output.
  • 76 β€” Darcs context file is missing or invalid. Try running nixtamal lock on the input.
  • 77 β€” Vendored patch file is missing. Try running nixtamal lock to fetch it.
  • 78 β€” Silo error (such as bad hex in generation number).
  • 79 β€” Version not found or invalid in manifest file.
  • 80 β€” Upgrading Nixtamal failed.
  • 81 β€” BLAKE3 hash algorithm is requested but this Nix doesn’t support it.
  • 82 β€” Input kind mismatch between manifest & lockfile which prevents values to be melded.
  • 83 β€” Blueprint scaffolding failed to write files.
  • 84 β€” A patch failed to apply.
  • 85 β€” An input references patches that are not defined in the manifest.
  • 123 β€” on indiscriminate errors reported on standard error.
  • 124 β€” on command line parsing errors.
  • 125 β€” on unexpected internal errors (bugs).

🌿 ENVIRONMENT 🌿

These environment variables affect the execution of nixtamal gc:

  • NIXTAMAL_DIRECTORY β€” Directory for Nixtamal
  • NIXTAMAL_GC_GENERATIONS β€” See option --generations.
  • NIXTAMAL_JOBS β€” See option --jobs.
  • NIXTAMAL_LOG_LEVEL β€” See option --verbosity.
  • NIXTAMAL_OUTPUT_COLOR β€” See option --color.

πŸ› BUGS πŸ›

No tracker is set up; contact the maker directly or join the XMPP chatroom @ <xmpp:nixtamal@chat.toastal.in.th?join>. πŸ™ˆ


πŸ‘€ SEE ALSO πŸ‘€


k bai bestie, that's the whole page β€” Nixtamal 2.4.0 signing off πŸ’–βœ¨

πŸ“¦ where this page comes from