-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Rename pkg/deploy -> pkg/apps #16202
Conversation
/lgtm @soltysh not sure what order you want commits to merge, feel free to bump this one up the queue if you want it before your others. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: deads2k, soltysh The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
0ac45af
to
2e40691
Compare
Updated the missing bits from make verify. |
2e40691
to
c24eba8
Compare
Rebased. |
c24eba8
to
4cf8f8e
Compare
@@ -37,19 +37,19 @@ import ( | |||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" | |||
watchapi "k8s.io/apimachinery/pkg/watch" | |||
|
|||
deployapi "github.com/openshift/origin/pkg/apps/apis/apps" |
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.
appsapi
imageapi "github.com/openshift/origin/pkg/image/apis/image" | ||
oauthapi "github.com/openshift/origin/pkg/oauth/apis/oauth" | ||
projectapi "github.com/openshift/origin/pkg/project/apis/project" | ||
routeapi "github.com/openshift/origin/pkg/route/apis/route" | ||
templateapi "github.com/openshift/origin/pkg/template/apis/template" | ||
userapi "github.com/openshift/origin/pkg/user/apis/user" | ||
|
||
deployv1 "github.com/openshift/origin/pkg/apps/apis/apps/v1" |
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.
appsv1
@@ -15,8 +15,8 @@ import ( | |||
"github.com/openshift/origin/pkg/api/kubegraph" | |||
kubeedges "github.com/openshift/origin/pkg/api/kubegraph" | |||
kubenodes "github.com/openshift/origin/pkg/api/kubegraph/nodes" | |||
deploygraph "github.com/openshift/origin/pkg/deploy/graph" | |||
deploynodes "github.com/openshift/origin/pkg/deploy/graph/nodes" | |||
deploygraph "github.com/openshift/origin/pkg/apps/graph" |
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.
appsgraph
@@ -7,7 +7,7 @@ import ( | |||
osgraph "github.com/openshift/origin/pkg/api/graph" | |||
osgraphtest "github.com/openshift/origin/pkg/api/graph/test" | |||
"github.com/openshift/origin/pkg/api/kubegraph" | |||
deploygraph "github.com/openshift/origin/pkg/deploy/graph" | |||
deploygraph "github.com/openshift/origin/pkg/apps/graph" |
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.
appsgraph
deployapi "github.com/openshift/origin/pkg/deploy/apis/apps" | ||
_ "github.com/openshift/origin/pkg/deploy/apis/apps/install" | ||
deploygraph "github.com/openshift/origin/pkg/deploy/graph/nodes" | ||
deployapi "github.com/openshift/origin/pkg/apps/apis/apps" |
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.
same here
@@ -14,8 +14,8 @@ import ( | |||
|
|||
osgraph "github.com/openshift/origin/pkg/api/graph" | |||
kubegraph "github.com/openshift/origin/pkg/api/kubegraph/nodes" | |||
deployapi "github.com/openshift/origin/pkg/deploy/apis/apps" | |||
deploygraph "github.com/openshift/origin/pkg/deploy/graph/nodes" | |||
deployapi "github.com/openshift/origin/pkg/apps/apis/apps" |
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.
and here
@soltysh mind creating issue to rename the named imports ? s/deployapi/appsapi/ && friends still lgtm, don't want to block this |
I'll do a followup, it's much more work with the rename you're asking for and I wanted to have the basic part in, already. |
/retest |
/retest Please review the full test history for this PR and help us cut down flakes. |
Automatic merge from submit-queue |
@deads2k @mfojtik like promised
@tnozicka fyi