Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix branches/tags for cloud usage #810

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nborisenko
Copy link

@nborisenko nborisenko commented Jul 12, 2021

Allow to manage tags and branches in bitbucket.org

Comment on lines +255 to +256
if self.cloud:
return self.resource_url("repositories", api_root, api_version)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn*t make sense for me. Why is the URL for projects redirected repositories???

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

@Spacetown Spacetown Jul 12, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thats because here it is called workspace and not project. There is an open issue #604. If this API is needed I suggest to add it into the Cloud part of BitBucket.

Copy link
Author

@nborisenko nborisenko Jul 12, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agreed with you, from my point of view it should be 2 separate clients. But I currently didn't have enough time for move it to cloud class or build new client. This is temporary solution, which allows persons like me use python client with bitbucket.org. Because it`s fully unusable in case when you want to do something with commits/tags/branches in cloud.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants