How to enable download as tar.gz with [addon-com.atlassian.stash.plugin.stash-archive] ?

From what I can see the Download link provided by https://marketplace.atlassian.com/plugins/com.atlassian.stash.plugin.stash-archiveonly gives a .zip. How can I configure this plugin for tar.gz as well per its description?

4 answers

1 accepted

Hi Chris,

Adding the query parameter format=tar.gz to the URL will create a tar.gz for you. There are some other options documented in the README.

cheers,

Tim

Thanks Tim. I missed this because on https://marketplace.atlassian.com/plugins/com.atlassian.stash.plugin.stash-archiveunder the Support tab, Documentation link, it links to http://confluence.atlassian.com/which must be incorrect. It would be great if this could be updated to point to https://bitbucket.org/atlassian/stash-archive#markdown-header-rest-api.

Additionally, it would be fantastic if the plugin could provide a button to download the tarball so a URL does not need to be constructed manually (I guess contrib is of consideration here).

Hi Chris,

Thanks for the nudge, I've fixed the documentation URL as you suggested. I like the idea of being able to customize the button's behaviour, would you mind raising an issue in the add-on's issue tracker: https://bitbucket.org/atlassian/stash-archive/issues

Also, would you mind marking my original answer as accepted if you're happy with it?

cheers,

Tim

Suggest an answer

Log in or Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

625 views 0 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot