Skip to content
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

Moving kopia logging from util/logging to remove kopia from indirect dependency in velero plugins #277

Closed

Conversation

kaovilai
Copy link
Member

@kaovilai kaovilai commented Jul 11, 2023

Unblocks OADP-1870

when running go mod why -m github.com/kopia/kopia in velero-plugins prior to this change you will see following

❯ go mod why -m github.com/kopia/kopia
github.com/konveyor/openshift-velero-plugin/velero-plugins
github.com/vmware-tanzu/velero/pkg/plugin/framework
github.com/vmware-tanzu/velero/pkg/util/logging
github.com/kopia/kopia/repo/logging

after

❯ go mod why -m github.com/kopia/kopia
(main module does not need module github.com/kopia/kopia)

Signed-off-by: Tiger Kaovilai [email protected]

Thank you for contributing to Velero!

Please add a summary of your change

Does your change fix a particular issue?

Fixes #(issue)

Please indicate you've done the following:

  • Accepted the DCO. Commits without the DCO will delay acceptance.
  • Created a changelog file or added /kind changelog-not-required as a comment on this pull request.
  • Updated the corresponding documentation in site/content/docs/main.

@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jul 11, 2023
@openshift-ci
Copy link

openshift-ci bot commented Jul 11, 2023

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@kaovilai kaovilai changed the title Moving kopia logging to remove kopia from indirect dependency in velero plugins Moving kopia logging from util/logging to remove kopia from indirect dependency in velero plugins Jul 11, 2023
@sseago
Copy link

sseago commented Jul 11, 2023

This looks like a good change. We should post upstream too, and we can remove this commit when we pull it in from upstream.

@kaovilai
Copy link
Member Author

Ok

@kaovilai
Copy link
Member Author

Upstream PR vmware-tanzu#6484

…ro plugins

when running `go mod why -m github.com/kopia/kopia` in velero-plugins prior to this change you will see following

```
❯ go mod why -m github.com/kopia/kopia
github.com/konveyor/openshift-velero-plugin/velero-plugins
github.com/vmware-tanzu/velero/pkg/plugin/framework
github.com/vmware-tanzu/velero/pkg/util/logging
github.com/kopia/kopia/repo/logging
```

after
```
❯ go mod why -m github.com/kopia/kopia
(main module does not need module github.com/kopia/kopia)
```

Signed-off-by: Tiger Kaovilai <[email protected]>
@kaovilai kaovilai force-pushed the unkopia-openshift-for-plugins branch from eef3a4d to 13d6412 Compare July 13, 2023 16:49
@kaovilai kaovilai marked this pull request as ready for review July 13, 2023 16:50
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jul 13, 2023
@openshift-ci
Copy link

openshift-ci bot commented Jul 13, 2023

@kaovilai: all tests passed!

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.

@kaovilai
Copy link
Member Author

/cc @shawn-hurley @sseago @shubham-pampattiwar carry this cp? I wonder if upstream change will be cp to release-1.11

@shubham-pampattiwar
Copy link
Member

maybe create a 1.11 PR and see ?

@sseago
Copy link

sseago commented Jul 13, 2023

Lets pull this in now and if/when it's pulled into a 1.11.z release, we can drop it in favor of what's in the release. It may well be that 1.11.1 comes out before the change is pulled into 1.11 branch, so upstream may not get it until 1.11.2.

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jul 13, 2023
@openshift-ci
Copy link

openshift-ci bot commented Jul 13, 2023

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: kaovilai, sseago

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

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

@kaovilai
Copy link
Member Author

closing due to vmware-tanzu#6484 merging. Will be cherrypicking from upstream.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants