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

2 votes
Accepted answer

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 Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

250 views 3 7
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