Project

General

Profile

Improvement #2157

Use shallow clone for GitCR (2.9.5)

Added by Henning Blohm 6 months ago. Updated 3 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
z2-core
Target version:
Start date:
03.11.2023
Due date:
% Done:

0%

Estimated time:
origin:

Description

As Jgit supports it now. What we really want is treeless clones as described here:

https://github.blog/2020-12-21-get-up-to-speed-with-partial-clone-and-shallow-clone/

however that is not available, which is why we support shallow clones for now.

Acceptance Criteria

  • There is a configuration property gitcr.depth that can be used to specify a cloning depth (i.e. corresponding to --depth and hence using 1 leads to a shallow clone).
  • The fix is merged into master

Implementation Hints

See also https://projects.eclipse.org/projects/technology.jgit/releases/6.3.0 and https://projects.eclipse.org/projects/technology.jgit/releases/6.5.0


Related issues

Blocks z2-Environment - Improvement #2162: Port #2157 to 2.11Resolved07.01.2024

Actions
#1

Updated by Henning Blohm 6 months ago

  • Target version changed from 2.11 to 2.9.5
#2

Updated by Henning Blohm 6 months ago

  • Description updated (diff)
#3

Updated by Henning Blohm 6 months ago

  • Subject changed from Use shallow clone for GitCR. to Use shallow clone for GitCR (2.9.5)
#4

Updated by Henning Blohm 6 months ago

  • Description updated (diff)
#5

Updated by Henning Blohm 6 months ago

  • Status changed from New to In Progress
#6

Updated by Henning Blohm 4 months ago

  • Description updated (diff)
#7

Updated by Henning Blohm 4 months ago

#8

Updated by Henning Blohm 3 months ago

  • Status changed from In Progress to Resolved

Also available in: Atom PDF