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

jf git count-contributors with --repo-name parameter not working for lists

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

Maintainer thường phản hồi trong vòng 2 ngày

Chưa có ai nhận issue này.

  • #3064 của @gajeshbhat — đã đóng, không merge

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
45/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
go
Lĩnh vực
cli

Hướng nghiên cứu

Bắt đầu với lệnh jf git count-contributors và cách xử lý đối số --repo-name của lệnh này. Tái hiện vấn đề bằng cách sử dụng các tên repository được phân tách bằng dấu chấm phẩy trong báo cáo, cả khi có và không có dấu ngoặc kép, trên cấu hình GitHub SCM. Hoàn tất khi kết quả bao gồm mọi repository trong danh sách thay vì chỉ repository đầu tiên.

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

Mô tả

bug
Describe the bug

Hello,
When using the jf git count-contributors command, we are unable to get results from multiple repos using the --repo-name parameter. Given the error message below, we also tried quoting the list, but it still only shows the results for only the first repo in the list.

Current behavior

~ % jf git cc --scm-type=github --scm-api-url=https://api.github.com/ --token=<my-github-token> --owner=<my-org> --repo-name=<xxx-repo-1>;<xxx-repo-2> --detailed-summary 17:44:31 [Info] Log path: /Users/john.doe/.jfrog/logs/jfrog-cli.2025-08-09.17-44-31.15788.log zsh: command not found: <xxx-repo-2>

~ % jf git cc --scm-type=github --scm-api-url=https://api.github.com/ --token=<my-github-token> --owner=<my-org> --repo-name="<xxx-repo-1>;<xxx-repo-2>" --detailed-summary 17:44:31 [Info] Log path: /Users/john.doe/.jfrog/logs/jfrog-cli.2025-08-09.18-14-30.14944.log

The result only covers the first repo in the list which is <xxx-repo-1> in this example.

Reproduction steps
  1. Download latest JFrog CLI (2.78.2 in this case).
  2. Run the jf git count-contributors command with the --repo-name parameter.
  3. Add more than one repo name to the semicolon-separated list of repositories.
  4. Validate results cover all repositories.
Expected behavior

The results of the command should cover every repositories in the the semicolon-separated list of repositories.

JFrog CLI version

2.78.2

Operating system type and version

MacOS

JFrog Artifactory version

Ent+ 7.111.12

JFrog Xray version

No response

Ngôn ngữ chính
Go
Star
13
Fork
52
Merge trung bình
2 ngày 11 giờ
Pull request đã merge (30 ngày)
22

Chuẩn bị môi trường

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 jfrog/jfrog-cli-security

Tất cả issue của jfrog/jfrog-cli-security

Issue tương tự

Thêm issue về Go

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.