This is an automated email from the ASF dual-hosted git repository.
tsato pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git
from f104b228a Updated CHANGELOG.md
new 944146586 chore(cli): refactor kamel local cmds
new d7e68a717 chore(cli): further refactor kamel local cmds
new f204d1616 chore(cli): further refactor kamel local cmds
new eca1ef38e chore(cli): further refactor kamel local cmds
new a61394e19 chore(cli): further refactor kamel local cmds
new 70b488f91 chore(cli): further refactor kamel local cmds
new 57b4c5195 fix(cli): more user-friendly error messages for kamel local
subcommands
new e4ba473f1 chore(cli): refactor - package utils to local & source for
better encapsulation and cohesion
new 6f42ed56e fix(e2e): stabilise kamel local e2e tests
The 9 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
e2e/local/local_build_test.go | 2 +
e2e/local/local_run_test.go | 9 +-
e2e/namespace/install/cli/dev_mode_test.go | 2 +-
pkg/cmd/local.go | 18 +-
pkg/cmd/local/container.go | 348 +++++++++++++++++++++
pkg/cmd/{local_util.go => local/local.go} | 252 ++++++++-------
.../{local_util_test.go => local/local_test.go} | 8 +-
pkg/cmd/local/workdir.go | 244 +++++++++++++++
pkg/cmd/local_build.go | 209 +++++++------
pkg/cmd/local_inspect.go | 34 +-
pkg/cmd/local_run.go | 248 ++++++++-------
pkg/cmd/modeline.go | 5 +-
pkg/cmd/run.go | 12 +-
pkg/cmd/run_help.go | 9 +-
pkg/cmd/run_test.go | 5 +-
pkg/cmd/{util_content.go => source/content.go} | 24 +-
.../content_test.go} | 26 +-
pkg/cmd/{util_sources.go => source/source.go} | 78 ++---
pkg/cmd/source/util.go | 62 ++++
pkg/cmd/{ => source}/util_test.go | 18 +-
pkg/cmd/util.go | 45 ---
pkg/cmd/util_commands.go | 134 --------
pkg/cmd/util_containerization.go | 240 --------------
pkg/util/docker/docker.go | 35 +--
pkg/util/docker/docker_base.go | 4 +-
pkg/util/util.go | 312 +-----------------
26 files changed, 1203 insertions(+), 1180 deletions(-)
create mode 100644 pkg/cmd/local/container.go
rename pkg/cmd/{local_util.go => local/local.go} (63%)
rename pkg/cmd/{local_util_test.go => local/local_test.go} (93%)
create mode 100644 pkg/cmd/local/workdir.go
rename pkg/cmd/{util_content.go => source/content.go} (85%)
rename pkg/cmd/{util_content_test.go => source/content_test.go} (83%)
rename pkg/cmd/{util_sources.go => source/source.go} (77%)
create mode 100644 pkg/cmd/source/util.go
rename pkg/cmd/{ => source}/util_test.go (76%)
delete mode 100644 pkg/cmd/util_commands.go
delete mode 100644 pkg/cmd/util_containerization.go