Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-2732

Download entire repository as of a certain commit, rather than individual files

    • Icon: Suggestion Suggestion
    • Resolution: Fixed
    • 5.1.0
    • Repositories
    • None
    • 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.

      It might be useful to be able to download an entire repository as of a certain commit, rather than individual files.

        1. download-branches-action.png
          download-branches-action.png
          13 kB
        2. download-branch-list-action.png
          download-branch-list-action.png
          7 kB
        3. download-browse-action.png
          download-browse-action.png
          14 kB
        4. download-commit-action.png
          download-commit-action.png
          4 kB
        5. download-commits-action.png
          download-commits-action.png
          15 kB

          Form Name

            [BSERV-2732] Download entire repository as of a certain commit, rather than individual files

            atlassian456, drorb,

            Everything the archive plugin could do can also be done using the built-in functionality for 5.1+. The only changes are cosmetic, with "Download" no longer appearing in the sidebar (as I showed previously). Since it's a standard part of the application now, its REST functionality is documented with all of our other REST endpoints. This link should cover it.

            Best regards,
            Bryan Turner
            Atlassian Bitbucket

            Bryan Turner (Inactive) added a comment - atlassian456 , drorb , Everything the archive plugin could do can also be done using the built-in functionality for 5.1+. The only changes are cosmetic, with "Download" no longer appearing in the sidebar (as I showed previously). Since it's a standard part of the application now, its REST functionality is documented with all of our other REST endpoints. This link should cover it. Best regards, Bryan Turner Atlassian Bitbucket

            We are relying on functionality previously provided by the archive plugin. Now with the removal of this plugin from versions 5.1.0 and newer, we are looking for an alternative REST API.

            Is there a new REST API and where can we find documentation for it?

            Dror Bereznitsky added a comment - We are relying on functionality previously provided by the archive plugin. Now with the removal of this plugin from versions 5.1.0 and newer, we are looking for an alternative REST API. Is there a new REST API and where can we find documentation for it?

            Is the new REST API compatible with the archive plugin? And where is the documentation for it?

            Sergei Dorogin added a comment - Is the new REST API compatible with the  archive plugin ? And where is the documentation for it?

            Mark,

            No, this only replaces the archive plugin. The patch plugin will not be affected as this does not provide the same functionality.

            Best regards,
            Bryan Turner
            Atlassian Bitbucket.

            Bryan Turner (Inactive) added a comment - Mark, No, this only replaces the archive plugin . The patch plugin will not be affected as this does not provide the same functionality. Best regards, Bryan Turner Atlassian Bitbucket.

            markgillespien added a comment - Will this replace the patch plugin?   https://marketplace.atlassian.com/plugins/com.atlassian.bitbucket.plugins.bitbucket-patch-plugin/server/overview

            This functionality has now been implemented in the base product--no more installing a separate add-on to provide it. (If you're using the add-on, it'll automatically be uninstalled when you upgrade to 5.1+)

            The UX for the feature has changed somewhat from how the stash-archive add-on was laid out. "Download" no longer appears in the sidebar. Instead, it is in the actions dropdown next to the branch selector.

            *Browse*

            *Commits List*

            *Branches*

            It also appears in the actions dropdown for each branch listed

            Last, but not least, when viewing any commit, you can now download the source at that commit.

            The download functionality includes a full REST API which can be used to download any branch, commit or tag. It also supports filtering to specific paths and adding a prefix to paths inside the downloaded archive, as well as downloading in .tar or .tar.gz formats, as well as the default .zip. Documentation for the new REST endpoint will be published when 5.1 is released.

            Best regards,
            Bryan Turner
            Atlassian Bitbucket

            Bryan Turner (Inactive) added a comment - This functionality has now been implemented in the base product--no more installing a separate add-on to provide it. (If you're using the add-on, it'll automatically be uninstalled when you upgrade to 5.1+) The UX for the feature has changed somewhat from how the stash-archive add-on was laid out. "Download" no longer appears in the sidebar. Instead, it is in the actions dropdown next to the branch selector. * Browse * * Commits List * * Branches * It also appears in the actions dropdown for each branch listed Last, but not least, when viewing any commit, you can now download the source at that commit. The download functionality includes a full REST API which can be used to download any branch, commit or tag. It also supports filtering to specific paths and adding a prefix to paths inside the downloaded archive, as well as downloading in .tar or .tar.gz formats, as well as the default .zip . Documentation for the new REST endpoint will be published when 5.1 is released. Best regards, Bryan Turner Atlassian Bitbucket

            PedroM.CostaAndrade added a comment - - edited

            @xeon core this are the best team on whole web!!!

            Great work guys!!

            PedroM.CostaAndrade added a comment - - edited @xeon core this are the best team on whole web!!! Great work guys!!

            Xeon Core added a comment -

            PedroM.CostaAndrade I've installed the plugin for you

            Xeon Core added a comment - PedroM.CostaAndrade I've installed the plugin for you

            TimP added a comment - - edited

            pedrom.costaandrade the plugin needs to be installed on the server, not on your browser. Once it's installed, you'll see a new "Download" button in the web UI.

            I'd advise contacting the administrator of your Stash server if you'd like to have the add-on installed.

            TimP added a comment - - edited pedrom.costaandrade the plugin needs to be installed on the server, not on your browser. Once it's installed, you'll see a new "Download" button in the web UI. I'd advise contacting the administrator of your Stash server if you'd like to have the add-on installed.

            Please add this into the website
            i can't use the java pluggin in win 8.1 on metro

            PedroM.CostaAndrade added a comment - Please add this into the website i can't use the java pluggin in win 8.1 on metro

              bturner Bryan Turner (Inactive)
              mwright Melanie Wright (Inactive)
              Votes:
              3 Vote for this issue
              Watchers:
              17 Start watching this issue

                Created:
                Updated:
                Resolved: