pulp / pulp/pulp-cli

Add build/remove image commands to container

Open
#424 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request
Dominant language
Python
Stars
43
Forks
52
Avg merge
11h 38m
Merged PRs (30d)
11

Description

Summary

You can build an image in a container repository using a container file and list of artifacts. For push repositories you can remove an image by providing its digest. The build command could benefit from the CLI being able to navigate a directory and upload the necessary artifacts for the command.

Examples

pulp container repository build --repository foo --container-file "filename_or_href" --artifacts "directory_or_json"
pulp container repository -t push remove --repository phoo --digest "manifest_digest" maybe this is named bad?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start from the CLI entry points for pulp container repository and review how repository commands upload artifacts and address image digests. Define the command names and input handling before implementation; done means build accepts a container file and artifact directory or JSON, while remove accepts a repository and manifest digest.

Written by the indexing model from the issue text.

Assessment

Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.