Skip to content

Add basic auth, create/fork and repo permissions #1

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

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

rlmaers
Copy link

@rlmaers rlmaers commented Dec 14, 2021

Hi!

Thanks for the great library. I made some extensions that I hope you might include upstream.

  • Basic Authentication
  • Repository creation
  • Repository forking
  • Repository update
  • Repository permissions

They're mostly pretty obvious, perhaps except for the last one. I created new *Permission types for that are returned when calling *bitbucket.Client.Repository.Get*Permissions. The *bitbucket.Client.Repository.Set*Permission methods take these as arguments for two reasons: i) to reduce the number of arguments (by one) and ii) to make it easy to duplicate repository permissions (simply get from repo A and set to repo B).

@rlmaers
Copy link
Author

rlmaers commented Dec 20, 2021

Added also support for adding labels to repositories.

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.

1 participant