gruntwork-io / git-xargs

git-xargs is a command-line tool (CLI) for making updates across multiple Github repositories with a single command.
https://blog.gruntwork.io/introducing-git-xargs-an-open-source-tool-to-update-multiple-github-repos-753f9f3675ec
Apache License 2.0
921 stars 63 forks source link

The script succeeds but no changes on the actual repo. #131

Closed marvindanig closed 11 months ago

marvindanig commented 11 months ago

Describe the bug The git-xargs command executes successfully, but no changes are pushed or applied to the repository it executed on.

To Reproduce Steps to reproduce the behavior include the relevant Terraform/Terragrunt/Packer version number and any code snippets and module inputs you used.

Was trying the following:

git-xargs \
    --commit-message "Update or add license" \
    --loglevel DEBUG \
    --repos ./bookiza.repo.list.txt \
    --skip-pull-requests \
    --branch-name master \ 
    ./repo.sh

Using the "update license" example stated in your blog. The script succeeded but no changes were actually accomplished on the supplied GitHub repo. Here's the terminal output:

Expected behavior Git-xargs run summary @ 2023-07-27 15:45:33.313406 +0000 UTC

• Runtime in seconds: 0 • Command supplied: [ ] • Repo selection method: repos-file

Repos supplied via --repos file flag

┌────────────────────────────────────┐ | Repo name | | marvindanig/essays-of-schopenhauer | └────────────────────────────────────┘

All repos that were targeted for processing after filtering missing / malformed repos

┌────────────────────────────────────────────────────────────────────────────────┐ | Repo name | Repo URL | | essays-of-schopenhauer | https://github.com/marvindanig/essays-of-schopenhauer | └────────────────────────────────────────────────────────────────────────────────┘

Repos that were successfully cloned to the local filesystem

┌────────────────────────────────────────────────────────────────────────────────┐ | Repo name | Repo URL | | essays-of-schopenhauer | https://github.com/marvindanig/essays-of-schopenhauer | └────────────────────────────────────────────────────────────────────────────────┘

Repos for which the supplied command raised an error during execution

┌────────────────────────────────────────────────────────────────────────────────┐ | Repo name | Repo URL | | essays-of-schopenhauer | https://github.com/marvindanig/essays-of-schopenhauer | └────────────────────────────────────────────────────────────────────────────────┘ Updating license copyright year to 2023... Success!

Nice to have

Additional context I'm a bit lost about the problem here. For some reason, the command supplied to git-xargs remains an empty array no matter what I do.

marvindanig commented 11 months ago

Is this tool not supported anymore?