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

Feature: Native Bitbucket Integration #221

Closed
udaypatel1 opened this issue Oct 14, 2024 · 3 comments
Closed

Feature: Native Bitbucket Integration #221

udaypatel1 opened this issue Oct 14, 2024 · 3 comments

Comments

@udaypatel1
Copy link
Contributor

Suggested solution

In it's current state, the .sauced.yaml config file natively supports Github usernames and teams.

For the use case of my team, we use Bitbucket as our SCM and would appreciate native support for Bitbucket specific features as we don't have a notion of "Github Teams", as an example.

In general, it would be amazing if the config file (among other parts of the Pizza CLI) could support specificities in other SCM platforms, exposing it's capabilities to a larger audience.

Thanks! 😁🚀

@jpmcb
Copy link
Member

jpmcb commented Oct 14, 2024

Hi @udaypatel1 - thanks for opening the issue! We currently don't have any plans to open up support in the Pizza CLI to other git providers like bitbucket or gitlab.

But we're very interested to hear how this would integrate with bitbucket. Can you give me some examples of how you imagine this working?

Is this the feature you'd want to use? https://support.atlassian.com/bitbucket-cloud/docs/set-up-and-use-code-owners/ To get something like this to work (where it'd be straight emails associated to files), you'd simply want to set up your .sauced.yaml to be a straight mapping of emails to email keys like so:

@udaypatel1
Copy link
Contributor Author

Hello @jpmcb – thanks for getting back to me :)

You're correct!

In this case, bitbucket requires that a specific team.yaml file be created so that the .bitbucket/CODEOWNERS file can reference a Team (similar to that of the native Github Teams defined in .sauced.yaml)

https://support.atlassian.com/bitbucket-cloud/docs/set-up-and-use-code-owners/#Adding-teams-as-code-owners

How would this be integrated with the current pizza workflow? There would ideally be an additional config parameter in .sauced.yaml which would identify the git provider, and adjust CLI actions accordingly. Or, of course, another design to implement this which may be better suited.

I'm not sure of the other bitbucket specific nuances for how they manage CODEOWNERS but if there is interest, I'd be happy to provide continued help!

@udaypatel1
Copy link
Contributor Author

Closing this Issue for now – does not indicate a specific bug / feat / fix that needs to be addressed.

@udaypatel1 udaypatel1 closed this as not planned Won't fix, can't repro, duplicate, stale Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants