Scroll to navigation



aptly-publisher - tool for easy creation of Aptly multi component publishes


usage: aptly-publisher [-h] [-v] [-d] [--dry] [--timeout TIMEOUT] --url URL

[--recreate] [--no-recreate] [--force-overwrite]
[--publish-contents] [-c CONFIG] [--dists DISTS [DISTS ...]] [--architectures ARCHITECTURES [ARCHITECTURES ...]] [--source SOURCE] [--target TARGET] [--components COMPONENTS [COMPONENTS ...]] [--packages PACKAGES [PACKAGES ...]] [--diff] action

positional arguments:

Action to perform (publish, promote, cleanup)

optional arguments:

show this help message and exit


-v, --verbose

-d, --debug

--dry, --dry-run

Aptly client timeout. Raise for larger publishes and slow server.
URL to Aptly API, eg. http://localhost:8080
Drop publish and create it again, only way to add new components
Never recreate publish (even when we are adding new components where it's the only option)
Overwrite files in pool/ directory without notice
Publish contents. It's slow so disabled by default to support large repositories.

Action 'publish':

Configuration YAML file
Space-separated list of distribution to work with (including prefix), default all.
List of architectures to publish (also determined by config, defaults to amd64, i386)

Action 'promote':

Source publish to take snapshots from
Target publish to update
Space-separated list of components to promote
Space-separated list of packages to promote
Show differences between publishes (snapshots to be updated)


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.

April 2017 aptly-publisher 0.9.1-1