APTLY-PUBLISHER(1)

πŸ“¦
version 0.12.12 Β· 3 versions
, in debian bookworm, debian trixie, ubuntu noble

πŸ’… NAME πŸ’…

aptly-publisher β€” bestie, this is the tool for easy creation of Aptly multi component publishes ✨


🌸 DESCRIPTION 🌸

okay so here's the whole vibe. you run it like this:

usage: aptly-publisher [-h] [-v] [-d] [--dry] [--timeout TIMEOUT] --url URL [--recreate] [--no-recreate] [--force-overwrite] [--publish-contents] [--acquire-by-hash] [--components COMPONENTS [COMPONENTS ...]]  [--storage STORAGE] [-p PUBLISH [PUBLISH ...]] [-c CONFIG] [--dists DISTS [DISTS ...]]  [--architectures ARCHITECTURES [ARCHITECTURES ...]]  [--only-latest] [--source SOURCE] [--target TARGET] [--packages PACKAGES [PACKAGES ...]] [--diff] [--hard] [-r RESTORE_FILE] [-s SAVE_DIR] [-x PREFIX] action

🫢 positional arguments:

  • action β€” the thing you actually wanna do. it's giving: publish, promote, cleanup, restore, dump, purge πŸ‘‘

πŸŽ€ options:

  • -h, --help β€” shows this help message and then dips, periodt

✨ Common:

  • -v, --verbose β€” chatty mode, bestie
  • -d, --debug β€” debug mode, for when you need to see everything
  • --dry, --dry-run β€” pretend to do the thing, don't actually do the thing
  • --timeout TIMEOUT β€” Aptly client timeout. bump it up for bigger publishes and slow servers, no cap 🐌
  • --url URL β€” URL to Aptly API, eg. http://localhost:8080
  • --recreate β€” drop the publish and create it again. literally the only way to add new components, iykyk
  • --no-recreate β€” never recreate a publish (even when we're adding new components where that's, like, the only option πŸ™ˆ)
  • --force-overwrite β€” overwrite files in pool/ directory without notice. no warning, just vibes πŸ’€
  • --publish-contents β€” publish contents. it's slow so it's disabled by default, specifically so large repositories can survive 🐒
  • --acquire-by-hash β€” use the Acquire-by-hash option. this may help with repository consistency ✨
  • --components COMPONENTS [COMPONENTS ...] β€” space-separated list of components to promote or restore, or to purge (in case of purge)
  • --storage STORAGE β€” storage backend to use for all publishes. can be empty (filesystem, the default), or swift:[name], or s3:[name] πŸ¦‹
  • -p PUBLISH [PUBLISH ...], --publish PUBLISH [PUBLISH ...] β€” space-separated list of publish

🌈 Action 'publish':

  • -c CONFIG, --config CONFIG β€” configuration YAML file
  • --dists DISTS [DISTS ...] β€” space-separated list of distribution to work with (including prefix), default all.
  • --architectures ARCHITECTURES [ARCHITECTURES ...] β€” list of architectures to publish (also determined by config, defaults to amd64, i386)
  • --only-latest β€” publish only latest packages of every publishes

πŸ’œ Action 'promote':

  • --source SOURCE β€” source publish to take snapshots from. can be a regular expression, eg. jessie(/?.*)/nightly
  • --target TARGET β€” target publish to update. must be format if source is regex, eg. jessie{0}/testing
  • --packages PACKAGES [PACKAGES ...] β€” space-separated list of packages to promote
  • --diff β€” show differences between publishes (snapshots to be updated)

πŸ”₯ Purge:

  • --hard β€” remove all unused packages and snapshots. yep, all of them 😭

🌸 Action 'restore':

  • -r RESTORE_FILE, --restore-file RESTORE_FILE β€” file used to restore publish

⭐ Action 'dump':

  • -s SAVE_DIR, --save-dir SAVE_DIR β€” path of where dump of publish will be done
  • -x PREFIX, --prefix PREFIX β€” prefix for dump files' names

🧚 SEE ALSO 🧚

the full documentation for aptly-publisher is maintained as a Texinfo manual. if the info and aptly-publisher programs are properly installed at your site, the command

info aptly-publisher

should give you access to the complete manual. go off, bestie 🫢


πŸ’– that's the whole page, mwah! this was aptly-publisher 0.12.12-1, dated October 2022. slay πŸ’…βœ¨
πŸ“¦ where this page comes from