Add build/remove image commands to container
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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