• We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      Stash doesn't seem to do much with submodules. From what I've seen, if a repository has a submodule, Stash simply displays the .gitmodules file. I think there are a few things Stash could do.

      From a user perspective:

      1. An option to show the submodule folder (perhaps in a different style, or annotated as a submodule in some way) and files based on the commit state of the main repository.
      2. An option to list submodules for a project and link to the underlying repository

      For example, github shows the sizzle submodule in https://github.com/jquery/jquery/tree/master/src with a link to the repository for the submodule and includes the current changeset.

      From an administrative perspective (I suspect some/all of these may not even be possible based on my admittedly limited understanding of Git):

      1. Configure repository permissions separately for when a repository is used as a submodule (e.g. read-only when used as a submodule, but full permissions when used as a regular repository).
      2. An option to have Stash assume "--recursive" behavior for clone operations
      3. An option to keep submodules in sync when a user performs a pull or rebase (the equivalent of forcing a submodule update)

            [BSERV-2625] Add Support for Submodules

            Zachary added a comment -

            These work great, thx. My one request here might be to add a link from the web front end to point to the repo a submodule link is referencing. These work great nonetheless.

            Zachary added a comment - These work great, thx. My one request here might be to add a link from the web front end to point to the repo a submodule link is referencing. These work great nonetheless.

            Hi zach1 support for submodules was shipped in Stash 2.3.0 in March of this year.

            Michael Studman (Inactive) added a comment - Hi zach1 support for submodules was shipped in Stash 2.3.0 in March of this year.

            Zachary added a comment -

            I'd like to inquire on the status of this as well.

            Zachary added a comment - I'd like to inquire on the status of this as well.

            Peter added a comment -

            Is there a target for this? Being a Fisheye customer and being forced to move to Stash to continue getting feature updates, we need submodule support in Stash before buying it.

            Peter added a comment - Is there a target for this? Being a Fisheye customer and being forced to move to Stash to continue getting feature updates, we need submodule support in Stash before buying it.

            jens added a comment -

            No, this feature hasn't been implemented yet.

            jens added a comment - No, this feature hasn't been implemented yet.

            Is this task complete already?

            Alexey Efimov added a comment - Is this task complete already?

            jens added a comment - - edited

            Thanks Jeff. We are planning to support submodules in the future.

            jens added a comment - - edited Thanks Jeff. We are planning to support submodules in the future.

              Unassigned Unassigned
              b3db096ce045 Jeff Stricker
              Votes:
              20 Vote for this issue
              Watchers:
              22 Start watching this issue

                Created:
                Updated:
                Resolved: