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

ds/maintenance-part-[1-2] (was: What's cooking in git.git (Aug 2020, #07; Thu, 27))

From
Derrick Stolee <stolee@gmail.com>
Date
Aug 28, 2020, 15:48 UTC
Message-ID
<9cfbbaec-bf7d-2ed1-6b8b-0fdc8f94d094@gmail.com>
In-Reply-To
<xmqqh7snpxy1.fsf@gitster.c.googlers.com>
On 8/27/2020 5:43 PM, Junio C Hamano wrote:
Show 13 quoted lines
> * ds/maintenance-part-2 (2020-08-25) 8 commits
>  - maintenance: add incremental-repack auto condition
>  - maintenance: auto-size incremental-repack batch
>  - maintenance: add incremental-repack task
>  - midx: use start_delayed_progress()
>  - midx: enable core.multiPackIndex by default
>  - maintenance: create auto condition for loose-objects
>  - maintenance: add loose-objects task
>  - maintenance: add prefetch task
>  (this branch uses ds/maintenance-part-1.)
> 
>  "git maintenance", an extended big brother of "git gc", continues
>  to evolve.
Show 19 quoted lines
> * ds/maintenance-part-1 (2020-08-25) 11 commits
>  - maintenance: add trace2 regions for task execution
>  - maintenance: add auto condition for commit-graph task
>  - maintenance: use pointers to check --auto
>  - maintenance: create maintenance.<task>.enabled config
>  - maintenance: take a lock on the objects directory
>  - maintenance: add --task option
>  - maintenance: add commit-graph task
>  - maintenance: initialize task array
>  - maintenance: replace run_auto_gc()
>  - maintenance: add --quiet option
>  - maintenance: create basic maintenance runner
>  (this branch is used by ds/maintenance-part-2.)
> 
>  A "git gc"'s big brother has been introduced to take care of more
>  repository maintenance tasks, not limited to the object database
>  cleaning.
> 
>  Comments?
Thanks for calling out a call for comments here.

I appreciate all of the comments on these series. It has really improved the feature.

I'm interested to hear who still has this on their list to review or if there are some remaining unresolved issues.

I sent my "RFC v3" [1] for the background portion of maintenance, and hope to send a non-RFC version next week if there are no more radical shifts in the strategy. Please take a look if you are interested.

[1] https://lore.kernel.org/git/pull.680.v3.git.1598629517.gitgitgadget@gmail.com/

Thanks, -Stolee

Previous: Matheus Tavares BernardinoNext: Hariom verma
Message 10 of 17 in “What's cooking in git.git (Aug 2020, #07; Thu, 27)”
  1. Junio C HamanoAug 27, 2020
  2. Jeff KingAug 27, 2020
  3. Junio C HamanoAug 27, 2020
  4. Taylor BlauAug 28, 2020
  5. Jeff KingAug 28, 2020
  6. Jeff KingAug 28, 2020
  7. Taylor BlauAug 28, 2020
  8. Elijah NewrenAug 28, 2020
  9. Matheus Tavares BernardinoAug 29, 2020
  10. ds/maintenance-part-[1-2] (was: What's cooking in git.git (Aug 2020, #07; Thu, 27))Derrick Stolee, Aug 28, 2020
  11. Hariom vermaAug 28, 2020
  12. Junio C HamanoAug 28, 2020
  13. Hariom vermaAug 29, 2020
  14. Hariom vermaAug 29, 2020
  15. Junio C HamanoAug 29, 2020
  16. Hariom vermaAug 29, 2020
  17. Junio C HamanoAug 29, 2020

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.