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

[PATCH v4 00/15] Parial clone part 3: clone, fetch, fetch-pack, upload-pack, and tests

From
JHJeff Hostetler <git@jeffhostetler.com>
Date
Nov 16, 2017, 18:17 UTC
Message-ID
<20171116181723.62033-1-git@jeffhostetler.com>
From: Jeff Hostetler <jeffhost@microsoft.com>

This part 3 of a 3 part sequence partial clone. It assumes that part 1 and part 2 are in place.

This patch series is labeled as V4 to keep it in sync with the corresponding V4 versions of parts 1 and 2. There was not a V3 version of this patch series.

Jonathan and I independently started on this task. This is another pass at merging those efforts. So there are several places that may need refactoring and cleanup, but fewer than in the previous submission. In particular, the test cases should be squashed and new tests added.

And I think we need more end-to-end tests.  I'll work on those next.
Jeff Hostetler (5):
  upload-pack: add object filtering for partial clone
  clone, fetch-pack, index-pack, transport: partial clone
  fetch: add object filtering for partial fetch
  remote-curl: add object filtering for partial clone
  partial-clone: define partial clone settings in config
Jonathan Tan (10):
  fetch: refactor calculation of remote list
  pack-objects: test support for blob filtering
  fetch-pack: test support excluding large blobs
  fetch-pack: test support excluding large blobs
  fetch: add from_promisor and exclude-promisor-objects parameters
  t5500: add fetch-pack tests for partial clone
  t5601: test for partial clone
  t5500: more tests for partial clone and fetch
  unpack-trees: batch fetching of missing blobs
  fetch-pack: restore save_commit_buffer after use
 Documentation/config.txt                          |   4 +
 Documentation/gitremote-helpers.txt               |   4 +
 Documentation/technical/pack-protocol.txt         |   8 ++
 Documentation/technical/protocol-capabilities.txt |   8 ++
 builtin/clone.c                                   |  22 ++++-
 builtin/fetch-pack.c                              |   4 +
 builtin/fetch.c                                   |  93 +++++++++++++++--
 cache.h                                           |   1 +
 config.c                                          |   5 +
 connected.c                                       |   2 +
 environment.c                                     |   1 +
 fetch-object.c                                    |  27 ++++-
 fetch-object.h                                    |   5 +
 fetch-pack.c                                      |  17 ++++
 fetch-pack.h                                      |   2 +
 list-objects-filter-options.c                     | 110 +++++++++++++++++++--
 list-objects-filter-options.h                     |  12 +++
 remote-curl.c                                     |  11 +++
 t/t5300-pack-object.sh                            |  26 +++++
 t/t5500-fetch-pack.sh                             | 115 ++++++++++++++++++++++
 t/t5601-clone.sh                                  | 101 +++++++++++++++++++
 t/test-lib-functions.sh                           |  12 +++
 transport-helper.c                                |   5 +
 transport.c                                       |   4 +
 transport.h                                       |   5 +
 unpack-trees.c                                    |  22 +++++
 upload-pack.c                                     |  22 ++++-
 27 files changed, 628 insertions(+), 20 deletions(-)
-- 
2.9.3
Next: Jeff Hostetler
Message 1 of 19 in “Parial clone part 3: clone, fetch, fetch-pack, upload-pack, and tests”
  1. 00/15 Parial clone part 3: clone, fetch, fetch-pack, upload-pack, and testsJeff Hostetler, Nov 16, 2017
  2. 01/15 upload-pack: add object filtering for partial cloneJeff Hostetler, Nov 16, 2017
  3. 02/15 clone, fetch-pack, index-pack, transport: partial cloneJeff Hostetler, Nov 16, 2017
  4. 05/15 remote-curl: add object filtering for partial cloneJeff Hostetler, Nov 16, 2017
  5. 04/15 fetch: add object filtering for partial fetchJeff Hostetler, Nov 16, 2017
  6. 07/15 fetch-pack: test support excluding large blobsJeff Hostetler, Nov 16, 2017
  7. 03/15 fetch: refactor calculation of remote listJeff Hostetler, Nov 16, 2017
  8. 08/15 partial-clone: define partial clone settings in configJeff Hostetler, Nov 16, 2017
  9. 11/15 t5500: add fetch-pack tests for partial cloneJeff Hostetler, Nov 16, 2017
  10. 10/15 fetch: add from_promisor and exclude-promisor-objects parametersJeff Hostetler, Nov 16, 2017
  11. 14/15 unpack-trees: batch fetching of missing blobsJeff Hostetler, Nov 16, 2017
  12. 13/15 t5500: more tests for partial clone and fetchJeff Hostetler, Nov 16, 2017
  13. 12/15 t5601: test for partial cloneJeff Hostetler, Nov 16, 2017
  14. 15/15 fetch-pack: restore save_commit_buffer after useJeff Hostetler, Nov 16, 2017
  15. 06/15 pack-objects: test support for blob filteringJeff Hostetler, Nov 16, 2017
  16. 09/15 fetch-pack: test support excluding large blobsJeff Hostetler, Nov 16, 2017
  17. Junio C HamanoNov 17, 2017
  18. Jonathan TanNov 21, 2017
  19. Jeff HostetlerNov 21, 2017

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.