The command `pulp vulnerability-report show --href` accepts any href
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ó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 58/100
Hướng nghiên cứu
Start at the implementation of pulp vulnerability-report show --href and compare it with the pulp_python vulnerability-report test mentioned in the issue. Reproduce with a task href from pulp task list, then verify that non-vulnerability-report resources are rejected while vulnerability-report hrefs still work.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
The command effectively acts like the pulp show --href, accepting any kind of href.
I found that because pulp_python vuln report test does that (takes a task where it really wanted to take a vulnerability report). Tested with a few other resources and concluded it can take anything.
Steps to reproduce
# grab a task (there is usually one available)
TASK_HREF=$(pulp task list | jq -r '.[0].pulp_href')
# show task info with vuln report command
pulp vulnerability-report show --href "$TASK_HREF"
Expected behavior
It should error for resources which are not vulnerability reports.
Stacktrace/Error log
No applicable.
Pulp and pulp-cli version info
$ pulp --version
Pulp3 Command Line Interface, Version 0.40.0
Plugin Versions:
common: 0.40.0
$ pulp status
{
"versions": [
{
"component": "core",
"version": "3.113.0.dev",
"package": "pulpcore",
"module": "pulpcore.app",
"domain_compatible": true
},
{
"component": "certguard",
"version": "3.113.0.dev",
"package": "pulpcore",
"module": "pulp_certguard.app",
"domain_compatible": true
},
{
"component": "file",
"version": "3.113.0.dev",
"package": "pulpcore",
"module": "pulp_file.app",
"domain_compatible": true
},
{
"component": "python",
"version": "3.32.0.dev",
"package": "pulp-python",
"module": "pulp_python.app",
"domain_compatible": true
},
{
"component": "rpm",
"version": "3.38.0.dev",
"package": "pulp-rpm",
"module": "pulp_rpm.app",
"domain_compatible": true
}
],
(...)
Additional context
- 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
-
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
-
[PULP-1360] pulp content upload --directory --use-temp-repository fails to call signing serviceĐang mởbug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
pulp/pulp-cli#1198 · 4 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ự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
good first issue No-AI
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 69/100
-
documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
🐛 Bug: Calendar work items cannot be opened on mobileCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 2 ngày