Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-408

Branches and tags with slashes in their name (BB-527)

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

      If you use a naming convention where branches and tags are grouped using the standard directory separator, slash or '/', they cannot be linked to by their name, but must be linked to using the hexadecimal checksum identifier.

      On a slightly related note, it would be nice if those groupings where combined to a hierarchy in the web UI. I use BitBucket for hosting full-history mirrors of some LLVM repositories, and the numerous Apple version tags clutter the list.

      Other than those minor issues, I must say that I find your services to be excellent and very reasonably priced. Thank you, and I hope you enjoy the holidays!

            [BCLOUD-408] Branches and tags with slashes in their name (BB-527)

            Thanks, @paulirish, absolutely! (Didn't know about your git-open project before, but it looks excellent… I've been trying to develop some more limited in-house code for linking to specific branches, and ran into the same problem.)

            Daniel Lenski added a comment - Thanks, @paulirish, absolutely! (Didn't know about your git-open project before, but it looks excellent… I've been trying to develop some more limited in-house code for linking to specific branches, and ran into the same problem.)

            paulirish added a comment -

            @dlenski I've posted a new issue that I think captures your comment: BCLOUD-14422

            paulirish added a comment - @dlenski I've posted a new issue that I think captures your comment: BCLOUD-14422

            @nvenegas, this still does not seem to work for /src URLs.

            For example, I have found no way to link to a file at the tip of a specific branch whose name contains a slash :-1:

            https://bitbucket.org/:user/:repo/src/:branch_name/subdir/filename.txt
            

            Daniel Lenski added a comment - @nvenegas, this still does not seem to work for /src URLs. For example, I have found no way to link to a file at the tip of a specific branch whose name contains a slash :-1: https: //bitbucket.org/:user/:repo/src/:branch_name/subdir/filename.txt

            Most URLs should now accept branch names with a / in them.

            However, URLs for specific commits, e.g.,

            • /:user/:repo/commits/:commit and
            • /:user/:repo/commits/:commit/raw

            don't accept branch names with a / in them.

            Nicolas Venegas (Inactive) added a comment - Most URLs should now accept branch names with a / in them. However, URLs for specific commits, e.g., /:user/:repo/commits/:commit and /:user/:repo/commits/:commit/raw don't accept branch names with a / in them.

            Also affects tarball downloads (#5865) and the API (#5328).

            Nicolas Venegas (Inactive) added a comment - Also affects tarball downloads (#5865) and the API (#5328).

            This also happens even if you escape the slash with %2F.

            Nicolas Venegas (Inactive) added a comment - This also happens even if you escape the slash with %2F .

            Issue BCLOUD-7097 was marked as a duplicate of this issue.

            Nicolas Venegas (Inactive) added a comment - Issue BCLOUD-7097 was marked as a duplicate of this issue.

            I believe this is fixed in the new UI. If not please reopen.

            Cheers,

            Dylan

            Dylan Etkin added a comment - I believe this is fixed in the new UI. If not please reopen. Cheers, Dylan

            Thanks for the feedback, and happy holidays to you too

            Legacy Bitbucket Cloud User (Inactive) added a comment - Thanks for the feedback, and happy holidays to you too

            danchr added a comment -

            Reverting status to 'NEW'.

            danchr added a comment - Reverting status to 'NEW'.

              Unassigned Unassigned
              Anonymous Anonymous
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: