Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-20347

Add support for partial git clones (git clone --filter)

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • None
    • Repository (Git)
    • None
    • 0
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      Problem Definition

      If Bamboo is only requires certain subdirectory of a repository to perform a build, Git only allows a clone of the entire repository. When a repository is large (Example: 1GB+) it can take some time to clone files that may not be required.

      Suggested Solution

      Since Git 2.18, Git protocol v2 has introduced the --filter flag to enable partial clones

      This will allow Bamboo to clone specific subdirectories of a repository only.

      Why this is important

      This will increase cloning performance on large repositories.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ephillips@atlassian.com Edward
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: