Skip to content

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

Open

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

Activity

  1. asafcjfrog commented on Aug 12, 2025

    @asafcjfrog

    You can use the input file and list the repositories you would like to examine

  2. gajeshbhat commented on Aug 23, 2025

    @gajeshbhat

    I ran into the same issue. Created a Pull request to handle a few edge cases so that the list feature here works as expected :jfrog/jfrog-cli#3064 @asafcjfrog Can you kindly take a look? CC: @yoitsmikeho

  3. transferred this issue fromjfrog/jfrog-clion Oct 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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