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 paths: fix invalid paths #24621

Merged
merged 2 commits into from
Feb 10, 2023
Merged

Conversation

konrad-jamrozik
Copy link
Contributor

@konrad-jamrozik konrad-jamrozik commented Jan 31, 2023

As part of ongoing work of enabling wildcard support for CODEOWNERS:

and enabling stricter validation:

this PR:

As a consequence of this PR the automatically assigned PR reviewers will change for some paths. The full list of of such changes can be determined by running relevant test provided by this PR:

You can also reach out to me to get that information.

Once this PR is merged, I will enable the new CODEOWNERS matcher, similar to how it was done for net repo by these two PRs:

Doing so will also change to whom build failure notification emails are sent.

Related PRs:

@konrad-jamrozik konrad-jamrozik added the Central-EngSys This issue is owned by the Engineering System team. label Jan 31, 2023
@konrad-jamrozik konrad-jamrozik requested review from benbp, weshaggard and a team January 31, 2023 01:21
@konrad-jamrozik konrad-jamrozik self-assigned this Jan 31, 2023
/sdk/netapp/ci.mgmt.yml @qiaozha @dw511214992 @MaryGao

# PRLabel: %Mgmt
/sdk/network/arm-network @qiaozha @dw511214992 @MaryGao
/sdk/network/ci.mgmt.yml @qiaozha @dw511214992 @MaryGao
/sdk/network/arm-network/ @qiaozha @dw511214992 @MaryGao
Copy link
Contributor Author

@konrad-jamrozik konrad-jamrozik Jan 31, 2023

Choose a reason for hiding this comment

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

Do we need an extra rule for /sdk/network/arm-network-rest/ ? Currently it matches against /sdk/.

There are few more directories with similar issue:

/sdk/appservice/arm-appservice-rest/
/sdk/compute/arm-compute-rest/
/sdk/containerservice/arm-containerservice-rest/
/sdk/mysql/arm-mysql-flexible/
/sdk/servicefabric/arm-servicefabric-rest/

Copy link
Member

Choose a reason for hiding this comment

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

Those are like any other directory under sdk without owners they fallback to the leads until an owners is identified.

Copy link
Member

Choose a reason for hiding this comment

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

Or if they were matching another path that we fixed by adding a "/" we could make those map to what they used to map to.

These actually look like they are arm packages so we might want to consider a wildcard to map the all to the arm/mgmt owners.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@qiaozha @dw511214992 @MaryGao can you let me know if you want to be owners of following paths?

/sdk/network/arm-network-rest/
/sdk/appservice/arm-appservice-rest/
/sdk/compute/arm-compute-rest/
/sdk/containerservice/arm-containerservice-rest/
/sdk/mysql/arm-mysql-flexible/
/sdk/servicefabric/arm-servicefabric-rest/

Currently their owner is @xirzec, via the /sdk/ rule.

Copy link
Member

Choose a reason for hiding this comment

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

sorry just see this comment, @konrad-jamrozik yes, you can put us as owner.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

.github/CODEOWNERS Outdated Show resolved Hide resolved
.github/CODEOWNERS Outdated Show resolved Hide resolved
.github/CODEOWNERS Outdated Show resolved Hide resolved
@konrad-jamrozik konrad-jamrozik changed the title Update CODEOWNERS paths: fix invalid paths and deprioritize /eng/ and Engineering System Team paths Update CODEOWNERS paths: fix invalid paths Feb 8, 2023
@konrad-jamrozik
Copy link
Contributor Author

/check-enforcer override

@konrad-jamrozik konrad-jamrozik merged commit 04619bd into main Feb 10, 2023
@konrad-jamrozik konrad-jamrozik deleted the users/kojamroz/co branch February 10, 2023 01:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Central-EngSys This issue is owned by the Engineering System team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants