APTLY-PUBLISHER(1)
π 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 inpool/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), orswift:[name], ors3:[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 toamd64,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
- debian bookworm: aptly-publisher 0.12.12-1 Β· GPL-2.0-or-later
- debian trixie: aptly-publisher 0.12.12-1 Β· GPL-2.0-or-later
- ubuntu noble: aptly-publisher 0.12.12-1 Β· 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