Refactor CODEOWNERS file (#1804)

* Refactor CODEOWNERS file

Fixes #1803

* Remove CODEOWNERS

* Refactor component owners configuration

* Refactor CODEOWNERS to select any file but the ones in instrumentation

---------

Co-authored-by: Shalev Roda <65566801+shalevr@users.noreply.github.com>
This commit is contained in:
Diego Hurtado
2023-05-22 17:19:50 -06:00
committed by GitHub
parent 42e8f8f6e2
commit cae6ce46ec
3 changed files with 32 additions and 21 deletions

28
.github/CODEOWNERS vendored
View File

@ -1,26 +1,12 @@
# Code owners file.
# This file controls who is tagged for review for any given pull request.
#
# What is a "CODEOWNER"?
#
# A CODEOWNER lends their expertise to a specific package hosted by an OpenTelemetry repository.
#
# A CODEOWNER MUST:
# - introduce themselves on the CNCF OTel Python channel: https://cloud-native.slack.com/archives/C01PD4HUVBL
# - have enough knowledge of the corresponding instrumented library
# - respond to issues
# - fix failing unit tests or any other blockers to the CI/CD workflow
# - update usage of `opentelemetry-python-core` APIs upon the introduction of breaking changes
# - be a member of the OpenTelemetry community so that the `component-owners.yml` action to automatically assign CODEOWNERS to PRs works correctly.
#
# This file is only used as a way to assign any change to the approvers team
# except for a change in any of the instrumentations. The actual codeowners
# of the instrumentations are in .github/component_owners.yml.
# For anything not explicitly taken by someone else:
# Assigns any change to the approvers team...
* @open-telemetry/opentelemetry-python-contrib-approvers
# ...except for changes in any instrumentation.
/instrumentation
# Learn about CODEOWNERS file format:
# https://help.github.com/en/articles/about-code-owners
#
# Learn about membership in OpenTelemetry community:
# https://github.com/open-telemetry/community/blob/main/community-membership.md
#

View File

@ -43,9 +43,23 @@ components:
instrumentation/opentelemetry-instrumentation-urllib:
- shalevr
- ocelotl
instrumentation/opentelemetry-instrumentation-urllib3:
- shalevr
- ocelotl
instrumentation/opentelemetry-instrumentation-sqlalchemy:
- shalevr
instrumentation/opentelemetry-instrumentation-flask:
- ocelotl
instrumentation/opentelemetry-instrumentation-jinja2:
- ocelotl
instrumentation/opentelemetry-instrumentation-logging:
- ocelotl
instrumentation/opentelemetry-instrumentation-requests:
- ocelotl