Changelog

0.15.0 (2022-07-20)

Features

  • Added pulp_container repository list/add/remove content commands. #422
  • Added role management commands to file commands. #454
  • Added role management to container subcommands. #468
  • Added support for ULN remotes. #470
  • Added ansible signature command. #481
  • Added ansible signature list/read/upload commands. #484
  • The --type option on the repository content subgroup has moved back one spot. To list all the content types in a repository use the --all-types flag on the list command. #492
  • Added container repository copy-tag and copy-manifest commands. #497
  • Extended "rpm content" to cover all of the RPM content-types. #505
  • Added commands for the redirecting content guard. #512
  • Started using uploads directly to create file content of a bigger size with pulpcore >= 3.20. #514
  • Added global publication list command.

Also, added new --repository filter for publication list available for pulpcore>=3.20. #515 - Added global distribution list command. #517 - Added global remote list command. #518 - Added --repository option to ansible collection signature upload and --gpgkey to ansible repository. #532

Bugfixes

  • Fixed bug, where the failure to load config file due to the lack of file permissions lead to a crash. Now those files are simply ignored. #509
  • Fixed the heuristics for the PARTIAL_UPDATE_ID workaround. #529
  • Fixed uploading content for files smaller than the chunk size. #535

Deprecations and Removals

  • Marked group permission command unusable with pulpcore 3.20. #501

Misc


0.14.0 (2022-03-02)

Features

  • Added content list/show commands for container blob/manifest/tag content types. #421
  • Added tag/untag commands to add and remove tags from images in container repositories. #423
  • Added a --task-group filter parameter to task list. #451
  • Added the api_root setting to allow communicating with a pulp installation on a nonstandard path. #453
  • Allow to fetch the config profile from the environment variable PULP_CLI_PROFILE. #463

Bugfixes

  • Fixed missing help text on path option for ACS create commands. #446
  • Fixed a bug in reporting the failure of a task if the reason was not an exception in the task code. #464
  • Fix rpm distribution update command failing when trying to enable/disable auto-distribute. #472

Improved Documentation

  • Add default help text for options taking a generic resource argument. #387

Developer Notes

  • Introduced ID_PREFIX on PulpEntityContext to generate most operation ids. #444
  • Added needs_capability to EntityContext so context member function can require capabilities. #465

0.13.0 (2021-12-16)

Features

  • Allow path to certificate bundle to be specified via PULP_CA_BUNDLE, REQUESTS_CA_BUNDLE or CURL_CA_BUNDLE environment variables. Use proxy settings from environment. #95
  • Users can now specify --client-cert, --ca-cert, and --client-key using @filepath. #220
  • Added facilities to create, load and distribute translations. #328
  • Added upload and show commands for Ansible Roles and Collection-Version content #362
  • Added content management commands for Ansible repositories #363
  • Added commands to manage roles and their association with users and groups. Added commands to add and remove users. #382
  • Added --content-hrefs and --protection-time options to orphan cleanup command. #398
  • Added support for the comps.xml upload to the rpm plugin. #406
  • Added remote option for Python distributions. #417
  • Added a customized user agent to api calls. #426
  • Added support for "tasks purge". #430
  • Added reset command to access policies. Changed --permissions-assignment to --creation-hooks to follow pulpcore 3.17 naming. #438
  • Add a generic command group for object permission management. Added object permission management to tasks, groups and RBAC content guards. #439

Bugfixes

  • Fixed a bug where in the version lookup, where "--version 0" lead to latest. #415

Improved Documentation

  • Updated docs home page to reflect current plugin support of the CLI. #394
  • Added Supported Worklows page to detail the workflows and features of the CLI. #395

Translations

  • Added some German translations. #328

0.12.0 (2021-10-06)

======================

Features

  • Chunked artifact and content uploads now allow unit specifier in --chunk-size option #260
  • Added rpm package content commands support. #284
  • Added the ability to pass an href to a resource option. #315
  • Added pulp file acs command. #324
  • Added --all, --waiting and --running flags to allow bulk task cancel. #330
  • Added commands for CRUD RBAC Content Guards. #352
  • Added the ability to delete tasks. #376
  • Added refresh command for pulp_file Alternate Content Sources. #377
  • Added pulp_rpm Alternate Content Source commands. #378
  • Added the openapi command group to debug to ease reading the schema. #384

Bugfixes

  • Fixed the referenced version with the --version parameter. #351
  • Fixed nullable fields for rpm remote. #373

Improved Documentation

  • Add installation instructions for plugins and a list of known plugins. #331
  • Moved CHANGES.md to publish them along with the documentation. #336
  • Reformatted CHANGES with Markdown syntax. #337
  • Add a tabular view to the global options. #357

Deprecations and Removals

  • Bumped required pulpcore version to >=3.11 and removed legacy workarounds. #380

Misc


0.11.0 (2021-08-10)

Features

  • Added support to specify skip-types on rpm sync. #225
  • Added lookup for a global config file /etc/pulp/cli.toml. #290
  • Changed default config location to <app-dir>/cli.toml. The old file will still be read. #293
  • Enable exports for ansible repositories. #302
  • Added --sles-auth-token to rpm remote commands. #305
  • Added ansible content list command. #327

