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

Update CODEOWNERS #42

Closed
wants to merge 1 commit into from
Closed

Update CODEOWNERS #42

wants to merge 1 commit into from

Conversation

raulb
Copy link
Member

@raulb raulb commented Jul 3, 2024

Description

Looks like every connector that's being generated using this template, could end up in the GitHub organization conduitio-labs which means will bring an incorrect CODEOWNER.

This PR should accommodate for both. Once moved to either organization, the one that doesn't apply could be removed.

An alternative (which is the most likely situation) is to actually move this template to conduitio-labs and then the core team update to the right CODEOWNER.

Quick checks:

  • There is no other pull request for the same update/change.
  • I have written unit tests.
  • I have made sure that the PR is of reasonable size and can be easily reviewed.

Looks like every connector that's being generated using this template, could end up in the GitHub organization `conduitio-labs` which means will bring an incorrect `CODEOWNER`. 

This PR should accommodate for both. Once moved to either organization, the one that doesn't apply could be removed.
@raulb raulb requested a review from a team as a code owner July 3, 2024 13:03
@@ -1,3 +1,4 @@
# Define code owners (individuals or teams that are responsible for code in this repository)
# More about code owners at https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners
* @ConduitIO/conduit-core
Copy link
Member

@lovromazgon lovromazgon Jul 3, 2024

Choose a reason for hiding this comment

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

This CODEOWNERS file is actually meant for the template repo itself. Every time we open a PR here (like this one) it will ask for a review from the conduit-core team, so we still need it here. In setup.sh we even remove this line, because the assumption is that the developer will set up their own file if needed. So I'm not sure how to make this better - maybe something in setup.sh that asks the user about the codeowners?

Copy link
Member Author

Choose a reason for hiding this comment

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

@lovromazgon oh damn! I didn't know the existence of this setup.sh 🙈 .

I was looking for a way to make sure new transferred repositories kept the right CODEOWNERS. Not sure I know the historic reasons for those other repositories to have the wrong one, but this PR is definitely not the right way to prevent it. I'll close it for now. Thanks for the pointer.

@raulb raulb closed this Jul 3, 2024
@raulb raulb deleted the update-code-owners branch July 3, 2024 14:10
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