Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

container repository output differs from container repository --help

Đang mở
#1,095 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

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
48/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
cli

Hướng nghiên cứu

Start by reproducing pulp container repository and pulp container repository --help, then compare their command listings and the matching pulp shell completion. Done means both outputs include the same repository commands, including create, destroy, sync, and update, and shell completion exposes them too.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug

Version

"versions": [
    {
      "component": "core",
      "version": "3.61.0",
      "package": "pulpcore",
      "module": "pulpcore.app",
      "domain_compatible": true
    },
    {
      "component": "ansible",
      "version": "0.22.1",
      "package": "pulp-ansible",
      "module": "pulp_ansible.app",
      "domain_compatible": false
    },
    {
      "component": "container",
      "version": "2.21.0",
      "package": "pulp-container",
      "module": "pulp_container.app",
      "domain_compatible": false
    },
    {
      "component": "deb",
      "version": "3.3.1",
      "package": "pulp_deb",
      "module": "pulp_deb.app",
      "domain_compatible": false
    },
    {
      "component": "gem",
      "version": "0.6.1",
      "package": "pulp-gem",
      "module": "pulp_gem.app",
      "domain_compatible": true
    },
    {
      "component": "maven",
      "version": "0.8.1",
      "package": "pulp-maven",
      "module": "pulp_maven.app",
      "domain_compatible": false
    },
    {
      "component": "ostree",
      "version": "2.4.3",
      "package": "pulp-ostree",
      "module": "pulp_ostree.app",
      "domain_compatible": true
    },
    {
      "component": "python",
      "version": "3.12.3",
      "package": "pulp-python",
      "module": "pulp_python.app",
      "domain_compatible": true
    },
    {
      "component": "rpm",
      "version": "3.27.1",
      "package": "pulp-rpm",
      "module": "pulp_rpm.app",
      "domain_compatible": true
    },
    {
      "component": "certguard",
      "version": "3.61.0",
      "package": "pulpcore",
      "module": "pulp_certguard.app",
      "domain_compatible": true
    },
    {
      "component": "file",
      "version": "3.61.0",
      "package": "pulpcore",
      "module": "pulp_file.app",
      "domain_compatible": true
    }
  ],

Describe the bug
Just noticed that when you use the command pulp container repository you don't get the same output compared to if you pass the --help option,

See below examples

pulp container repository
Usage: pulp container repository [OPTIONS] COMMAND [ARGS]...

Options:
  -t, --type [container|push]
  --help                       Show this message and exit.

Commands:
  label
  list
  role
  show
  tag
  task
  untag
  version

versus

pulp container repository --help
Usage: pulp container repository [OPTIONS] COMMAND [ARGS]...

Options:
  -t, --type [container|push]
  --help                       Show this message and exit.

Commands:
  content
  copy-manifest
  copy-tag
  create
  destroy
  label
  list
  role
  show
  sync
  tag
  task
  untag
  update
  version

this has also effect in the pulp shell showing not full command completion

pulp> container repository
label    list     role     show     tag      task     untag    version

To Reproduce
See above

Expected behavior
I would expect same output

Additional context
I was just thrown off by it when i was looking for the pulp container repository create help, which initially did not appear in the command list.

Ngôn ngữ chính
Python
Star
43
Fork
52
Merge trung bình
11 giờ 38 phút
Pull request đã merge (30 ngày)
11

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của pulp/pulp-cli

Tất cả issue của pulp/pulp-cli

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.