-
Notifications
You must be signed in to change notification settings - Fork 261
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
Fold in knative.dev/client-pkg as a submodule #1953
Conversation
Skipping CI for Draft Pull Request. |
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.
@cardil: 1 warning.
In response to this:
Description
This PR merges code from the knative.dev/client-pkg, that is missing in this repo, onto the knative.dev/client/pkg. TBD a PR to deprecate the whole of the knative.dev/client-pkg.
Changes
- 🧹 This PR merges code from the
knative.dev/client-pkg
, that is missing in this repo, onto theknative.dev/client/pkg
- 🧹 Publicize the code in
lib/
dir ontopkg/
- 🧹 Remove the extra
kn
sub-package- 🧹 Makes
pkg/
as a Go submodule and introduces Go's workspace.Reference
Fixes #1941
Release Note
The [knative.dev/client-pkg](https://pkg.go.dev/knative.dev/client-pkg) is now deprecated in favor of the [knative.dev/client/pkg](https://pkg.go.dev/knative.dev/client/pkg) module.
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-sigs/prow repository.
/test all |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1953 +/- ##
==========================================
- Coverage 76.82% 75.78% -1.05%
==========================================
Files 207 228 +21
Lines 12892 13411 +519
==========================================
+ Hits 9904 10163 +259
- Misses 2187 2425 +238
- Partials 801 823 +22 ☔ View full report in Codecov by Sentry. |
/test all |
783a8f2
to
447dcdc
Compare
447dcdc
to
97a0388
Compare
/test all |
/test build-tests |
/test unit-tests |
/test all |
/test all |
a125854
to
a8b0389
Compare
Looks like both the github action and the prow tests run just for the main module, not for the |
Should we go we default implementation of unit tests parsing per go module? |
Great catch @dsimansk! Apart from the above, we need to fix the GitHub Action, as it is the one to publish coverage to Codecov: |
/approve Thanks a lot @cardil! |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cardil, dsimansk 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 |
/unhold |
Maybe I'll do the last one test, before merging - to try using the PKG package in another repo. |
/hold |
The knative-extensions/kn-plugin-event#366 looks to work with this structure without any hiccups. /hold cancel |
Description
This PR merges code from the knative.dev/client-pkg, that is missing in this repo, onto the knative.dev/client/pkg. TBD a PR to deprecate the whole of the knative.dev/client-pkg.
Changes
knative.dev/client-pkg
, that is missing in this repo, onto theknative.dev/client/pkg
lib/
dir ontopkg/
kn
sub-packagepkg/
as a Go submodule and introduces Go's workspace.Reference
Fixes #1941
Closes #1935
Closes knative/client-pkg#177
Requires knative/hack#386
Release Note