Skip to content

Move CODEOWNERS to .github #13591

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

Merged
merged 1 commit into from
Mar 7, 2024
Merged

Move CODEOWNERS to .github #13591

merged 1 commit into from
Mar 7, 2024

Conversation

petk
Copy link
Member

@petk petk commented Mar 4, 2024

While we still can do this ... The CODEOWNERS file is specific to GitHub interface and can be located in .github, docs or in project root. It makes the php-src root directory a bit more browseable.

File was introduced in PHP-8.3 branch: #8670

The CODEOWNERS file is specific to GitHub interface and can be located
in .github, docs or in project root. It makes the php-src root directory
a bit more browseable.
@petk petk requested review from iluuu1994 and TimWolla as code owners March 4, 2024 13:48
@iluuu1994
Copy link
Member

php-src/CODEOWNERS

Lines 1 to 6 in f799d6f

# The following volunteers have self-identified as subject matter experts
# or interested parties over a particular area of the php-src source code.
# While requesting a review from someone does not obligate that person to
# review a pull request, these reviewers might have valuable knowledge of
# the problem area and could aid in deciding whether a pull request is ready
# for merging.

I wonder if this information is just useful to GitHub, or also to contributors?

@petk
Copy link
Member Author

petk commented Mar 4, 2024

For contributors this file is just noise. They can't message these IDs, it's only to link code with pull requests. Even if someone theoretically will want to know which code to link with some person, the PR does that for them.

@iluuu1994
Copy link
Member

I don't have a strong opinion. Feel free to merge if you want.

@TimWolla TimWolla removed their request for review March 4, 2024 16:51
@bukka
Copy link
Member

bukka commented Mar 5, 2024

Although it's the most up to date info about mainteners of the specific parts. Not strong opinion either so I'm fine with this getting moved but might makes sense to sync EXTENSIONS with that so there is at least something a bit more visible. Would be also good to back port this to 8.2 as I'm missing some PR's targeting just that branch...

@petk
Copy link
Member Author

petk commented Mar 7, 2024

I see, each branch needs its own CODEOWNERS for this to work. Now this only works for PHP-8.3 and master branches. I'll merge this one to PHP-8.3 and master. And a separate fix for PHP-8.2 with these synced a little what can be done...

@petk petk merged commit 88e90c6 into php:PHP-8.3 Mar 7, 2024
petk added a commit that referenced this pull request Mar 7, 2024
* PHP-8.3:
  Move CODEOWNERS to .github (#13591)
@petk petk mentioned this pull request Mar 7, 2024
@petk petk deleted the patch-codeowners branch March 7, 2024 22:02
remicollet pushed a commit to remicollet/php-src that referenced this pull request Mar 8, 2024
The CODEOWNERS file is specific to GitHub interface and can be located
in .github, docs or in project root. It makes the php-src root directory
a bit more browseable.
petk added a commit to petk/php-src that referenced this pull request Jul 18, 2024
This repeats the sync as noted in the phpGH-13591 and the discussion
https://news-web.php.net/php.internals/124472

The CODEOWNERS file is related to the targeted branch in the pull
request and not only the master branch.

- CS style comments synced (80 columns length)
- Added a note to change the earliest supported PHP branch and not only
  master branch
- Synced GitHub ID's and paths across the PHP-8.2, PHP-8.3 and master
  branches
@petk petk mentioned this pull request Jul 18, 2024
petk added a commit to petk/php-src that referenced this pull request Jul 23, 2024
This repeats the sync as noted in the phpGH-13591 and the discussion
https://news-web.php.net/php.internals/124472

The CODEOWNERS file is related to the targeted branch in the pull
request and not only the master branch.

- CS style comments synced (80 columns length)
- Added a note to change the earliest supported PHP branch and not only
  master branch
- Synced GitHub ID's and paths across the PHP-8.2, PHP-8.3 and master
  branches
petk added a commit that referenced this pull request Jul 28, 2024
This repeats the sync as noted in the GH-13591 and the discussion
https://news-web.php.net/php.internals/124472

The CODEOWNERS file is related to the targeted branch in the pull
request and not only the master branch.

- Added a note to change the earliest supported PHP branch and not only
  master branch
- Synced GitHub ID's and paths across the PHP-8.2, PHP-8.3 and master
  branches
- Add note how changes here should be analogous to bug fixes
  with a link to CONTRIBUTING.md which describes which branch to
  target
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.

3 participants