Skip to content

Conversation

@konrad-jamrozik
Copy link
Contributor

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

PR context

This PR is done in preparation to enable the new regex-based wildcard-supporting CODEOWNERS matcher for azure-sdk-for-python language repository.

It is a continuation of work done by this PR:

This PR provides information required to make a PR analogous to this one, but for azure-sdk-for-python repo:

This PR is a prerequisite to enabling the new matcher on azure-sdk-for-python, in similar way as this PR does:

Thus, overall, this PR contributes to:

Changes made

  • Added support for outputting CODEOWNERS paths that are missing suffix slash, i.e. paths that would match a directory in the repository if they would have the suffix /. Because they don't, and the directory exists, such paths currently won't ever match anything.
  • Added support for diffing CODEOWNERS owners to its equivalent with some paths removed. This is used to determine how build failure notification recipients will change when /**/ci.yml and /**/tests.yml paths are removed, similarly as it was done here:
  • Added tools (implemented as unit tests) for outputting relevant CODEOWNERS information for azure-sdk-for-python: both paths that are missing suffix slashes, as well as expected changes to build failure notification recipients when /**/ci.yml and /**/tests.yml paths are removed.

@konrad-jamrozik konrad-jamrozik added the Central-EngSys This issue is owned by the Engineering System team. label Jan 27, 2023
@konrad-jamrozik konrad-jamrozik requested a review from a team as a code owner January 27, 2023 00:27
@konrad-jamrozik konrad-jamrozik self-assigned this Jan 27, 2023
@konrad-jamrozik konrad-jamrozik changed the title Add detection of CODEOWNERS paths that are missing suffix slash; add support for diffing to CODEOWNERS version with some paths removed; add tools for analyzing azure-sdk-for-python CODEOWNERS; Add detection of CODEOWNERS paths that are missing suffix slash; add support for diffing to CODEOWNERS version with some paths removed; add tools for analyzing azure-sdk-for-python CODEOWNERS. Jan 27, 2023
Copy link
Member

@weshaggard weshaggard left a comment

Choose a reason for hiding this comment

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

One question but otherwise looks fine

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.

2 participants