Enable users to list content within container-push repository types

オープン
#600 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python
領域
cli

調査の方向性

Reproduce the working and failing commands for pulp_container in the issue, then read pulpcore/cli/container/repository.py around line 142 and the repository-content command behavior. Done means content listing works for a container push repository while the unsupported content-add and content-remove capabilities remain disabled.

索引モデルが issue の本文から書いたものです。

説明

feature request

The feature request could be relevant only to pulp_container.

In pulp_container, I want to be able to list content available in a push-repository.

This works:

pulp container repository create --name test123321
pulp container repository content list --repository test123321

This does not work:

podman pull ghcr.io/pulp/hello-world
podman tag ghcr.io/pulp/hello-world localhost:24817/pulp/hello-world
podman push localhost:24817/pulp/hello-world --tls-verify=false
pulp container repository --type push content list --repository pulp/hello-world

We might be required to override the behaviour of the repository-content command in order to disable the "content-add" and "content-remove" capabilities along with changing the value passed to the allowed_with_contexts parameter (https://github.com/pulp/pulp-cli/blob/bd521c10adcca1d281cf42c883623e30ecd1b6b3/pulpcore/cli/container/repository.py#L142).

主要言語
Python
スター
43
フォーク
52
平均マージ
11時間 38分
マージ済み PR(30日)
11

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

pulp/pulp-cli のほかの issue

pulp/pulp-cli の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。