Skip to content

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

@yoitsmikeho

Description

@yoitsmikeho

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions