Add options for creating pull-through remote and distributions
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 42/100
Hướng nghiên cứu
Start by locating the existing container remote and distribution commands and their pulp_glue contexts, then compare them with the pull-through API examples and the proposed --type usage in the issue. Done means the CLI exposes options for creating pull-through remotes and distributions and supports the documented workflow.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
Currently, the container plugin offers the option of creating pull-through remotes and distributions as tech preview.
However, even at this stage, the feature is very useful and it would be nice to have contexts for it in pulp_glue and options for it in the CLI.
In terms of the CLI, I believe it could work as verbatim publications, by specifying a "type" argument.
Versions
pulpcore: 3.55 (currently installed version, likely applies to 3.56.1 as well)
pulp_container: 2.18.0 (introduced the pull-through feature)
Examples
Current state, from the pulp_container plugin documentation:
# initialize a pull-through remote (the concept of upstream-name is not applicable here)
REMOTE_HREF=$(http ${BASE_ADDR}/pulp/api/v3/remotes/container/pull-through/ name=docker-cache url=https://registry-1.docker.io | jq -r ".pulp_href")
# create a pull-through distribution linked to the initialized remote
http ${BASE_ADDR}/pulp/api/v3/distributions/container/pull-through/ remote=${REMOTE_HREF} name=docker-cache base_path=docker-cache
Idealised state (suggestion):
REMOTE_HREF=$(pulp container remote create --type pull-through --name docker-cache --url https://registry-1.docker.io | jq -r ".pulp_href")
pulp container distribution create --type pull-through --remote-href "$REMOTE_HREF"
- Ngôn ngữ chính
- Python
- Star
- 43
- Fork
- 52
- Merge trung bình
- 1 ngày 7 giờ
- Pull request đã merge (30 ngày)
- 10
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của pulp/pulp-cli
-
bug Triage-Needed
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 58/100
pulp/pulp-cli#1429 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
For RPM repositories support setting package_signing_service and package_signing_fingerprintĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
Maintainer thường phản hồi trong vòng 1 ngày
-
feature request
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
pulp/pulp-cli#1210 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
container repository sync mirror option missingCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mởeasy fix feature request
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 25/100
pulp/pulp-cli#1206 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug Triage-Needed
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
pulp/pulp-cli#1199 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của pulp/pulp-cli
Issue tương tự
-
needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
darnitdevorg/darnit#587 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
Maintainer thường phản hồi trong vòng 1 ngày
-
accessibility good first issue
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 92/100
Maintainer thường phản hồi trong vòng 1 ngày
-
llm translation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug bug-hunt
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Maintainer thường phản hồi trong vòng 1 ngày