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
933 stars 63 forks source link

Git-xargs execution hangs with no error message #97

Closed akohjialing closed 1 year ago

akohjialing commented 1 year ago

Upon execution, git-xargs hangs with no error message: image

This is the command I'm trying to execute in the shell script (Token, org name and repo name have been removed while reporting this issue):

export GITHUB_TOKEN=XXX

git-xargs \ --loglevel DEBUG \ --dry-run \ --branch-name testing \ --commit-message "Creation File Test" \ --repo <_org-name_>/<_repo-name_> \ touch hello-world.txt

Please advise what the issue might be, thank you.

zackproser commented 1 year ago

Hi @akohjialing - which version of git-xargs are you running? Does this occur when you use the latest release?

What happens when you run just your script alone, outside of git-xargs? Could you try using any of these flags to debug your script and see if something is causing it to hang?

zackproser commented 1 year ago

Given that I'm pretty confident I know this was caused by a bad release version in the past, and I'm pretty sure that this issue has since been fixed, I'm going to close this out due to inactivity. If you are able to reproduce with a minimal test case and version feel free to re-open. Thanks!