Re: [PATCH v3 0/2] Use a "best effort" strategy in scheduled maintenance
On Wed, Apr 24, 2024 at 04:14:57PM +0000, Johannes Schindelin via GitGitGadget wrote:
Show 22 quoted lines
> Over in https://github.com/microsoft/git/issues/623, it was pointed out that
> scheduled maintenance will error out when it encounters a missing
> repository. The scheduled maintenance should exit with an error, all right,
> but what about the remaining repositories for which maintenance was
> scheduled, and that may not be missing?
>
> This patch series addresses this by introducing a new for-each-repo option
> and then using it in the command that is run via scheduled maintenance.
>
> Changes since v2 (thanks Patrick, Jeff and Junio):
>
> * When not passing the new --keep-going option, the exit code is the same
> as before.
> * Clarified in the documentation of the --keep-going option that it is 0
> for success, 1 for failure, no matter the exact exit code of the failing
> command invocation(s).
>
> Changes since v1 (thanks Eric!):
>
> * Changed the option's documentation to reflect the current state (instead
> of the original design)
> * Fixed grammar issues
Thanks, this version looks good to me!
Patrick