Bugfixes

  • Added validation to some json input parameters. #255
  • Fixed a bug in the docs publishing workflow. #286
  • Unconditionally add the fake not namespaced pulp_cli to the distribution on pypi to make it able to be consumed by setuptools<40. #287
  • Deprecate orphans delete command in favor of orphan cleanup and use new rest interface on pulpcore>=3.14. #297
  • Changed the name of retained-versions to retain-repo-versions. #298
  • Improved a confusing error message around pulp components. #299
  • Added minimum of 1 to --limit option. #311

0.10.1 (2021-06-30)

Bugfixes

  • Fixed a bug in the docs publishing workflow. #286
  • Unconditionally add the fake not namespaced pulp_cli to the distribution on pypi to make it able to be consumed by setuptools<40. #287

0.10.0 (2021-06-30)

Features

  • Change resource options to accept plugin and type along with the name. #158
  • Added missing search options to publication list commands. #207
  • Add a timeout parameter to specify the duration how long to wait for background tasks. #232
  • Python remote fields --includes/--excludes can now be specified with requirements.txt files #240
  • Updated RPM commands to be compatible with new 3.13 auto-publish changes #251
  • Added generic content list command. #254
  • Update the click dependency to 8.0.1. #256
  • Added feature to bypass chunk uploading if the chunk size exceeds the file size. This speeds up the upload by about 30-40%. #262
  • Added --cid option to task list command to allow fitering by correlation id. #269
  • Added allow-uploads/block-uploads option to python distribution commands #271

Bugfixes

  • Properly report timed out tasks. #232
  • Use find_packages instead of find_namespace_packages in setup to be compatible with setuptools<39.2.0. #248

0.9.0 (2021-05-17)

Features

  • Disabled following of redirects and added better handling of response codes. #221
  • Added --force as the inverse of --dry-run and started to allow dry_run in the settings. #236
  • Added config validation to config create and config edit. #239

Bugfixes

  • Fixed extra request when using the repository version option. #223
  • Fix requirements file option for ansible collection remote commands. #226
  • Properly truncate file before saving settings in config edit. #239

Misc


0.8.0 (2021-04-30)

Features

  • Added support for autopublish and autodistribute in pulp_file and pulp_rpm. #155
  • Added a confirmation whether to continue with invalid config. #156
  • Repository content commands are now nested under a new content subgroup. #171
  • Added an interactive-shell mode to pulp-cli. #181
  • Added label command to ansible distribution group. #185
  • Added signing-service list and show commands. #189
  • Added new python 3.2 remote options. #208
  • Added retained_versions option to repository commands. #210
  • Added the task-group subcommand. #211
  • Added mirror flag support for pulp rpm repository sync. #212
  • Added support for file paths for plan argument for miigration plan create command. #213

Bugfixes

  • Improved the error message, when a required server component is missing. #184

Deprecations and Removals

  • Repository add/remove/modify commands have now been deprecated. Please use the new content subgroup commands. #215

Misc


0.7.0 (2021-03-15)

Features

  • Added the python command group. #73
  • Distributions can now be listed with options --base-path and --base-path-contains. #134
  • Taught rpm/repository about the retain-package-versions attribute. #172
  • Added the container namespace command group. #176

0.6.0 (2021-02-26)

Features

  • In pulpcore 3.11, the component names changed to fix a bug. This ported pulp-cli to use the new names and provides dictionary named new_component_names_to_pre_3_11_names in the pulpcore.cli.common.context module which provides new to old name mappings for a fallback support. pulp-cli plugins can add to this list by importing and modifying that dictionary also. #153

0.5.0 (2021-02-20)

Features

  • Made task state a choice option for pulp task list. #115
  • Added support for pulp-2to3-migration. #133
  • Added worker command. #144
  • Added the ability to include multiple server profiles into the pulp cli config. #145

Misc


0.4.0 (2021-02-10)

Features

  • Added config commands to manage pulp-cli's config. #111
  • Added support for client certificate auth. #122
  • Added --href options to address rpm resources. #124

Bugfixes

  • Improve handling of background option and ctrl-c with tasks. #85
  • Added read capability to rpm remote. #125

Deprecations and Removals

  • Moved the location of --repository option after the last command for version commands. #123

Misc


0.3.0 (2021-02-04)

Features

  • Added label commands. #100

Bugfixes

  • Fixed missing READ_ID error for pulp file remote show. #107

Misc


0.2.0 (2021-01-26)

Features

  • Basic CRUD support for Ansible repositories
  • Basic CRUD for Ansible role remotes, use -t role after remote to select type
  • Basic CRUD for Ansible collection remotes, use -t collection after remote to select type
  • Sync roles/collections with pulp ansible repository sync --name {repo_name} --remote {remote_name}
  • Postponed all server calls to the point, where a command is ready to be performed. This allows to access all help screens even if there is no server available.
  • Added subcommand to modify file repository with many content units in one command.
  • Added update command for file distribution.

0.1.0 (2021-01-15)

Initial release of pulp-cli.