Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
go
領域
cli

調査の方向性

jf git count-contributors コマンドとその --repo-name 引数の処理から始めます。報告にあるセミコロン区切りのリポジトリ名を、引用符付きと引用符なしの両方で、GitHub SCM 設定上で使って問題を再現します。完了の条件は、結果にリスト内の最初のリポジトリだけでなく、すべてのリポジトリが含まれることです。

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

説明

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

主要言語
Go
スター
13
フォーク
50
平均マージ
3日 48分
マージ済み PR(30日)
26

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

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

はじめの一歩

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

jfrog/jfrog-cli-security のほかの issue

jfrog/jfrog-cli-security の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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