rrafifnanda opened a new pull request, #6816:
URL: https://github.com/apache/camel-k/pull/6816

   Fixes #6806
   
   Removes the already deprecated `kamel` subcommands `delete`, `get`, and 
`kit`:
   
   - deletes `pkg/cmd/delete.go`, `get.go`, `kit*.go` and their 
command-specific unit tests
   - deregisters the commands in `pkg/cmd/root.go` + adds 
`TestDeprecatedCommandsAreNotRegistered`
   - removes the dedicated `kamel delete` E2E suite 
(`e2e/common/cli/delete_test.go`)
   - replaces cleanup-only `kamel delete` calls with `kubectl delete it` per 
maintainer feedback on 
https://github.com/apache/camel-k/issues/6806#issuecomment-5680947441 (covers 
`e2e/advanced/debug_test.go`, `e2e/common/traits/master_test.go`, 
`route_test.go`, `e2e/kafka/*`, `e2e/knative/*`, and `DeleteIntegrations` in 
`e2e/support/test_support.go`)
   - replaces the `get help` case with `run -h` and changes the 
`running-cli.adoc` example to `kubectl get integrations`
   
   Verification:
   - `go test ./pkg/cmd/... -count=1` passes
   - `go vet -tags integration` on touched E2E packages passes
   - built `./cmd/kamel` and confirmed `delete`/`get`/`kit` report unknown 
command and no longer appear in help
   
   _Claude Code on behalf of @rrafifnanda_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to