jfrog / jfrog/jfrog-cli-security
jf git count-contributors with --repo-name parameter not working for lists
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 13
- Forks
- 50
- Avg merge
- 3d 48m
- Merged PRs (30d)
- 26
Description
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
- Download latest JFrog CLI (2.78.2 in this case).
- Run the
jf git count-contributorscommand with the--repo-nameparameter. - Add more than one repo name to the semicolon-separated list of repositories.
- 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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the jf git count-contributors command and its --repo-name argument handling. Reproduce the issue using the semicolon-separated repository names from the report, with and without quoting, on the GitHub SCM configuration. Done means the results include every repository in the list rather than only the first.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100