Skip to content

Use OWNERS-based labeling for kind/api-change#67275

Merged
k8s-github-robot merged 1 commit into
kubernetes:masterfrom
spiffxp:owners-label-kind-api-change
Aug 10, 2018
Merged

Use OWNERS-based labeling for kind/api-change#67275
k8s-github-robot merged 1 commit into
kubernetes:masterfrom
spiffxp:owners-label-kind-api-change

Conversation

@spiffxp

@spiffxp spiffxp commented Aug 10, 2018

Copy link
Copy Markdown
Contributor

What this PR does / why we need it:

This replaces the following path-label munger config, except
we're using kind/api-change for everything instead of two
different kind/ labels

^pkg/api/([^/]+/)?types.go$    kind/api-change
^pkg/api/([^/]+/)?register.go$ kind/new-api
^pkg/apis/[^/]+/([^/]+/)?types.go$    kind/api-change
^pkg/apis/[^/]+/([^/]+/)?register.go$ kind/new-api

This fixes kubernetes/test-infra#9007

Special notes for your reviewer:
This can be merged independently of us turning path-label off of
mungegithub. While both labeling options are active, they won't
clash, just race.

NONE

@k8s-ci-robot k8s-ci-robot added release-note-none Denotes a PR that doesn't merit a release note. retest-not-required-docs-only size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Aug 10, 2018
@k8s-ci-robot k8s-ci-robot requested review from sttts and thockin August 10, 2018 20:01
@spiffxp spiffxp force-pushed the owners-label-kind-api-change branch from 2fa3502 to 5d55216 Compare August 10, 2018 20:04
Comment thread pkg/api/OWNERS Outdated

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The original regexes started with ^pkg/api/ but AIUI this takes effect relative to the location of this OWNERS file

@spiffxp

spiffxp commented Aug 10, 2018

Copy link
Copy Markdown
Contributor Author

/retest

This replaces the following path-label munger config, except
we're using kind/api-change for everything instead of two
different kind/ labels

```
^pkg/api/([^/]+/)?types.go$    kind/api-change
^pkg/api/([^/]+/)?register.go$ kind/new-api
^pkg/apis/[^/]+/([^/]+/)?types.go$    kind/api-change
^pkg/apis/[^/]+/([^/]+/)?register.go$ kind/new-api
```
@spiffxp spiffxp force-pushed the owners-label-kind-api-change branch from 5d55216 to d0b2595 Compare August 10, 2018 20:49
@k8s-ci-robot k8s-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Aug 10, 2018

@cjwagner cjwagner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

/lgtm
/hold

We should enable the verify-owners plugin across the kubernetes org so that we can be more confident that these kinds of PRs won't break OWNERS file parsing.
It is probably stable now.

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 10, 2018
@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 10, 2018
@thockin

thockin commented Aug 10, 2018

Copy link
Copy Markdown
Member

Change LGTM - I have precious little context on the hold, though.

/lgtm
/approve

@k8s-ci-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cjwagner, spiffxp, thockin

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 10, 2018
@cjwagner

Copy link
Copy Markdown
Member

/hold cancel

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 10, 2018
@k8s-github-robot

Copy link
Copy Markdown

Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions here.

@k8s-github-robot k8s-github-robot merged commit 819253d into kubernetes:master Aug 10, 2018
@spiffxp spiffxp deleted the owners-label-kind-api-change branch August 10, 2018 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesn't merit a release note. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace path-label munger with appropriate OWNERS files

5 participants