• 9
    • 2
    • 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.

      It will be a nice idea if bamboo checkout out a shallow clone of out submodules. This will be very important in situations where the submodules are big in size

            [BAM-14706] Use shallow clones should be extended to submodule

            9 years now and counting, Atlassian, please give us this simple switch, there are repos where you spend minutes on cloning if you can't use shallow submodules which just makes build pipelines insanely long unnecessarily.

            Jiří Uhlíř added a comment - 9 years now and counting, Atlassian, please give us this simple switch, there are repos where you spend minutes on cloning if you can't use shallow submodules which just makes build pipelines insanely long unnecessarily.

            Sean Berry added a comment -

            I would like to add to this 5 year old ticket.  This seems to me a trivial thing to add (though who knows what this codebase looks like).

            Sean Berry added a comment - I would like to add to this 5 year old ticket.  This seems to me a trivial thing to add (though who knows what this codebase looks like).

            We have a lot of submodules in our repository, and some of them have a very long history. Git has the simple --shallow-submodules option since release 2.9.0. There should be no problem in adding or even auto-setting this option. Please implement!

            Max Seelemann added a comment - We have a lot of submodules in our repository, and some of them have a very long history. Git has the simple --shallow-submodules option since release 2.9.0. There should be no problem in adding or even auto-setting this option. Please implement!

            3 years later, wow! Still no attention on this. That's really amazing, Atlassian. /s

            FWIW, git does provide a switch for this named --shallow-submodules, which can be specified to git clone. Documentation here: https://git-scm.com/docs/git-clone

            Robert Dailey added a comment - 3 years later, wow! Still no attention on this. That's really amazing, Atlassian. /s FWIW, git does provide a switch for this named --shallow-submodules , which can be specified to git clone . Documentation here:  https://git-scm.com/docs/git-clone

            Would it be a valid workaround to make a task in the plan that handles submodules manually?

            Robert Dailey added a comment - Would it be a valid workaround to make a task in the plan that handles submodules manually?

              73868399605e Eduardo Alvarenga
              smaiyaki Sultan Maiyaki (Inactive)
              Votes:
              21 Vote for this issue
              Watchers:
              18 Start watching this issue

                Created:
                Updated: