Cannot access files to download for app private repo

Not sure why but I cannot seem to access private repo’s for updates in a simple application with python.

Run:

curl -u "Tysondogerz:NbvaUhnnA9WkVtS9DssP" https://api.bitbucket.org/2.0/repositories/Tysondogerz/SSH/downloads

 My repo exists.

 

For access:

 

client = Client(ClientConfig(), auth=('Tysondogerz', 'NbvaUhnnA9WkVtS9DssP'))

 This is my username and password for app.

The following script works great for public repo’s, but does not seem to work with bitbucket private repo’s :/

 

I've included my python updating script which does not seem to work in a pastebin here because it does not format here correctly.

 

 

Worth a mention this is how client downloads not sure if relevant.

1 answer

0 votes

 

Hi Tyson, I found this Community thread that seems to be asking for the same thing as you. Have you tried that?  

I've also found this post where users share different approaches, do any of them work for you? 

Regards!

Ana

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...

649 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