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

🗑️ Migrate to wavesoftware/commandline package #205

Merged

Conversation

cardil
Copy link
Contributor

@cardil cardil commented Jul 27, 2022

Changes

/kind cleanup

Fixes #181

@knative-prow knative-prow bot added kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Jul 27, 2022
@codecov
Copy link

codecov bot commented Jul 27, 2022

Codecov Report

Merging #205 (9a92207) into main (2652e4f) will increase coverage by 0.46%.
The diff coverage is 92.85%.

@@            Coverage Diff             @@
##             main     #205      +/-   ##
==========================================
+ Coverage   67.50%   67.97%   +0.46%     
==========================================
  Files          36       35       -1     
  Lines        1151     1121      -30     
==========================================
- Hits          777      762      -15     
+ Misses        313      299      -14     
+ Partials       61       60       -1     
Impacted Files Coverage Δ
pkg/cli/target.go 48.57% <25.00%> (ø)
internal/ics/app.go 90.00% <90.00%> (ø)
cmd/kn-event-sender/main.go 100.00% <100.00%> (+30.76%) ⬆️
cmd/kn-event/main.go 100.00% <100.00%> (ø)
internal/cli/cmd/build.go 56.00% <100.00%> (-3.26%) ⬇️
internal/cli/cmd/root.go 100.00% <100.00%> (+17.94%) ⬆️
internal/cli/cmd/send.go 77.41% <100.00%> (ø)
internal/cli/cmd/version.go 78.78% <100.00%> (ø)
pkg/cli/create.go 80.86% <100.00%> (ø)
pkg/cli/ics/send.go 55.00% <100.00%> (+2.36%) ⬆️
... and 5 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@knative-prow-robot knative-prow-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 17, 2022
…ndline-pkg

Conflicts fixed:

 * go.mod
 * go.sum
@knative-prow-robot knative-prow-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 26, 2022
@cardil
Copy link
Contributor Author

cardil commented Aug 26, 2022

/test integration-tests_kn-plugin-event_main

Flake?

@cardil
Copy link
Contributor Author

cardil commented Sep 7, 2022

/assign @dsimansk
/assign @rhuss
/cc @vyasgun

@dsimansk
Copy link
Contributor

dsimansk commented Sep 8, 2022

IMO looks good, I wonder if that common code could live in knative/client-pkg maybe. We'd like to revive that from the dusts. Otherwise it looks good, feel free to unhold.

/approve
/lgtm
/hold

@knative-prow knative-prow bot added do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. lgtm Indicates that a PR is ready to be merged. labels Sep 8, 2022
@knative-prow
Copy link

knative-prow bot commented Sep 8, 2022

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@cardil
Copy link
Contributor Author

cardil commented Sep 8, 2022

I wonder if that common code could live in knative/client-pkg maybe

I'm using that commandline package in knative/test-infra tools now. See knative/test-infra#3513 and knative/test-infra#2995. I think it's not a good idea to import knative/client-pkg from knative/test-infra.

@cardil
Copy link
Contributor Author

cardil commented Sep 8, 2022

/unhold

@knative-prow knative-prow bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Sep 8, 2022
@knative-prow knative-prow bot merged commit ec11a00 into knative-extensions:main Sep 8, 2022
@cardil cardil deleted the feature/reuse-commandline-pkg branch September 8, 2022 15:34
@cardil
Copy link
Contributor Author

cardil commented Sep 8, 2022

I'm also using that commandline package in knative/hack#222

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. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. lgtm Indicates that a PR is ready to be merged. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move the retcode package to an external dependency
4 participants