Skip to content

Conversation

@fd0
Copy link
Member

@fd0 fd0 commented Jul 26, 2015

This is work in progress on the code that repacks blobs into new packs.

The code requires the new index format (that was already documented in Design.md), the code takes care to also read the old format and output a warning on stderr. When the check command is run, it converts all indexes to the new format, so users can upgrade and we can remove the code handling the old index format eventually.

Closes #243

@fd0 fd0 changed the title Repack blobs WIP: Repack blobs Jul 27, 2015
@fd0 fd0 force-pushed the repack-blobs branch 3 times, most recently from a5b0c05 to 696f6fd Compare August 8, 2015 16:00
@fd0 fd0 mentioned this pull request Sep 5, 2015
@fd0
Copy link
Member Author

fd0 commented Sep 5, 2015

I've extracted a few commits from this into #294 in order to break this PR into smaller ones.

@fd0 fd0 force-pushed the repack-blobs branch 2 times, most recently from 3658bf3 to 98cc13d Compare September 8, 2015 19:28
@fd0 fd0 mentioned this pull request Sep 27, 2015
@fd0
Copy link
Member Author

fd0 commented Sep 27, 2015

I've extracted more commits into #310.

@fd0
Copy link
Member Author

fd0 commented Nov 8, 2015

This PR now introduces the optimize command and changes the behaviour of the check command:

  • check only tests for errors
  • optimize converts index format if necessary and rebuilds pack files so that unused blobs can be dropped

@fd0 fd0 merged commit 1f9aea9 into master Nov 9, 2015
fd0 added a commit that referenced this pull request Nov 9, 2015
@fd0 fd0 deleted the repack-blobs branch November 9, 2015 19:58
@rubiojr rubiojr mentioned this pull request Oct 28, 2020
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants