pulp-admin

command module
v0.0.0-...-d3cdae1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 5, 2022 License: GPL-3.0 Imports: 21 Imported by: 0

README

pulp-admin

Language Badge Issues GoDoc

When Redhat introduced Pulp version 3, the familiar 'pulp-admin' tool was no longer included. As sticking to Pulpv2 was not an option, I looked for an alternative. There was another project writing a 'pulp-admin' version in Python, but the first time I tried it, I immediately landed in Python dependency hell. Couldn't get it to work properly, so I decided to write my own version in Go.

Caveat: I only wrote what I needed, so there is only support for RPM repositories and the tool assumes you have 4 environments: 'dev', 'uat', 'oat' and 'prd'. With a bit of work, this can be more generalized if needed (feel free to do so :-)

Usage:
	pulp-admin config -u user -p password url
	pulp-admin add    -r repository rpm_package
	pulp-admin del    -r repository rpm_package
	pulp-admin del    -v version repository
	pulp-admin list
	pulp-admin list   -v repository
	pulp-admin list   -d repository
	pulp-admin set    -v version distribution
	pulp-admin clean
	pulp-admin sync repository
	pulp-admin version

config sets up the necessary permissions to connect to Pulp. Information gets stored in ~/pulp/.admin.conf.

add allows you to add an RPM package to a repository.

del allows you to remove an RPM package from a repository or to remove a specific version of that package.

list show you a list of all repositories. You can also list specific versions or distributions of a repository.

set allows you to set a specific version for a distribution.

clean cleans up stuff, like orphaned packages.

sync forces pulp to perform a synchronize operation with an external upstream repository.

version displays the version of this tool.

Documentation

Overview

Pulp CLI * * - version 1.1.4 - 2021/11/09 * Fixed bug that prevented all versions of a repo from being show, because * the code did not iterate through all publications. * - Version 1.1.3 - 2021/09/21 * Fixed bug from version 1.1.1 and 1.1.2 and improved error logging * for failed 'wait' tasks. * - Version 1.1.2 - 2021/09/17 * Added debugging statement to investigated unfinished tasks bail-out. * - Version 1.1.1 - 2021/08/27 * Fixed possible memoryleak for open http connections in upload thread. * - Version 1.1.0 - 2021/08/19 * Added Chunked Uploads to be able to upload large packages * - Version 1.0.1 - 2021/08/17 * Improved error reporting on failed package uploads. * - Version 1.0.0 - 2021/07/31 * Initial fully working CLI

Pulp CLI * * - Version 1.1.0 - 2021/08/19

Pulp CLI * * - Version 1.1.1 - 2021/08/27

Pulp CLI * * - Version 1.0 - 2021/07/31

Pulp CLI * * - Version 1.0 - 2021/07/31

Pulp CLI * * - Version 1.1.3 - 2021/09/21

Pulp CLI * * - Version 1.1.0 - 2021/08/19

Pulp CLI * * - Version 1.1.4 - 2021/11/09

Pulp CLI * * - Version 1.0 - 2021/07/31

Pulp CLI * * - Version 1.0 - 2021/07/31

Pulp CLI * * - Version 1.1.0 - 2021/08/19

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL