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

Can `git-xargs` make signed git commits? #93

Open ca-scribner opened 2 years ago

ca-scribner commented 2 years ago

Describe the solution you'd like It is often useful to submit signed commits to repos, it would be good if git-xargs could enable this (likely by a feature flag)

Describe alternatives you've considered There might be a way to change my system defaults to always do this? It would depend on whether you're using the command line git tool or golang packages for git interaction, and I haven't dug into the code

Additional context Great tool. Thanks for making and maintaining it!

grawinkel commented 2 years ago

I just also ran into this and would love to see an option to sign commits.

I checked the code, and internally it uses go-git with these options set:

https://github.com/gruntwork-io/git-xargs/blob/d7c707426b7b5f301639e48b32c1dce46ee52c7f/repository/repo-operations.go#L330

For signing, this would be required. https://github.com/go-git/go-git/blob/32c4f532abd57797322e97d95dfa02821980e309/options.go#L470

jduan-highnote commented 1 year ago

Can this get some love? I like this tool a lot but our repos require commits be signed :(