Re: [PATCH v4 2/8] maintenance: add --schedule option and config
- From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
- Date
- Feb 9, 2021, 14:06 UTC
- Message-ID
- <87blctcp30.fsf@evledraar.gmail.com>
- In-Reply-To
- <dae8c04bb5523c9b63c770862a1104a0ff4aa6c4.1602782524.git.gitgitgadget@gmail.com>
On Thu, Oct 15 2020, Derrick Stolee via GitGitGadget wrote:
Show 9 quoted lines
> +--schedule:: > + When combined with the `run` subcommand, run maintenance tasks > + only if certain time conditions are met, as specified by the > + `maintenance.<task>.schedule` config value for each `<task>`. > + This config value specifies a number of seconds since the last > + time that task ran, according to the `maintenance.<task>.lastRun` > + config value. The tasks that are tested are those provided by > + the `--task=<task>` option(s) or those with > + `maintenance.<task>.enabled` set to true.
I see from searching on list and from spying on your repo that patches for this maintenance.<task>.lastRun feature exist, but there's no code for it in git.git.
So we've got a 2.30.0 release with a mention of that, and it can't work, because it's only in the doc due to b08ff1fee00 (maintenance: add --schedule option and config, 2020-09-11).