-
Notifications
You must be signed in to change notification settings - Fork 592
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
Migrate current sources to legacy #2336
Conversation
9c7e3e5
to
eb73e4e
Compare
/assign @vaikas |
@n3wscott: The following test failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
By far the easiest 100+ changed files PR I ever reviewed 🙂
@@ -30,12 +30,15 @@ import ( | |||
"k8s.io/client-go/tools/record" | |||
clientset "knative.dev/eventing/pkg/client/clientset/versioned" | |||
eventingScheme "knative.dev/eventing/pkg/client/clientset/versioned/scheme" | |||
legacyclientset "knative.dev/eventing/pkg/legacyclient/clientset/versioned" | |||
legacyScheme "knative.dev/eventing/pkg/legacyclient/clientset/versioned/scheme" | |||
"knative.dev/pkg/configmap" | |||
"knative.dev/pkg/controller" | |||
"knative.dev/pkg/logging" | |||
"knative.dev/pkg/logging/logkey" | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why the separation here? I assume it was to separate eventing
imports from pkg
imports but that drifted a little bit?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There will be a name collision when I add back a sources.knative.dev
group.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was only talking about the blank line, just trying to make sense about the way imports are grouped in this file.
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: antoineco, n3wscott The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
I might have missed but should we mark these as deprecated and set the status as such. In the other ones (sequence, etc.) we set the Status condition as Deprecated, instructing users to use the new resources. |
I will in the next PR when I start adding their replacements. |
Relates to #1500
Making space for
sources.knative.dev
. Step 1, move existing sources out of the way.Proposed Changes
Release Note