git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 0/2] Maintenance: add pack-refs task

From
Taylor Blau <me@ttaylorr.com>
Date
Feb 8, 2021, 22:46 UTC
Message-ID
<YCG/X12qKVKu3/pv@nand.local>
In-Reply-To
<pull.871.git.1612795943.gitgitgadget@gmail.com>
On Mon, Feb 08, 2021 at 02:52:21PM +0000, Derrick Stolee via GitGitGadget wrote:
> I chose to add it to the incremental maintenance strategy at a weekly
> cadence. I'm not sure there is significant value to the difference between
> weekly and daily. It just seems to me that weekly is often enough. Feel free
> to correct me if you have a different opinion.

I don't have any strong opinion about this. At GitHub we run pack-refs as part of a maintenance-like job, which varies in frequency between different repositories based on a number of factors. In our busiest repository networks, this is almost certainly at least a few times a day, if not "as often as possible."

I'd suspect that for any laptop-sized repository, anywhere between daily and weekly is just fine.

I suppose weekly is a good starting point, since we can always change the default to run more often if enough users complain.

> My hope is that this patch series could be used as an example for further
> extracting tasks out of the gc task and making them be full maintenance
> tasks. Doing more of these extractions could be a good project for a new
> contributor.
That's great :-).

Thanks, Taylor

Previous: Derrick StoleeNext: Derrick Stolee via GitGitGadget
Message 8 of 12 in “Maintenance: add pack-refs task”
  1. 0/2 Maintenance: add pack-refs taskDerrick Stolee via GitGitGadget, Feb 8, 2021
  2. 2/2 maintenance: incremental strategy runs pack-refs weeklyDerrick Stolee via GitGitGadget, Feb 8, 2021
  3. 1/2 maintenance: add pack-refs taskDerrick Stolee via GitGitGadget, Feb 8, 2021
  4. Taylor BlauFeb 8, 2021
  5. Derrick StoleeFeb 9, 2021
  6. Eric SunshineFeb 8, 2021
  7. Derrick StoleeFeb 9, 2021
  8. Taylor BlauFeb 8, 2021
  9. 0/2 Maintenance: add pack-refs taskDerrick Stolee via GitGitGadget, Feb 9, 2021
  10. 1/2 maintenance: add pack-refs taskDerrick Stolee via GitGitGadget, Feb 9, 2021
  11. 2/2 maintenance: incremental strategy runs pack-refs weeklyDerrick Stolee via GitGitGadget, Feb 9, 2021
  12. Taylor BlauFeb 10, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.