How can I download files from a repo with bitbucket?
I have looked through docs and cannot find anywhere an example of how this might be achieved.
I want to distribute updates but only to those that have a ssh key rather than using simple auth.
It works by looking at versions.gz file and then getting the most recent download. Is this possible with ssH?
Is there a way to authenticate others to download updates from my repository, or is this just a limitation of bitbucket and you must use public repo’s and to use private repo's give out your password with basic auth and cross fingers.
Code example in python
Hi Tyson, at the moment it's not possible to do what you're asking for. If you want people to be able to download files from your downloads section, you'll need to make your repo public so everybody can access it, or the people that wants to download it will need to have a Bitbucket account and have permissions to access the repo.
We don't recommend you to share your account credentials with anyone, they can create free Bitbucket accounts with their own credentials and they can be granted read-only permissions.
I found this feature request that you might be interested in, you can vote for it at https://bitbucket.org/site/master/issues/1087/private-repository-public-downloads-bb-733
Right now it's closed, but if more people show interest they might consider re-opening it again.
Hope that helps!
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 ...
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot