Skip to content

Fix invalid paths in CODEOWNERS#33584

Merged
konrad-jamrozik merged 1 commit intomainfrom
users/kojamroz/codeowners_update1
Jan 19, 2023
Merged

Fix invalid paths in CODEOWNERS#33584
konrad-jamrozik merged 1 commit intomainfrom
users/kojamroz/codeowners_update1

Conversation

@konrad-jamrozik
Copy link
Copy Markdown
Contributor

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

This PR fixes paths in CODEOWNERS that were violating following two rules, given here:

  1. All paths must start with /
  2. Paths to directories must end with /

These changes should have no effect on owners determination by GitHub.

Violations of rule 2. would result in ADO build failure notifications being set to different set of people once we enable the new regex-based CODEOWNERS matcher, per:

This PR is done in preparation of following work:

@konrad-jamrozik konrad-jamrozik added EngSys This issue is impacting the engineering system. Central-EngSys This issue is owned by the Engineering System team. labels Jan 19, 2023
@konrad-jamrozik konrad-jamrozik self-assigned this Jan 19, 2023
@konrad-jamrozik
Copy link
Copy Markdown
Contributor Author

/check-enforcer override

@konrad-jamrozik konrad-jamrozik merged commit fa82a02 into main Jan 19, 2023
@konrad-jamrozik konrad-jamrozik deleted the users/kojamroz/codeowners_update1 branch January 19, 2023 17:55
konrad-jamrozik pushed a commit to Azure/azure-sdk-for-go that referenced this pull request Feb 10, 2023
As part of ongoing work of enabling wildcard support for `CODEOWNERS`:
- Azure/azure-sdk-tools#2770
- Azure/azure-sdk-tools#5088

and enabling stricter validation:
- Azure/azure-sdk-tools#4859

this PR:
- fixes invalid paths, to match rules explained [here](https://github.com/Azure/azure-sdk/blob/main/docs/policies/opensource.md#codeowners);
- removes `/**/tests.yml` and `/**/ci.yml`, to avoid all build failure notifications being routed to it once we enable the new regex-based, wildcard-supporting `CODEOWNERS` matcher, per: Azure/azure-sdk-tools#5088 (comment)

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:
- Azure/azure-sdk-tools#5241
- Azure/azure-sdk-tools#5240

Related PRs:
- Similar PR fixing invalid paths, but for `net` repo: Azure/azure-sdk-for-net#33584
- Similar PR deprioritizing the Azure SDK EngSys team ownership, but for `python` repo: Azure/azure-sdk-for-python#28534
konrad-jamrozik pushed a commit to Azure/azure-sdk-for-go that referenced this pull request Feb 13, 2023
* Update `CODEOWNERS` paths: fix invalid paths

As part of ongoing work of enabling wildcard support for `CODEOWNERS`:
- Azure/azure-sdk-tools#2770
- Azure/azure-sdk-tools#5088

and enabling stricter validation:
- Azure/azure-sdk-tools#4859

this PR:
- fixes invalid paths, to match rules explained [here](https://github.com/Azure/azure-sdk/blob/main/docs/policies/opensource.md#codeowners);
- removes `/**/tests.yml` and `/**/ci.yml`, to avoid all build failure notifications being routed to it once we enable the new regex-based, wildcard-supporting `CODEOWNERS` matcher, per: Azure/azure-sdk-tools#5088 (comment)

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:
- Azure/azure-sdk-tools#5241
- Azure/azure-sdk-tools#5240

Related PRs:
- Similar PR fixing invalid paths, but for `net` repo: Azure/azure-sdk-for-net#33584
- Similar PR deprioritizing the Azure SDK EngSys team ownership, but for `python` repo: Azure/azure-sdk-for-python#28534

* Update .github/CODEOWNERS

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
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. EngSys This issue is impacting the engineering system.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants