Skip to content

Update CODEOWNERS and hide go.sum#11125

Merged
joestringer merged 5 commits intomasterfrom
pr/pchaigno/update-codeowners
May 4, 2020
Merged

Update CODEOWNERS and hide go.sum#11125
joestringer merged 5 commits intomasterfrom
pr/pchaigno/update-codeowners

Conversation

@pchaigno
Copy link
Copy Markdown
Member

@pchaigno pchaigno commented Apr 23, 2020

The first commit reworks the code owner entries, mostly to avoid matching the catch-all janitors group unless it makes sense. In particular, it:

  • introduces two new groups @cilium/ipam and @cilium/build;
  • moves development tools under @cilium/contributing;
  • removes specific code owners to prefer groups;
  • adds go.{sum,mod} to @cilium/vendor.

As is, this pull request requires the creation of four new groups in the Cilium organization: @cilium/ipam, @cilium/build, @cilium/aws, and @cilium/azure.

This leaves two fairly commonly touched packages (pkg/node and pkg/aws) under @cilium/janitors, but I'm not sure there's a good group to assign them.

The second commit hides go.sum files by default in pull requests since these are generated. We will still be able to uncollapse them if needed.

@pchaigno pchaigno requested a review from a team as a code owner April 23, 2020 15:42
@maintainer-s-little-helper

This comment has been minimized.

@pchaigno pchaigno added the release-note/misc This PR makes changes that have no direct user impact. label Apr 23, 2020
@pchaigno pchaigno force-pushed the pr/pchaigno/update-codeowners branch from c9ece8f to b87d999 Compare April 23, 2020 16:00
@coveralls
Copy link
Copy Markdown

coveralls commented Apr 23, 2020

Coverage Status

Coverage increased (+0.003%) to 44.446% when pulling 164c5fb on pr/pchaigno/update-codeowners into 1fcbe96 on master.

Copy link
Copy Markdown
Member

@christarazi christarazi left a comment

Choose a reason for hiding this comment

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

Nice! Thanks for keeping this up-to-date.

Copy link
Copy Markdown
Member

@aanm aanm left a comment

Choose a reason for hiding this comment

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

I assume you will be adding the / on all lines?

@pchaigno pchaigno force-pushed the pr/pchaigno/update-codeowners branch from b87d999 to e2eac74 Compare April 24, 2020 08:26
@pchaigno
Copy link
Copy Markdown
Member Author

@aanm Done. There are a few entries that remain without a / on purpose. Mostly files like Makefile, Dockerfile, *.Jenkinsfile, etc.

@pchaigno pchaigno force-pushed the pr/pchaigno/update-codeowners branch from e2eac74 to e62c605 Compare April 24, 2020 08:28
@pchaigno pchaigno requested a review from christarazi April 24, 2020 08:29
Comment thread CODEOWNERS
Comment thread CODEOWNERS
Comment thread CODEOWNERS
Copy link
Copy Markdown
Member

@joestringer joestringer left a comment

Choose a reason for hiding this comment

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

Nice improvements. I figured this is a good opportunity to review the list as well so I added some comments that may be not directly related to the changes you're suggesting, but worth looking at while we're tweaking the file.

Comment thread CODEOWNERS Outdated
Comment thread CODEOWNERS Outdated
Comment thread CODEOWNERS Outdated
Comment thread CODEOWNERS Outdated
Comment thread CODEOWNERS Outdated
Comment thread CODEOWNERS
@pchaigno pchaigno force-pushed the pr/pchaigno/update-codeowners branch from e62c605 to 1295620 Compare April 28, 2020 06:49
@pchaigno pchaigno requested review from aanm and joestringer April 28, 2020 06:51
@pchaigno pchaigno force-pushed the pr/pchaigno/update-codeowners branch from 1295620 to 424ba40 Compare April 29, 2020 06:35
Comment thread .gitattributes Outdated
@pchaigno pchaigno force-pushed the pr/pchaigno/update-codeowners branch 2 times, most recently from 39a6863 to e2858f3 Compare April 30, 2020 18:09
Copy link
Copy Markdown
Member

@aanm aanm left a comment

Choose a reason for hiding this comment

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

@pchaigno I've create the teams.

@pchaigno
Copy link
Copy Markdown
Member Author

pchaigno commented May 1, 2020

@aanm @cilium/ipam seems to be missing.

@aanm
Copy link
Copy Markdown
Member

aanm commented May 1, 2020

@aanm @cilium/ipam seems to be missing.

@pchaigno done! thanks for double checking.

@pchaigno
Copy link
Copy Markdown
Member Author

pchaigno commented May 1, 2020

@aanm The text at the top was there for that. If all team names become bold, it means the PR can be merged (once reviews are in) :-)

Copy link
Copy Markdown
Member

@joestringer joestringer left a comment

Choose a reason for hiding this comment

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

Couple of remaining nits, in particular the IMAP bit 😄

Comment thread CODEOWNERS Outdated
Comment thread CODEOWNERS Outdated
Comment thread CODEOWNERS Outdated
pchaigno added 2 commits May 4, 2020 20:01
This commit reworks the code owner entries, mostly to avoid matching the
catch-all janitors team unless it makes sense. In particular, it
- fixes a few entries in api/, pkg/option/, pkg/service/, and
  install/kubernetes/.
- introduces a new team cilium/build;
- moves development tools under cilium/contributing;
- removes specific code owners to prefer teams;
- adds go.{sum,mod} to cilium/vendor.

Signed-off-by: Paul Chaignon <paul@cilium.io>
Mark go.sum files as generated to hide them in pull requests by default.
They can still be uncollapsed if needed. This particular .gitattributes
syntax is documented at [1].

GitHub doesn't hide them by default because some users may want to inspect
these files (see [2] upstream for details).

1 - https://github.com/github/linguist/#using-gitattributes
2 - github-linguist/linguist#4660
Signed-off-by: Paul Chaignon <paul@cilium.io>
@pchaigno pchaigno force-pushed the pr/pchaigno/update-codeowners branch from e2858f3 to b4a83c6 Compare May 4, 2020 18:02
@pchaigno pchaigno requested a review from joestringer May 4, 2020 18:03
Copy link
Copy Markdown
Member

@joestringer joestringer left a comment

Choose a reason for hiding this comment

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

One last nit, almost there :)

Comment thread CODEOWNERS Outdated
pchaigno added 3 commits May 4, 2020 22:50
This commit attaches most entries to the root of the repository to
ensure we don't match folders and files in subdirectories.

Signed-off-by: Paul Chaignon <paul@cilium.io>
Signed-off-by: Paul Chaignon <paul@cilium.io>
Signed-off-by: Paul Chaignon <paul@cilium.io>
@pchaigno pchaigno force-pushed the pr/pchaigno/update-codeowners branch from b4a83c6 to 164c5fb Compare May 4, 2020 20:50
@pchaigno pchaigno requested a review from joestringer May 4, 2020 20:51
@joestringer joestringer merged commit eeedcb5 into master May 4, 2020
@joestringer joestringer deleted the pr/pchaigno/update-codeowners branch May 4, 2020 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-note/misc This PR makes changes that have no direct user impact.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants