Skip to content

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