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

Clean up temporary clone paths by default #113

Closed zackproser closed 1 year ago

zackproser commented 1 year ago

Description

Fixes #98 .

These changes allow git-xargs to clean up the temporary file paths where it clones repositories. By default, git-xargs will now delete the paths after processing the repo. If you wish to preserve your local clones, pass the new --keep-cloned-repositories flag.

TODOs

Read the Gruntwork contribution guidelines.

Release Notes (draft)

By default, git-xargs will now delete the temporary file paths where it clones your repositories in order to run commands on them. This should help prevent git-xargs from taking up too much space. If you wish to preserve local clone paths going forward, pass the new --keep-cloned-repositories flag.

Migration Guide

zackproser commented 1 year ago

LGTM! (but not sure if my approval will count) edit: it did not

Thank you @Etiene! :raised_hands:

pliniodng commented 1 year ago

Hey @zackproser, thanks for taking the time and writing the PR. Looks good, thanks!

zackproser commented 1 year ago

Thanks for reviews! Going to merge this in now.