Issue #8137 invalid

Submodule links for Git repositories including capital letter giving 404 (BB-9303)

Neil Parley avatarNeil Parley created an issue

Bitbucket is mapping it's URLs into lower case. So the URL for My_Repo would be bitbucket.org/user_name/my_repo/, however when linked as a submodule the link is comming up as bitbucket.org/user_name/My_Repo and so is giving a 404. The submodules links within bitbucket need to be lower cased.

Comments (7)

  1. Jon Mooring

    Bitbucket simply uses the repository URL specified in your .gitmodules file. If the casing is incorrect there, it will be incorrect in the Bitbucket UI. Marking this issue as invalid for now.

  2. Jon Mooring

    If you go to your repository overview and look at the URL on the right sidebar, or look at the URL in the clone dialog in the header of your repository, you'll notice that the URL includes the "slugified" version of your repository name. This is the URL we recommend you use when cloning or adding a repository as a submodule.

    If you stick to the patterns recommended throughout the UI, you should have no issues with casing. We have no current plans to add support for matching URLs other than the ones we recommend.

  3. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.