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

Allow links to "most recent" version of a file

    XMLWordPrintable

Details

    • 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

      At the moment, when linking to a file in a repo, the link always looks like this:

      https://bitbucket.org/[UserName]/[RepoName]/[Path]/[Revision]/[File]?at=[Branch]
      

      The problem here is, that we always need to include the revision and therefor can't link to "the most recent version" of a file.

      This would be helpful for example in the README-file, where we'd like to link an image from the repo.

      Also, when linking a file from a documentation, this file might contain a list of mapped keyboard-shortcuts, which will get updated as the application is developed. Always changing the link in the documentation is error prone and it sucks.

      Proposal: Allow links of the following style (simply without the revision part):

      https://bitbucket.org/[UserName]/[RepoName]/[Path]/[File]?at=[Branch]
      

      This will then check the latest commit that changed the desired file and show this version (maybe an automatic forward to the full link with the revision?).

      Attachments

        Activity

          People

            Unassigned Unassigned
            ffe524fd-1cd4-4348-a536-09b73dfe42ed Deleted Account (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: