├── .github ├── dependabot.yaml └── workflows │ ├── e2e-test.yml │ ├── release.yml │ ├── test-win.yaml │ └── test.yaml ├── .gitignore ├── .goreleaser.yml ├── CONTRIBUTING.md ├── LICENSE ├── README-zh.md ├── README.md ├── doc.go ├── docs └── proposal │ ├── add_support_for_cache.md │ ├── kcl-checksum-integration-code-design.md │ ├── kcl-checksum-integration-design.md │ ├── kcl-checksum-verification-checker-module-design.md │ └── kcl-checksum-verification-proposal.md ├── go.mod ├── go.sum ├── kpm.go ├── makefile ├── pkg ├── 3rdparty │ ├── gover │ │ ├── gover.go │ │ ├── internal │ │ │ └── gover.go │ │ ├── mod.go │ │ └── toolchain.go │ ├── mvs │ │ ├── errors.go │ │ ├── graph.go │ │ ├── mvs.go │ │ └── mvs_test.go │ └── par │ │ ├── queue.go │ │ └── work.go ├── api │ ├── deperated.go │ ├── deperated_test.go │ ├── kpm_env.go │ ├── kpm_env_test.go │ ├── kpm_pkg.go │ ├── kpm_pkg_test.go │ ├── kpm_run.go │ ├── kpm_run_test.go │ └── test_data │ │ ├── store_mod_and_lock │ │ ├── dep1_0.0.1 │ │ │ ├── kcl.mod │ │ │ └── kcl.mod.lock │ │ ├── expect.mod │ │ └── expect.mod.lock │ │ ├── test_abs_input │ │ ├── test_input_outside │ │ └── test_pkg_path │ │ │ └── test_input │ │ ├── test_get_entries │ │ ├── no_entries │ │ │ ├── kcl.mod │ │ │ ├── kcl.mod.lock │ │ │ └── main.k │ │ └── with_path_entries │ │ │ ├── kcl.mod │ │ │ ├── kcl.mod.lock │ │ │ └── sub │ │ │ └── sub.k │ │ ├── test_get_mod_deps │ │ └── kcl_pkg │ │ │ ├── kcl.mod │ │ │ ├── main.k │ │ │ └── sub │ │ │ ├── main.k │ │ │ └── sub1 │ │ │ ├── main.k │ │ │ └── main2.k │ │ ├── test_kpm_package │ │ ├── export_swagger │ │ │ ├── aaa │ │ │ │ ├── kcl.mod │ │ │ │ ├── kcl.mod.lock │ │ │ │ └── main.k │ │ │ └── bbb │ │ │ │ ├── kcl.mod │ │ │ │ ├── kcl.mod.lock │ │ │ │ └── main.k │ │ ├── get_schema_ty │ │ │ ├── aaa │ │ │ │ ├── kcl.mod │ │ │ │ ├── kcl.mod.lock │ │ │ │ └── main.k │ │ │ └── bbb │ │ │ │ ├── kcl.mod │ │ │ │ ├── kcl.mod.lock │ │ │ │ └── main.k │ │ ├── kcl_pkg │ │ │ ├── kcl.mod │ │ │ ├── kcl.mod.lock │ │ │ ├── main.k │ │ │ └── sub │ │ │ │ ├── main.k │ │ │ │ └── sub1 │ │ │ │ ├── main.k │ │ │ │ └── main2.k │ │ └── no_kcl_files │ │ │ ├── ci-test │ │ │ └── settings.yaml │ │ │ ├── kcl.mod │ │ │ ├── kcl.mod.lock │ │ │ └── main.k │ │ ├── test_run_pkg_in_path │ │ ├── expected │ │ ├── expected.json │ │ ├── test_kcl │ │ │ ├── kcl.mod │ │ │ ├── kcl.mod.lock │ │ │ └── main.k │ │ ├── test_run_no_sum_check │ │ │ ├── dep_git_commit │ │ │ │ ├── expected │ │ │ │ ├── kcl.mod │ │ │ │ └── main.k │ │ │ ├── dep_git_tag │ │ │ │ ├── expected │ │ │ │ ├── kcl.mod │ │ │ │ └── main.k │ │ │ └── dep_oci │ │ │ │ ├── expected │ │ │ │ ├── kcl.mod │ │ │ │ └── main.k │ │ └── test_run_with_no_log │ │ │ ├── kcl.mod │ │ │ └── main.k │ │ ├── test_run_tar_in_path │ │ ├── expected │ │ ├── expected.json │ │ └── test.tar │ │ ├── test_run_with_nosumcheck │ │ ├── kcl.mod │ │ └── main.k │ │ ├── test_settings │ │ ├── kcl.yaml │ │ └── test.k │ │ └── test_work_dir │ │ ├── base │ │ └── base.k │ │ └── dev │ │ ├── kcl.mod │ │ ├── kcl.mod.lock │ │ └── main.k ├── checker │ ├── checker.go │ └── checker_test.go ├── client │ ├── add.go │ ├── add_test.go │ ├── check.go │ ├── check_test.go │ ├── client.go │ ├── client_test.go │ ├── deperated.go │ ├── deperated_test.go │ ├── graph.go │ ├── graph_test.go │ ├── init.go │ ├── init_test.go │ ├── issues_test.go │ ├── login.go │ ├── login_test.go │ ├── logout.go │ ├── metadata.go │ ├── metadata_test.go │ ├── package.go │ ├── package_test.go │ ├── pull.go │ ├── pull_test.go │ ├── push.go │ ├── push_test.go │ ├── run.go │ ├── run_test.go │ ├── test.go │ ├── test_data │ │ ├── add_with_default_dep │ │ │ ├── main.k │ │ │ ├── no_tag │ │ │ │ ├── kcl.mod.bak │ │ │ │ ├── kcl.mod.expect │ │ │ │ ├── kcl.mod.lock.bak │ │ │ │ └── kcl.mod.lock.expect │ │ │ └── with_tag │ │ │ │ ├── kcl.mod.bak │ │ │ │ ├── kcl.mod.expect │ │ │ │ ├── kcl.mod.lock.bak │ │ │ │ └── kcl.mod.lock.expect │ │ ├── add_with_git_commit │ │ │ ├── test_pkg │ │ │ │ ├── kcl.mod.bak │ │ │ │ ├── kcl.mod.expect │ │ │ │ ├── kcl.mod.lock.bak │ │ │ │ ├── kcl.mod.lock.expect │ │ │ │ └── main.k │ │ │ └── test_pkg_win │ │ │ │ ├── kcl.mod.bak │ │ │ │ ├── kcl.mod.expect │ │ │ │ ├── kcl.mod.lock.bak │ │ │ │ ├── kcl.mod.lock.expect │ │ │ │ └── main.k │ │ ├── add_with_local_path │ │ │ ├── expect │ │ │ │ ├── dep_pkg │ │ │ │ │ ├── kcl.mod │ │ │ │ │ ├── kcl.mod.lock │ │ │ │ │ └── main.k │ │ │ │ └── pkg │ │ │ │ │ ├── kcl.mod │ │ │ │ │ ├── kcl.mod.lock │ │ │ │ │ └── main.k │ │ │ └── init │ │ │ │ ├── dep_pkg │ │ │ │ ├── kcl.mod │ │ │ │ ├── kcl.mod.lock │ │ │ │ └── main.k │ │ │ │ └── pkg │ │ │ │ ├── kcl.mod │ │ │ │ ├── kcl.mod.lock │ │ │ │ └── main.k │ │ ├── add_with_mod_spec │ │ │ ├── empty_version │ │ │ │ ├── kcl.mod.bk │ │ │ │ ├── kcl.mod.expect │ │ │ │ ├── kcl.mod.lock.bk │ │ │ │ └── kcl.mod.lock.expect │ │ │ ├── git │ │ │ │ ├── kcl.mod.bk │ │ │ │ ├── kcl.mod.expect │ │ │ │ ├── kcl.mod.lock.bk │ │ │ │ ├── kcl.mod.lock.expect │ │ │ │ └── main.k │ │ │ ├── git_mod_0 │ │ │ │ ├── kcl.mod.bk │ │ │ │ ├── kcl.mod.expect │ │ │ │ ├── kcl.mod.lock.bk │ │ │ │ ├── kcl.mod.lock.expect │ │ │ │ └── main.k │ │ │ ├── git_mod_1 │ │ │ │ ├── kcl.mod.bk │ │ │ │ ├── kcl.mod.expect │ │ │ │ ├── kcl.mod.lock.bk │ │ │ │ ├── kcl.mod.lock.expect │ │ │ │ └── main.k │ │ │ ├── git_mod_2 │ │ │ │ ├── kcl.mod.bk │ │ │ │ ├── kcl.mod.expect │ │ │ │ ├── kcl.mod.lock.bk │ │ │ │ ├── kcl.mod.lock.expect │ │ │ │ └── main.k │ │ │ ├── git_mod_3 │ │ │ │ ├── kcl.mod.bk │ │ │ │ ├── kcl.mod.expect │ │ │ │ ├── kcl.mod.lock.bk │ │ │ │ ├── kcl.mod.lock.expect │ │ │ │ └── main.k │ │ │ ├── local │ │ │ │ ├── dep │ │ │ │ │ ├── kcl.mod │ │ │ │ │ ├── kcl.mod.lock │ │ │ │ │ ├── main.k │ │ │ │ │ └── sub │ │ │ │ │ │ ├── kcl.mod │ │ │ │ │ │ ├── kcl.mod.lock │ │ │ │ │ │ └── main.k │ │ │ │ └── pkg │ │ │ │ │ ├── kcl.mod.bk │ │ │ │ │ ├── kcl.mod.expect │ │ │ │ │ ├── kcl.mod.lock.bk │ │ │ │ │ ├── kcl.mod.lock.expect │ │ │ │ │ └── main.k │ │ │ ├── no_git_ref │ │ │ │ ├── kcl.mod.bk │ │ │ │ ├── kcl.mod.expect │ │ │ │ ├── kcl.mod.lock.bk │ │ │ │ ├── kcl.mod.lock.expect │ │ │ │ └── main.k │ │ │ ├── no_oci_ref │ │ │ │ ├── kcl.mod.bk │ │ │ │ ├── kcl.mod.expect │ │ │ │ ├── kcl.mod.lock.bk │ │ │ │ └── kcl.mod.lock.expect │ │ │ ├── no_spec │ │ │ │ ├── kcl.mod.bk │ │ │ │ ├── kcl.mod.expect │ │ │ │ ├── kcl.mod.lock.bk │ │ │ │ └── kcl.mod.lock.expect │ │ │ ├── oci │ │ │ │ ├── kcl.mod.bk │ │ │ │ ├── kcl.mod.expect │ │ │ │ ├── kcl.mod.lock.bk │ │ │ │ ├── kcl.mod.lock.expect │ │ │ │ └── main.k │ │ │ ├── rename │ │ │ │ ├── kcl.mod.bk │ │ │ │ ├── kcl.mod.expect │ │ │ │ ├── kcl.mod.lock.bk │ │ │ │ ├── kcl.mod.lock.expect │ │ │ │ └── main.k │ │ │ ├── rename_no_spec │ │ │ │ ├── kcl.mod.bk │ │ │ │ ├── kcl.mod.expect │ │ │ │ ├── kcl.mod.lock.bk │ │ │ │ ├── kcl.mod.lock.expect │ │ │ │ └── main.k │ │ │ ├── rename_spec_only │ │ │ │ ├── kcl.mod.bk │ │ │ │ ├── kcl.mod.expect │ │ │ │ ├── kcl.mod.lock.bk │ │ │ │ ├── kcl.mod.lock.expect │ │ │ │ └── main.k │ │ │ ├── spec_only │ │ │ │ ├── kcl.mod.bk │ │ │ │ ├── kcl.mod.expect │ │ │ │ ├── kcl.mod.lock.bk │ │ │ │ └── kcl.mod.lock.expect │ │ │ └── spec_only_no_ver │ │ │ │ ├── kcl.mod.bk │ │ │ │ ├── kcl.mod.expect │ │ │ │ ├── kcl.mod.lock.bk │ │ │ │ └── kcl.mod.lock.expect │ │ ├── add_with_mvs │ │ │ ├── h12 │ │ │ │ ├── kcl.mod │ │ │ │ ├── kcl.mod.lock │ │ │ │ └── main.k │ │ │ ├── h14 │ │ │ │ ├── kcl.mod │ │ │ │ ├── kcl.mod.lock │ │ │ │ └── main.k │ │ │ ├── pkg_with_mvs │ │ │ │ ├── kcl.mod.bk │ │ │ │ ├── kcl.mod.expect │ │ │ │ ├── kcl.mod.lock.bk │ │ │ │ ├── kcl.mod.lock.expect │ │ │ │ └── main.k │ │ │ └── pkg_without_mvs │ │ │ │ ├── kcl.mod.bk │ │ │ │ ├── kcl.mod.expect │ │ │ │ ├── kcl.mod.lock.bk │ │ │ │ ├── kcl.mod.lock.expect │ │ │ │ └── main.k │ │ ├── diffsettings │ │ │ ├── kcl.mod │ │ │ ├── kcl.mod.lock │ │ │ └── main.k │ │ ├── expected │ │ │ ├── kcl.mod │ │ │ ├── kcl.mod.lock │ │ │ ├── kcl.mod.reverse.lock │ │ │ └── kcl.reverse.mod │ │ ├── issues │ │ │ └── github.com │ │ │ │ └── kcl-lang │ │ │ │ ├── kcl │ │ │ │ └── issues │ │ │ │ │ ├── 1760 │ │ │ │ │ ├── README.md │ │ │ │ │ ├── a │ │ │ │ │ │ ├── kcl.mod │ │ │ │ │ │ ├── kcl.mod.lock │ │ │ │ │ │ └── main.k │ │ │ │ │ └── b │ │ │ │ │ │ ├── kcl.mod │ │ │ │ │ │ ├── kcl.mod.lock │ │ │ │ │ │ └── main.k │ │ │ │ │ ├── 1768 │ │ │ │ │ ├── README.md │ │ │ │ │ ├── depends_on_pushed_mod │ │ │ │ │ │ ├── kcl.mod.bk │ │ │ │ │ │ ├── kcl.mod.expect │ │ │ │ │ │ ├── kcl.mod.lock.bk │ │ │ │ │ │ ├── kcl.mod.lock.expect │ │ │ │ │ │ └── main.k │ │ │ │ │ └── pushed_mod │ │ │ │ │ │ ├── kcl.mod │ │ │ │ │ │ ├── kcl.mod.lock │ │ │ │ │ │ └── main.k │ │ │ │ │ └── 1788 │ │ │ │ │ ├── README.md │ │ │ │ │ └── mod │ │ │ │ │ └── main.k │ │ │ │ └── kpm │ │ │ │ └── issues │ │ │ │ ├── 226 │ │ │ │ ├── add_with_commit │ │ │ │ │ ├── kcl.mod.bk │ │ │ │ │ ├── kcl.mod.expect │ │ │ │ │ ├── kcl.mod.lock.bk │ │ │ │ │ ├── kcl.mod.lock.expect │ │ │ │ │ └── main.k │ │ │ │ ├── update_check_version │ │ │ │ │ ├── kcl.mod.bk │ │ │ │ │ ├── kcl.mod.expect │ │ │ │ │ ├── kcl.mod.lock.bk │ │ │ │ │ ├── kcl.mod.lock.expect │ │ │ │ │ └── main.k │ │ │ │ └── update_check_version_invalid │ │ │ │ │ ├── kcl.mod.bk │ │ │ │ │ ├── kcl.mod.expect │ │ │ │ │ ├── kcl.mod.lock.bk │ │ │ │ │ ├── kcl.mod.lock.expect │ │ │ │ │ └── main.k │ │ │ │ ├── 550 │ │ │ │ ├── README.md │ │ │ │ └── pkg │ │ │ │ │ ├── kcl.mod │ │ │ │ │ ├── kcl.mod.lock │ │ │ │ │ └── main.k │ │ │ │ ├── 587 │ │ │ │ ├── kcl.mod │ │ │ │ ├── kcl.mod.lock │ │ │ │ └── main.k │ │ │ │ └── 605 │ │ │ │ ├── README.md │ │ │ │ └── pkg │ │ │ │ ├── kcl.mod │ │ │ │ ├── kcl.mod.lock │ │ │ │ └── main.k │ │ ├── resolve_dep_with_kclmod │ │ │ ├── kcl.mod │ │ │ └── main.k │ │ ├── resolve_deps │ │ │ ├── kpm_home │ │ │ │ ├── kcl1_0.0.1 │ │ │ │ │ ├── kcl.mod │ │ │ │ │ ├── kcl.mod.lock │ │ │ │ │ └── main.k │ │ │ │ └── kcl2_0.0.1 │ │ │ │ │ ├── kcl.mod │ │ │ │ │ ├── kcl.mod.lock │ │ │ │ │ └── main.k │ │ │ └── my_kcl_compile │ │ │ │ ├── kcl.mod.lock │ │ │ │ └── main.k │ │ ├── resolve_metadata │ │ │ ├── with_package │ │ │ │ ├── kcl.mod │ │ │ │ └── kcl.mod.lock │ │ │ └── without_package │ │ │ │ ├── kcl.mod │ │ │ │ └── kcl.mod.lock │ │ ├── run_with_default_dep │ │ │ ├── kcl.mod.bak │ │ │ ├── kcl.mod.expect │ │ │ ├── kcl.mod.lock.bak │ │ │ ├── kcl.mod.lock.expect │ │ │ └── main.k │ │ ├── tar_kcl_pkg │ │ │ ├── kcl.mod │ │ │ └── kcl.mod.lock │ │ ├── test_add_diff_version │ │ │ ├── no_sum_check │ │ │ │ ├── kcl.mod.bak │ │ │ │ ├── kcl.mod.expect │ │ │ │ └── main.k │ │ │ └── with_sum_check │ │ │ │ ├── kcl.mod.bak │ │ │ │ ├── kcl.mod.expect │ │ │ │ ├── kcl.mod.lock.bak │ │ │ │ ├── kcl.mod.lock.expect │ │ │ │ └── main.k │ │ ├── test_add_local_path │ │ │ ├── dep │ │ │ │ ├── kcl.mod │ │ │ │ ├── kcl.mod.lock │ │ │ │ └── main.k │ │ │ ├── kcl.mod.bak │ │ │ ├── kcl.mod.lock.bak │ │ │ └── main.k │ │ ├── test_add_no_sum_check │ │ │ ├── kcl.mod.bak │ │ │ └── main.k │ │ ├── test_cyclic_dependency │ │ │ ├── aaa │ │ │ │ ├── kcl.mod │ │ │ │ └── kcl.mod.lock │ │ │ └── bbb │ │ │ │ ├── kcl.mod │ │ │ │ └── kcl.mod.lock │ │ ├── test_data_add_deps │ │ │ ├── kcl.mod │ │ │ ├── kcl.mod.lock │ │ │ └── main.k │ │ ├── test_dep_order │ │ │ ├── expect.mod │ │ │ ├── kcl.mod │ │ │ ├── kcl.mod.lock │ │ │ └── main.k │ │ ├── test_dependency_graph │ │ │ ├── with_package │ │ │ │ └── kcl.mod │ │ │ └── without_package │ │ │ │ └── kcl.mod │ │ ├── test_graph │ │ │ ├── dep │ │ │ │ ├── kcl.mod │ │ │ │ ├── kcl.mod.lock │ │ │ │ └── main.k │ │ │ └── pkg │ │ │ │ ├── kcl.mod │ │ │ │ ├── kcl.mod.lock │ │ │ │ └── main.k │ │ ├── test_init │ │ │ ├── init_0 │ │ │ │ └── .gitkeep │ │ │ ├── init_1 │ │ │ │ └── .gitkeep │ │ │ ├── init_2 │ │ │ │ └── .gitkeep │ │ │ ├── init_3 │ │ │ │ └── .gitkeep │ │ │ ├── init_4 │ │ │ │ └── .gitkeep │ │ │ └── init_5 │ │ │ │ ├── kcl.mod │ │ │ │ ├── kcl.mod.lock │ │ │ │ └── main.k │ │ ├── test_init_empty_mod │ │ │ ├── kcl.mod │ │ │ ├── kcl.mod.lock │ │ │ └── main.k │ │ ├── test_metadata_offline │ │ │ ├── beautiful.kcl.mod │ │ │ ├── kcl.mod.lock │ │ │ ├── main.k │ │ │ └── ugly.kcl.mod │ │ ├── test_mod_check │ │ │ ├── name_failed │ │ │ │ ├── kcl.mod │ │ │ │ ├── kcl.mod.lock │ │ │ │ └── main.k │ │ │ ├── pass │ │ │ │ ├── kcl.mod │ │ │ │ ├── kcl.mod.lock │ │ │ │ └── main.k │ │ │ ├── sum │ │ │ │ ├── kcl.mod │ │ │ │ ├── kcl.mod.lock │ │ │ │ └── main.k │ │ │ └── version_failed │ │ │ │ ├── kcl.mod │ │ │ │ ├── kcl.mod.lock │ │ │ │ └── main.k │ │ ├── test_mod_file_package │ │ │ ├── test_pkg │ │ │ │ ├── expect.mod │ │ │ │ ├── expect.mod.lock │ │ │ │ ├── kcl.mod │ │ │ │ └── kcl.mod.lock │ │ │ └── test_pkg_win │ │ │ │ ├── expect.mod │ │ │ │ ├── expect.mod.lock │ │ │ │ ├── kcl.mod │ │ │ │ └── kcl.mod.lock │ │ ├── test_new_storage │ │ │ ├── mod │ │ │ │ ├── kcl.mod │ │ │ │ ├── kcl.mod.lock │ │ │ │ └── main.k │ │ │ ├── mod_0 │ │ │ │ ├── kcl.mod │ │ │ │ ├── kcl.mod.lock │ │ │ │ └── main.k │ │ │ ├── mod_1 │ │ │ │ ├── kcl.mod │ │ │ │ ├── kcl.mod.lock │ │ │ │ └── main.k │ │ │ ├── mod_2 │ │ │ │ ├── kcl.mod │ │ │ │ ├── kcl.mod.lock │ │ │ │ └── main.k │ │ │ ├── mod_3 │ │ │ │ ├── kcl.mod │ │ │ │ ├── kcl.mod.lock │ │ │ │ └── main.k │ │ │ ├── mod_4 │ │ │ │ ├── kcl.mod │ │ │ │ ├── kcl.mod.lock │ │ │ │ └── main.k │ │ │ ├── mod_5 │ │ │ │ ├── kcl.mod │ │ │ │ ├── kcl.mod.lock │ │ │ │ └── main.k │ │ │ └── mod_6 │ │ │ │ ├── kcl.mod │ │ │ │ ├── kcl.mod.lock │ │ │ │ └── main.k │ │ ├── test_no_download_with_metadata_offline │ │ │ ├── kcl.mod │ │ │ ├── kcl.mod.lock │ │ │ └── main.k │ │ ├── test_oci_downloader │ │ │ ├── add_dep │ │ │ │ └── pkg │ │ │ │ │ ├── except │ │ │ │ │ ├── kcl.mod │ │ │ │ │ ├── kcl.mod.lock │ │ │ │ │ └── main.k │ │ │ └── run_pkg │ │ │ │ └── pkg │ │ │ │ ├── kcl.mod │ │ │ │ ├── kcl.mod.lock │ │ │ │ └── main.k │ │ ├── test_parse_kcl_mod_file │ │ │ └── kcl.mod │ │ ├── test_pkg_with_vendor │ │ │ └── kcl2 │ │ │ │ ├── kcl.mod │ │ │ │ ├── kcl.mod.lock │ │ │ │ └── main.k │ │ ├── test_pull │ │ │ └── .gitkeep │ │ ├── test_pull_with_modspec │ │ │ └── .gitkeep │ │ ├── test_pull_with_only_modspec │ │ │ └── .gitkeep │ │ ├── test_push │ │ │ ├── push_0 │ │ │ │ ├── kcl.mod │ │ │ │ ├── kcl.mod.lock │ │ │ │ └── main.k │ │ │ └── test_pushed_mod │ │ │ │ ├── kcl.mod │ │ │ │ ├── kcl.mod.lock │ │ │ │ └── main.k │ │ ├── test_push_plain_http │ │ │ └── helloworld_0.0.1.tar │ │ ├── test_run_git │ │ │ └── expect.yaml │ │ ├── test_run_git_package │ │ │ ├── kcl.mod │ │ │ └── main.k │ │ ├── test_run_git_with_local_dep │ │ │ ├── expect1.yaml │ │ │ └── expect2.yaml │ │ ├── test_run_hyphen_entries │ │ │ ├── kcl.mod │ │ │ ├── kcl.mod.lock │ │ │ ├── main.k │ │ │ └── stdout │ │ ├── test_run_in_vendor │ │ │ ├── dep │ │ │ │ ├── kcl.mod │ │ │ │ ├── kcl.mod.lock │ │ │ │ └── main.k │ │ │ └── pkg │ │ │ │ ├── kcl.mod │ │ │ │ ├── kcl.mod.lock │ │ │ │ ├── main.k │ │ │ │ └── vendor │ │ │ │ └── helloworld_0.1.2 │ │ │ │ ├── kcl.mod │ │ │ │ ├── kcl.mod.lock │ │ │ │ └── main.k │ │ ├── test_run_no_sum_check │ │ │ ├── kcl.mod │ │ │ └── main.k │ │ ├── test_run_oci_with_settings │ │ │ └── kcl.yaml │ │ ├── test_run_options │ │ │ ├── no_args │ │ │ │ ├── run_0 │ │ │ │ │ ├── kcl.mod │ │ │ │ │ ├── kcl.mod.lock │ │ │ │ │ └── main.k │ │ │ │ ├── run_1 │ │ │ │ │ ├── kcl.mod │ │ │ │ │ ├── kcl.mod.lock │ │ │ │ │ ├── main.k │ │ │ │ │ └── sub │ │ │ │ │ │ └── sub.k │ │ │ │ ├── run_2 │ │ │ │ │ ├── kcl.mod │ │ │ │ │ ├── kcl.mod.lock │ │ │ │ │ ├── kcl.yaml │ │ │ │ │ ├── main.k │ │ │ │ │ └── sub │ │ │ │ │ │ └── sub.k │ │ │ │ ├── run_3 │ │ │ │ │ ├── kcl.mod │ │ │ │ │ ├── kcl.mod.lock │ │ │ │ │ ├── kcl.yaml │ │ │ │ │ ├── main.k │ │ │ │ │ ├── modsub │ │ │ │ │ │ └── sub.k │ │ │ │ │ └── yamlsub │ │ │ │ │ │ └── sub.k │ │ │ │ ├── run_4 │ │ │ │ │ ├── kcl.mod │ │ │ │ │ ├── kcl.mod.lock │ │ │ │ │ ├── main.k │ │ │ │ │ └── vendor │ │ │ │ │ │ └── run_5_0.0.1 │ │ │ │ │ │ ├── kcl.mod │ │ │ │ │ │ ├── kcl.mod.lock │ │ │ │ │ │ └── main.k │ │ │ │ ├── run_5 │ │ │ │ │ ├── kcl.yaml │ │ │ │ │ ├── kcl_6 │ │ │ │ │ │ ├── kcl.mod │ │ │ │ │ │ ├── kcl.mod.lock │ │ │ │ │ │ ├── main.k │ │ │ │ │ │ └── sub │ │ │ │ │ │ │ └── main.k │ │ │ │ │ └── kcl_7 │ │ │ │ │ │ ├── kcl.mod │ │ │ │ │ │ ├── kcl.mod.lock │ │ │ │ │ │ ├── main.k │ │ │ │ │ │ └── sub_7 │ │ │ │ │ │ └── main.k │ │ │ │ ├── run_6 │ │ │ │ │ ├── main │ │ │ │ │ │ ├── kcl.mod │ │ │ │ │ │ ├── kcl.mod.lock │ │ │ │ │ │ └── main.k │ │ │ │ │ └── sub │ │ │ │ │ │ └── sub.k │ │ │ │ ├── run_7 │ │ │ │ │ ├── kcl.mod │ │ │ │ │ ├── kcl.mod.lock │ │ │ │ │ └── main.k │ │ │ │ └── run_8 │ │ │ │ │ ├── kcl.mod │ │ │ │ │ ├── kcl.mod.lock │ │ │ │ │ ├── main.k │ │ │ │ │ └── sub │ │ │ │ │ └── main.k │ │ │ ├── remote │ │ │ │ ├── expect_1.yaml │ │ │ │ ├── expect_2.yaml │ │ │ │ └── expect_3.yaml │ │ │ └── with_args │ │ │ │ ├── run_0 │ │ │ │ └── main.k │ │ │ │ ├── run_1 │ │ │ │ ├── kcl.mod │ │ │ │ ├── kcl.mod.lock │ │ │ │ └── main.k │ │ │ │ ├── run_10 │ │ │ │ ├── kcl.mod │ │ │ │ ├── kcl.mod.lock │ │ │ │ ├── main.k │ │ │ │ ├── sub │ │ │ │ │ ├── kcl.yaml │ │ │ │ │ └── sub.k │ │ │ │ └── sub1 │ │ │ │ │ └── sub.k │ │ │ │ ├── run_11 │ │ │ │ ├── kcl.mod │ │ │ │ ├── kcl.mod.lock │ │ │ │ ├── main.k │ │ │ │ ├── sub │ │ │ │ │ ├── kcl.yaml │ │ │ │ │ └── sub.k │ │ │ │ └── sub1 │ │ │ │ │ └── sub.k │ │ │ │ ├── run_12 │ │ │ │ ├── sub1 │ │ │ │ │ └── main.k │ │ │ │ └── sub2 │ │ │ │ │ └── main.k │ │ │ │ ├── run_13 │ │ │ │ └── temp │ │ │ │ ├── run_14 │ │ │ │ ├── main.k │ │ │ │ ├── main1.k │ │ │ │ ├── sub │ │ │ │ │ ├── sub.k │ │ │ │ │ └── sub1 │ │ │ │ │ │ └── sub.k │ │ │ │ └── temp │ │ │ │ ├── run_2 │ │ │ │ ├── base.k │ │ │ │ └── main.k │ │ │ │ ├── run_3 │ │ │ │ ├── kcl.mod │ │ │ │ ├── kcl.mod.lock │ │ │ │ ├── main.k │ │ │ │ └── sub │ │ │ │ │ └── sub.k │ │ │ │ ├── run_4 │ │ │ │ ├── kcl.mod │ │ │ │ ├── kcl.mod.lock │ │ │ │ ├── kcl.yaml │ │ │ │ ├── main.k │ │ │ │ └── sub │ │ │ │ │ └── sub.k │ │ │ │ ├── run_5 │ │ │ │ └── main.k │ │ │ │ ├── run_6 │ │ │ │ ├── kcl.mod │ │ │ │ ├── kcl.mod.lock │ │ │ │ └── main.k │ │ │ │ ├── run_7 │ │ │ │ ├── base.k │ │ │ │ └── main.k │ │ │ │ ├── run_8 │ │ │ │ ├── kcl.mod │ │ │ │ ├── kcl.mod.lock │ │ │ │ ├── main.k │ │ │ │ └── sub │ │ │ │ │ └── sub.k │ │ │ │ └── run_9 │ │ │ │ ├── kcl.mod │ │ │ │ ├── kcl.mod.lock │ │ │ │ ├── kcl.yaml │ │ │ │ ├── main.k │ │ │ │ └── sub │ │ │ │ └── sub.k │ │ ├── test_run_with_logger │ │ │ └── main.k │ │ ├── test_run_with_modspec_version │ │ │ ├── kcl.mod.bk │ │ │ ├── kcl.mod.expect │ │ │ ├── kcl.mod.lock.bk │ │ │ ├── kcl.mod.lock.expect │ │ │ └── main.k │ │ ├── test_update │ │ │ ├── test_update_kcl_mod │ │ │ │ ├── expected │ │ │ │ ├── kcl.mod │ │ │ │ ├── kcl.mod.lock │ │ │ │ └── main.k │ │ │ └── test_update_kcl_mod_lock │ │ │ │ ├── expected │ │ │ │ ├── kcl.mod │ │ │ │ ├── kcl.mod.lock │ │ │ │ └── main.k │ │ ├── test_update_no_sum_check │ │ │ ├── kcl.mod │ │ │ └── main.k │ │ ├── test_update_with_mvs │ │ │ ├── update_0 │ │ │ │ ├── dep_0 │ │ │ │ │ ├── kcl.mod │ │ │ │ │ ├── kcl.mod.lock │ │ │ │ │ └── main.k │ │ │ │ ├── dep_1 │ │ │ │ │ ├── kcl.mod │ │ │ │ │ ├── kcl.mod.lock │ │ │ │ │ └── main.k │ │ │ │ ├── dep_2 │ │ │ │ │ ├── kcl.mod │ │ │ │ │ ├── kcl.mod.lock │ │ │ │ │ └── main.k │ │ │ │ └── pkg │ │ │ │ │ ├── kcl.mod │ │ │ │ │ ├── kcl.mod.expect │ │ │ │ │ ├── kcl.mod.lock │ │ │ │ │ ├── kcl.mod.lock.expect │ │ │ │ │ └── main.k │ │ │ └── update_1 │ │ │ │ ├── dep_0 │ │ │ │ ├── kcl.mod │ │ │ │ ├── kcl.mod.lock │ │ │ │ └── main.k │ │ │ │ ├── dep_1 │ │ │ │ ├── kcl.mod │ │ │ │ ├── kcl.mod.lock │ │ │ │ └── main.k │ │ │ │ ├── dep_2 │ │ │ │ ├── kcl.mod │ │ │ │ ├── kcl.mod.lock │ │ │ │ └── main.k │ │ │ │ └── pkg │ │ │ │ ├── kcl.mod │ │ │ │ ├── kcl.mod.bk │ │ │ │ ├── kcl.mod.expect │ │ │ │ ├── kcl.mod.lock │ │ │ │ ├── kcl.mod.lock.bk │ │ │ │ ├── kcl.mod.lock.expect │ │ │ │ └── main.k │ │ ├── test_vendor_mvs │ │ │ ├── dep1 │ │ │ │ ├── kcl.mod │ │ │ │ ├── kcl.mod.lock │ │ │ │ └── main.k │ │ │ ├── dep2 │ │ │ │ ├── kcl.mod │ │ │ │ ├── kcl.mod.lock │ │ │ │ └── main.k │ │ │ └── pkg │ │ │ │ ├── kcl.mod │ │ │ │ ├── kcl.mod.lock │ │ │ │ └── main.k │ │ ├── test_virtual_pkg_visitor │ │ │ └── main.k │ │ └── update_with_default_dep │ │ │ ├── kcl.mod.bak │ │ │ ├── kcl.mod.expect │ │ │ ├── kcl.mod.lock.bak │ │ │ ├── kcl.mod.lock.expect │ │ │ └── main.k │ ├── update.go │ ├── update_test.go │ ├── vendor.go │ └── vendor_test.go ├── cmd │ ├── cmd_add.go │ ├── cmd_flags.go │ ├── cmd_graph.go │ ├── cmd_import.go │ ├── cmd_init.go │ ├── cmd_login.go │ ├── cmd_logout.go │ ├── cmd_metadata.go │ ├── cmd_pkg.go │ ├── cmd_pull.go │ ├── cmd_push.go │ ├── cmd_push_test.go │ ├── cmd_run.go │ ├── cmd_update.go │ └── test_data │ │ ├── test_failed_update_conf │ │ ├── kcl.mod │ │ ├── kcl.mod.lock │ │ └── main.k │ │ └── test_gen_oci_url │ │ ├── kcl.mod │ │ ├── kcl.mod.lock │ │ └── main.k ├── constants │ └── constants.go ├── downloader │ ├── credential.go │ ├── downloader.go │ ├── downloader_test.go │ ├── source.go │ ├── source_test.go │ ├── test_data │ │ └── test_cache │ │ │ └── helloworld_0.1.3.tar │ ├── toml.go │ └── utils.go ├── env │ ├── env.go │ └── env_test.go ├── errors │ └── errors.go ├── features │ └── features.go ├── git │ ├── getter.go │ ├── git.go │ └── git_test.go ├── mock │ ├── oci_env_mock.go │ ├── test_data │ │ ├── kcl.mod │ │ ├── kcl.mod.lock │ │ └── main.k │ └── test_script │ │ ├── cleanup_test_environment.sh │ │ └── push_pkg.sh ├── mvs │ ├── mvs.go │ ├── mvs_test.go │ └── test_data │ │ ├── test_with_external_deps │ │ └── kcl.mod │ │ └── test_with_internal_deps │ │ ├── aaa │ │ └── kcl.mod │ │ ├── bbb │ │ └── kcl.mod │ │ └── ccc │ │ └── kcl.mod ├── oci │ ├── oci.go │ └── oci_test.go ├── opt │ ├── opt.go │ └── opt_test.go ├── package │ ├── deprecated.go │ ├── modfile.go │ ├── modfile_test.go │ ├── package.go │ ├── package_test.go │ ├── test_data │ │ ├── expected │ │ │ ├── kcl.mod │ │ │ ├── kcl.mod.lock │ │ │ ├── kcl.mod.reverse.lock │ │ │ └── kcl.reverse.mod │ │ ├── load_from_lock │ │ │ ├── kcl.mod │ │ │ ├── kcl.mod.lock │ │ │ └── main.k │ │ ├── load_kcl_tar │ │ │ └── kcl1-v0.0.3.tar │ │ ├── load_lock_file │ │ │ └── kcl.mod.lock │ │ ├── load_mod_file │ │ │ └── kcl.mod │ │ ├── load_without_settings │ │ │ ├── kcl.mod │ │ │ ├── kcl.mod.lock │ │ │ └── main.k │ │ ├── store_mod_file │ │ │ ├── expected.toml │ │ │ └── kcl.mod │ │ ├── test_check │ │ │ └── test_full_name │ │ │ │ └── test.txt │ │ ├── test_data_modfile │ │ │ └── kcl.mod │ │ ├── test_data_toml │ │ │ ├── expected.toml │ │ │ └── expected_lock.toml │ │ ├── test_init_empty_mod │ │ │ └── kcl.mod │ │ ├── test_mod_with_desc │ │ │ ├── kcl.mod │ │ │ ├── kcl.mod.lock │ │ │ └── main.k │ │ ├── test_oci_url │ │ │ ├── marshal_0 │ │ │ │ └── kcl_mod_bk │ │ │ │ │ └── kcl.mod │ │ │ ├── marshal_1 │ │ │ │ ├── expect.mod │ │ │ │ └── kcl.mod │ │ │ ├── marshal_2 │ │ │ │ ├── expect.mod │ │ │ │ └── kcl.mod │ │ │ ├── marshal_3 │ │ │ │ ├── expect.mod │ │ │ │ └── kcl.mod │ │ │ ├── unmarshal_0 │ │ │ │ └── kcl.mod │ │ │ └── unmarshal_1 │ │ │ │ └── kcl.mod │ │ ├── test_profile │ │ │ └── kcl.mod │ │ └── test_rename_pkg │ │ │ ├── kcl.mod │ │ │ └── kcl.mod.lock │ ├── toml.go │ └── toml_test.go ├── path │ ├── path_test.go │ ├── path_unix.go │ └── path_windows.go ├── reporter │ └── reporter.go ├── resolver │ ├── resolver.go │ ├── resolver_test.go │ └── test_data │ │ └── test_resolve_graph │ │ ├── dep1 │ │ ├── kcl.mod │ │ ├── kcl.mod.lock │ │ └── main.k │ │ └── pkg │ │ ├── kcl.mod │ │ ├── kcl.mod.lock │ │ └── main.k ├── runner │ ├── entry.go │ ├── entry_test.go │ ├── runner.go │ ├── runner_test.go │ ├── testdata │ │ ├── import_external.k │ │ └── test_find_mod │ │ │ ├── kcl.mod │ │ │ ├── kcl.mod.lock │ │ │ ├── main.k │ │ │ └── sub │ │ │ └── main.k │ └── testdata_external │ │ ├── external │ │ ├── kcl.mod │ │ ├── kcl.mod.lock │ │ └── main.k │ │ └── external_1 │ │ ├── kcl.mod │ │ ├── kcl.mod.lock │ │ └── main.k ├── semver │ ├── semver.go │ └── semver_test.go ├── settings │ ├── settings.go │ ├── settings_test.go │ └── test_data │ │ └── expected.json ├── test │ └── utils.go ├── utils │ ├── test_data │ │ ├── test_check_tar_path │ │ │ └── test.tar │ │ ├── test_find_package │ │ │ ├── test_1 │ │ │ │ └── kcl.mod │ │ │ └── test_2 │ │ │ │ └── kcl.mod │ │ ├── test_hash │ │ │ └── test_hash.txt │ │ ├── test_link │ │ │ ├── is_link_exist │ │ │ │ ├── link_target_not_exist │ │ │ │ └── test.txt │ │ │ └── need_be_linked_v1 │ │ │ │ └── test │ │ ├── test_tar │ │ │ └── test_src │ │ │ │ ├── test.mod │ │ │ │ ├── test.txt │ │ │ │ ├── test_src.txt │ │ │ │ ├── test_sub │ │ │ │ └── test_sub.txt │ │ │ │ └── test_tar_dir │ │ │ │ ├── test_1.lock │ │ │ │ └── test_1.txt │ │ └── test_un_tar │ │ │ └── test.tar │ ├── utils.go │ ├── utils_test.go │ └── utils_unix_test.go ├── version │ ├── version.go │ └── version_test.go └── visitor │ ├── test_data │ ├── test_visit_dir │ │ ├── kcl.mod │ │ ├── kcl.mod.lock │ │ └── main.k │ ├── test_visit_tar │ │ ├── kcl.mod │ │ ├── kcl.mod.lock │ │ ├── main.k │ │ └── test_visit_tar_0.0.1.tar │ └── test_visited_space │ │ └── helloworld_0.1.2 │ │ ├── kcl.mod │ │ ├── kcl.mod.lock │ │ └── main.k │ ├── visitor.go │ └── visitor_test.go ├── research └── design-doc │ └── sparse_checkout_asishkumar.md ├── scripts ├── e2e.sh ├── e2e_prepare.sh ├── pkg_in_reg │ ├── kcl1 │ │ ├── kcl.mod │ │ ├── kcl.mod.lock │ │ └── main.k │ └── kcl2 │ │ ├── kcl.mod │ │ ├── kcl.mod.lock │ │ └── main.k ├── pull_pkg.sh ├── push_pkg.sh └── reg.sh └── test └── e2e ├── cli.go ├── e2e_suite_test.go ├── kpm_test.go ├── test_suite.go ├── test_suites ├── kpm │ ├── exec_inside_pkg │ │ ├── add_exist_not_pkgpath │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── add_path_not_exist │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── add_with_current_path │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── add_with_invalid_name │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── add_with_invalid_ref │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── add_with_name_invalid_tag │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── add_with_name_tag │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── add_with_no_args │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── add_with_noexist_path │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── add_with_path_1 │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── add_with_relative_path │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── kpm_push_with_invalid_url │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── push_kcl1_again │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── push_kcl1_reg_not_exist │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── run_with_input │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── run_with_not_exist_input │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ └── run_without_input │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ ├── exec_outside_pkg │ │ ├── add_exist_not_pkgpath │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── add_path_not_exist │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── add_with_name_outside │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── add_with_name_tag_outside │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── add_with_no_args_outside │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── help_msg │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── init_with_no_args │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── kpm_pull_with_no_args │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── kpm_pull_with_oci_url │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── kpm_pull_with_oci_url_tag │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── kpm_pull_with_only_tag │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── kpm_pull_with_pkg_name │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── kpm_pull_with_pkg_name_tag │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── kpm_push_with_invalid_url │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── kpm_push_with_no_args │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── kpm_run_oci_url │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── kpm_run_oci_url_quiet │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── login_reg_without_args │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── login_reg_without_password │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── login_reg_without_username │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── login_with_no_args │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── logout_reg_with_invalid_reg │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── logout_reg_without_args │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── pull_private_pkg │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── push_outside_pkg │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── run_oci_with_invalid_ref │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── run_oci_with_invalid_url │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── run_oci_with_invalid_url_without_tag │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── run_tar_with_exist_not_tar │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── run_tar_with_input │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── run_tar_with_not_exist_tar │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── run_tar_without_input │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ └── version │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ ├── ignores │ │ ├── kpm_push_without_url │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ └── run_tar_with_input_with_kclvm_args │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ ├── kpm_add │ │ ├── add_with_name_1 │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── add_with_name_2 │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── add_with_name_3 │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── add_with_path_2 │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── test_add_with_name │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── test_add_with_url │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── test_add_with_url_0 │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── test_add_with_url_1 │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── test_kpm_add_git_commit │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── test_kpm_add_git_commit_0 │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ └── test_kpm_add_git_commit_1 │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ ├── kpm_metadata │ │ ├── test_kpm_metadata │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── test_kpm_metadata_duplication │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ └── test_kpm_metadata_with_commit_dep │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ ├── kpm_push │ │ └── test_push_localhost │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ ├── kpm_run │ │ ├── test_kpm_run │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── test_kpm_run_duplication_deps │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── test_kpm_run_file_with_sub │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── test_kpm_run_multi_local_path_0 │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── test_kpm_run_multi_local_path_1 │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── test_kpm_run_multi_local_path_2 │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── test_kpm_run_multi_local_path_3 │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── test_kpm_run_multi_local_path_4 │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── test_kpm_run_multi_local_path_5 │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── test_kpm_run_quiet │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── test_kpm_run_underline │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── test_kpm_run_with_disable_none │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── test_kpm_run_with_disable_none_profile │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── test_kpm_run_with_entry_dir │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── test_kpm_run_with_entry_kfile │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── test_kpm_run_with_entry_sub_yaml │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── test_kpm_run_with_entry_yaml │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── test_kpm_run_with_git_branch_dep │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── test_kpm_run_with_git_commit_dep │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── test_kpm_run_with_git_commit_dep_1 │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── test_kpm_run_with_input │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── test_kpm_run_with_local_dep │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── test_kpm_run_with_multi_kfile │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── test_kpm_run_with_multi_kfile_1 │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── test_kpm_run_with_multi_kfile_2 │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── test_kpm_run_with_multi_kfile_3 │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── test_kpm_run_with_multi_kfile_4 │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── test_kpm_run_with_multi_pkg │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── test_kpm_run_with_multi_pkg_1 │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── test_kpm_run_with_one_dir │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── test_kpm_run_with_one_kfile │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── test_kpm_run_with_one_kfile_1 │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── test_kpm_run_with_one_kfile_2 │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── test_kpm_run_with_one_kfile_entry │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── test_kpm_run_with_only_kcl_mod │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── test_kpm_run_with_option │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── test_kpm_run_with_option_profile │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── test_kpm_run_with_override │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── test_kpm_run_with_override_profile │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── test_kpm_run_with_path_selector_profile │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── test_kpm_run_with_setting │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── test_kpm_run_with_sort_key │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ └── test_kpm_run_with_sort_key_profile │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ ├── kpm_update │ │ └── test_update_with_all │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ ├── test_oci │ │ └── test_push_with_oci_manifest │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ └── workflows │ │ ├── add_multi_times │ │ ├── 1.init_an_empty_pkg │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── 2.first_add_konfig_dep │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── 3.second_add_konfig_dep │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ └── 4.third_add_konfig_dep │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── init_add_and_run │ │ ├── 1.init_an_empty_pkg │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ ├── 2.kpm_add │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ └── 3.kpm_run │ │ │ ├── test_suite.env │ │ │ ├── test_suite.input │ │ │ ├── test_suite.stderr │ │ │ └── test_suite.stdout │ │ └── init_and_run │ │ ├── 1.init_an_empty_pkg │ │ ├── test_suite.env │ │ ├── test_suite.input │ │ ├── test_suite.stderr │ │ └── test_suite.stdout │ │ └── 2.kpm_run │ │ ├── test_suite.env │ │ ├── test_suite.input │ │ ├── test_suite.stderr │ │ └── test_suite.stdout └── test_data │ ├── a_kcl_pkg_dep_one_pkg │ ├── kcl.mod │ ├── kcl.mod.lock │ └── main.k │ ├── a_kcl_pkg_dep_one_pkg_2 │ ├── kcl.mod │ ├── kcl.mod.lock │ └── main.k │ ├── a_kcl_pkg_dep_one_pkg_3 │ ├── kcl.mod │ ├── kcl.mod.lock │ └── main.k │ ├── a_kcl_pkg_dep_one_pkg_4 │ ├── kcl.mod │ ├── kcl.mod.lock │ └── main.k │ ├── a_kcl_pkg_dep_one_pkg_5 │ ├── kcl.mod │ ├── kcl.mod.lock │ └── main.k │ ├── add_with_name_1 │ ├── kcl.mod │ ├── kcl.mod.lock │ └── main.k │ ├── add_with_name_2 │ ├── kcl.mod │ ├── kcl.mod.lock │ └── main.k │ ├── add_with_name_3 │ ├── kcl.mod │ ├── kcl.mod.lock │ └── main.k │ ├── add_with_path_2 │ ├── a_kcl_pkg_dep_one_pkg_2 │ │ ├── kcl.mod │ │ ├── kcl.mod.lock │ │ └── main.k │ ├── kcl.mod │ ├── kcl.mod.lock │ └── main.k │ ├── an_invalid_kcl_pkg │ └── .gitkeep │ ├── exist_but_not_tar │ ├── expected_oci_manifest.json │ ├── kcl1.tar │ ├── kcl1 │ ├── kcl.mod │ ├── kcl.mod.lock │ └── kcl1.k │ ├── test_add_with_name │ ├── kcl.mod │ ├── kcl.mod.lock │ └── main.k │ ├── test_add_with_name_1 │ ├── kcl.mod │ ├── kcl.mod.lock │ └── main.k │ ├── test_add_with_url │ ├── kcl.mod │ ├── kcl.mod.lock │ └── main.k │ ├── test_add_with_url_0 │ ├── kcl.mod │ ├── kcl.mod.lock │ └── main.k │ ├── test_add_with_url_1 │ ├── kcl.mod │ ├── kcl.mod.lock │ └── main.k │ ├── test_kcl │ ├── kcl.mod │ ├── kcl.mod.lock │ ├── kcl1.k │ └── vendor │ │ └── kcl4_v0.1.0 │ │ ├── kcl.mod │ │ └── kcl4.k │ ├── test_kpm_add_git_commit │ ├── kcl.mod │ ├── kcl.mod.lock │ └── main.k │ ├── test_kpm_add_git_commit_0 │ ├── kcl.mod │ ├── kcl.mod.lock │ └── main.k │ ├── test_kpm_add_git_commit_1 │ ├── kcl.mod │ ├── kcl.mod.lock │ └── main.k │ ├── test_kpm_metadata │ ├── dep-with-line │ │ ├── kcl.mod │ │ ├── kcl.mod.lock │ │ └── main.k │ ├── kcl.mod │ ├── kcl.mod.lock │ └── main.k │ ├── test_kpm_metadata_duplication │ ├── dep-with-line │ │ ├── kcl.mod │ │ ├── kcl.mod.lock │ │ └── main.k │ ├── dep_with-line │ │ ├── kcl.mod │ │ ├── kcl.mod.lock │ │ └── main.k │ ├── kcl.mod │ ├── kcl.mod.lock │ └── main.k │ ├── test_kpm_metadata_with_commit_dep │ ├── kcl.mod │ ├── kcl.mod.lock │ └── main.k │ ├── test_kpm_run │ ├── kcl.mod │ ├── kcl.mod.lock │ └── main.k │ ├── test_kpm_run_duplication_deps │ ├── dep-with-line │ │ ├── kcl.mod │ │ ├── kcl.mod.lock │ │ └── main.k │ ├── dep_with-line │ │ ├── kcl.mod │ │ ├── kcl.mod.lock │ │ └── main.k │ ├── kcl.mod │ ├── kcl.mod.lock │ └── main.k │ ├── test_kpm_run_file_with_sub │ ├── main.k │ └── sub │ │ └── main.k │ ├── test_kpm_run_multi_local_path │ ├── pkg1 │ │ ├── kcl.mod │ │ ├── kcl.mod.lock │ │ └── main.k │ ├── pkg2 │ │ ├── kcl.mod │ │ ├── kcl.mod.lock │ │ └── main.k │ └── pkg3 │ │ ├── kcl.mod │ │ ├── kcl.mod.lock │ │ └── main.k │ ├── test_kpm_run_multi_local_path_0 │ ├── pkg │ │ ├── pkg2 │ │ │ ├── kcl.mod │ │ │ ├── kcl.mod.lock │ │ │ └── main.k │ │ └── pkg3 │ │ │ ├── kcl.mod │ │ │ ├── kcl.mod.lock │ │ │ └── main.k │ └── pkg1 │ │ ├── kcl.mod │ │ ├── kcl.mod.lock │ │ └── main.k │ ├── test_kpm_run_multi_local_path_1 │ ├── pkg │ │ ├── pkg2 │ │ │ ├── kcl.mod │ │ │ ├── kcl.mod.lock │ │ │ └── main.k │ │ └── pkg3 │ │ │ ├── kcl.mod │ │ │ ├── kcl.mod.lock │ │ │ └── main.k │ └── pkg1 │ │ ├── kcl.mod │ │ ├── kcl.mod.lock │ │ └── main.k │ ├── test_kpm_run_multi_local_path_2 │ ├── pkg │ │ ├── pkg2 │ │ │ ├── kcl.mod │ │ │ └── main.k │ │ └── pkg3 │ │ │ ├── kcl.mod │ │ │ └── main.k │ └── pkg1 │ │ ├── kcl.mod │ │ └── main.k │ ├── test_kpm_run_multi_local_path_3 │ ├── pkg │ │ ├── pkg2 │ │ │ ├── kcl.mod │ │ │ └── main.k │ │ └── pkg3 │ │ │ ├── kcl.mod │ │ │ ├── kcl.mod.lock │ │ │ └── main.k │ └── pkg1 │ │ ├── kcl.mod │ │ └── main.k │ ├── test_kpm_run_multi_local_path_4 │ ├── pkg │ │ ├── pkg2 │ │ │ ├── kcl.mod │ │ │ ├── kcl.mod.lock │ │ │ └── main.k │ │ └── pkg3 │ │ │ ├── kcl.mod │ │ │ └── main.k │ └── pkg1 │ │ ├── kcl.mod │ │ └── main.k │ ├── test_kpm_run_multi_local_path_5 │ ├── pkg │ │ ├── pkg │ │ │ └── pkg3 │ │ │ │ ├── kcl.mod │ │ │ │ └── main.k │ │ └── pkg2 │ │ │ ├── kcl.mod │ │ │ └── main.k │ └── pkg1 │ │ ├── kcl.mod │ │ └── main.k │ ├── test_kpm_run_quiet │ ├── kcl.mod │ ├── kcl.mod.lock │ └── main.k │ ├── test_kpm_run_underline │ ├── dep-with-line │ │ ├── kcl.mod │ │ ├── kcl.mod.lock │ │ └── main.k │ └── test_with_line │ │ ├── kcl.mod │ │ ├── kcl.mod.lock │ │ └── main.k │ ├── test_kpm_run_with_disable_none │ ├── kcl.mod │ ├── kcl.mod.lock │ └── main.k │ ├── test_kpm_run_with_disable_none_profile │ ├── kcl.mod │ ├── kcl.mod.lock │ └── main.k │ ├── test_kpm_run_with_entry_dir │ ├── kcl.mod │ ├── kcl.mod.lock │ ├── main.k │ └── sub │ │ └── main.k │ ├── test_kpm_run_with_entry_kfile │ ├── kcl.mod │ ├── kcl.mod.lock │ ├── main.k │ └── sub │ │ └── main.k │ ├── test_kpm_run_with_entry_sub_yaml │ ├── kcl.mod │ ├── kcl.mod.lock │ ├── main.k │ └── sub │ │ ├── kcl.yaml │ │ └── main.k │ ├── test_kpm_run_with_entry_yaml │ ├── kcl.mod │ ├── kcl.mod.lock │ ├── kcl.yaml │ ├── main.k │ └── sub │ │ └── main.k │ ├── test_kpm_run_with_git_branch_dep │ ├── kcl.mod │ ├── kcl.mod.lock │ └── main.k │ ├── test_kpm_run_with_git_commit_dep │ ├── kcl.mod │ ├── kcl.mod.lock │ └── main.k │ ├── test_kpm_run_with_git_commit_dep_1 │ ├── kcl.mod │ ├── kcl.mod.lock │ ├── main.k │ └── sub │ │ ├── kcl.mod │ │ ├── kcl.mod.lock │ │ └── main.k │ ├── test_kpm_run_with_input │ ├── kcl.mod │ ├── kcl.mod.lock │ └── main.k │ ├── test_kpm_run_with_local_dep │ ├── kcl1 │ │ ├── kcl.mod │ │ ├── kcl.mod.lock │ │ └── main.k │ └── kcl2 │ │ ├── kcl.mod │ │ ├── kcl.mod.lock │ │ └── main.k │ ├── test_kpm_run_with_multi_kfile │ ├── main.k │ └── main1.k │ ├── test_kpm_run_with_multi_kfile_1 │ ├── main.k │ └── sub │ │ └── main1.k │ ├── test_kpm_run_with_multi_kfile_2 │ ├── kcl.mod │ ├── kcl.mod.lock │ ├── main.k │ └── sub │ │ └── main1.k │ ├── test_kpm_run_with_multi_kfile_3 │ ├── kcl.mod │ ├── kcl.mod.lock │ ├── main.k │ └── main1.k │ ├── test_kpm_run_with_multi_kfile_4 │ ├── kcl.mod │ ├── kcl.mod.lock │ ├── main.k │ └── main1.k │ ├── test_kpm_run_with_multi_pkg │ ├── kcl1 │ │ ├── kcl.mod │ │ ├── kcl.mod.lock │ │ └── main.k │ └── kcl2 │ │ ├── kcl.mod │ │ ├── kcl.mod.lock │ │ └── main.k │ ├── test_kpm_run_with_multi_pkg_1 │ ├── kcl1 │ │ ├── kcl.mod │ │ ├── kcl.mod.lock │ │ └── main.k │ └── kcl2 │ │ ├── kcl.mod │ │ ├── kcl.mod.lock │ │ └── main.k │ ├── test_kpm_run_with_one_dir │ └── sub │ │ ├── main.k │ │ └── main1.k │ ├── test_kpm_run_with_one_kfile │ └── main.k │ ├── test_kpm_run_with_one_kfile_1 │ ├── kcl.mod │ ├── kcl.mod.lock │ ├── main.k │ └── main1.k │ ├── test_kpm_run_with_one_kfile_2 │ ├── kcl.mod │ ├── kcl.mod.lock │ ├── main.k │ └── main1.k │ ├── test_kpm_run_with_one_kfile_entry │ ├── kcl.mod │ ├── kcl.mod.lock │ ├── main.k │ └── main1.k │ ├── test_kpm_run_with_only_kcl_mod │ ├── kcl.mod │ └── main.k │ ├── test_kpm_run_with_option │ ├── kcl.mod │ ├── kcl.mod.lock │ └── main.k │ ├── test_kpm_run_with_option_profile │ ├── kcl.mod │ ├── kcl.mod.lock │ └── main.k │ ├── test_kpm_run_with_override │ ├── kcl.mod │ ├── kcl.mod.lock │ └── main.k │ ├── test_kpm_run_with_override_profile │ ├── kcl.mod │ ├── kcl.mod.lock │ └── main.k │ ├── test_kpm_run_with_path_selector_profile │ ├── kcl.mod │ ├── kcl.mod.lock │ └── main.k │ ├── test_kpm_run_with_setting │ ├── kcl.mod │ ├── kcl.mod.lock │ ├── kcl.yaml │ ├── main.k │ └── sub │ │ └── main.k │ ├── test_kpm_run_with_sort_key │ ├── kcl.mod │ ├── kcl.mod.lock │ └── main.k │ ├── test_kpm_run_with_sort_key_profile │ ├── kcl.mod │ ├── kcl.mod.lock │ └── main.k │ ├── test_push_localhost │ ├── kcl.mod │ ├── kcl.mod.lock │ └── main.k │ ├── test_push_with_oci_manifest │ ├── kcl.mod │ ├── kcl.mod.lock │ └── main.k │ ├── test_update_with_all │ ├── test_update │ │ ├── kcl.mod │ │ ├── kcl.mod.lock │ │ └── main.k │ └── test_update_1 │ │ ├── kcl.mod │ │ ├── kcl.mod.lock │ │ └── main.k │ └── test_update_with_diff_version │ └── test_update │ ├── kcl.mod │ ├── kcl.mod.lock │ └── main.k └── utils.go /doc.go: -------------------------------------------------------------------------------- 1 | // kpm is a package management tool for kcl language. 2 | package main 3 | -------------------------------------------------------------------------------- /pkg/api/test_data/test_abs_input/test_input_outside: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kcl-lang/kpm/779d413de0890275cdd5b9034135cb67cfaba970/pkg/api/test_data/test_abs_input/test_input_outside -------------------------------------------------------------------------------- /pkg/api/test_data/test_abs_input/test_pkg_path/test_input: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kcl-lang/kpm/779d413de0890275cdd5b9034135cb67cfaba970/pkg/api/test_data/test_abs_input/test_pkg_path/test_input -------------------------------------------------------------------------------- /pkg/api/test_data/test_get_entries/no_entries/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "no_entries" 3 | edition = "0.0.1" 4 | version = "0.0.1" 5 | 6 | -------------------------------------------------------------------------------- /pkg/api/test_data/test_get_entries/no_entries/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/api/test_data/test_get_entries/with_path_entries/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "with_path_entries" 3 | edition = "0.0.1" 4 | version = "0.0.1" 5 | 6 | [profile] 7 | entries = ["sub/sub.k"] 8 | -------------------------------------------------------------------------------- /pkg/api/test_data/test_get_entries/with_path_entries/sub/sub.k: -------------------------------------------------------------------------------- 1 | sub = "test in sub" -------------------------------------------------------------------------------- /pkg/api/test_data/test_get_mod_deps/kcl_pkg/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "kcl_pkg" 3 | edition = "0.0.1" 4 | version = "0.0.1" 5 | 6 | [dependencies] 7 | k8s = "1.27" 8 | -------------------------------------------------------------------------------- /pkg/api/test_data/test_get_mod_deps/kcl_pkg/sub/main.k: -------------------------------------------------------------------------------- 1 | schema SchemaInSubK: 2 | msg: str 3 | -------------------------------------------------------------------------------- /pkg/api/test_data/test_get_mod_deps/kcl_pkg/sub/sub1/main.k: -------------------------------------------------------------------------------- 1 | schema SchemaInSubSub1K: 2 | msg: str 3 | -------------------------------------------------------------------------------- /pkg/api/test_data/test_get_mod_deps/kcl_pkg/sub/sub1/main2.k: -------------------------------------------------------------------------------- 1 | schema SchemaWithSameName: 2 | msg: str -------------------------------------------------------------------------------- /pkg/api/test_data/test_kpm_package/export_swagger/aaa/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "aaa" 3 | edition = "0.0.1" 4 | version = "0.0.1" 5 | 6 | [dependencies] 7 | bbb = { path = "../bbb" } 8 | -------------------------------------------------------------------------------- /pkg/api/test_data/test_kpm_package/export_swagger/aaa/kcl.mod.lock: -------------------------------------------------------------------------------- 1 | [dependencies] 2 | [dependencies.bbb] 3 | name = "bbb" 4 | full_name = "bbb_0.0.1" 5 | version = "0.0.1" 6 | -------------------------------------------------------------------------------- /pkg/api/test_data/test_kpm_package/export_swagger/bbb/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "bbb" 3 | edition = "0.0.1" 4 | version = "0.0.1" 5 | 6 | -------------------------------------------------------------------------------- /pkg/api/test_data/test_kpm_package/export_swagger/bbb/main.k: -------------------------------------------------------------------------------- 1 | schema B: 2 | name: str -------------------------------------------------------------------------------- /pkg/api/test_data/test_kpm_package/get_schema_ty/aaa/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "aaa" 3 | edition = "0.0.1" 4 | version = "0.0.1" 5 | 6 | [dependencies] 7 | bbb = { path = "../bbb" } 8 | -------------------------------------------------------------------------------- /pkg/api/test_data/test_kpm_package/get_schema_ty/aaa/kcl.mod.lock: -------------------------------------------------------------------------------- 1 | [dependencies] 2 | [dependencies.bbb] 3 | name = "bbb" 4 | full_name = "bbb_0.0.1" 5 | version = "0.0.1" 6 | -------------------------------------------------------------------------------- /pkg/api/test_data/test_kpm_package/get_schema_ty/aaa/main.k: -------------------------------------------------------------------------------- 1 | import bbb as b 2 | 3 | a = b.B { 4 | name: "b instance in a" 5 | } -------------------------------------------------------------------------------- /pkg/api/test_data/test_kpm_package/get_schema_ty/bbb/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "bbb" 3 | edition = "0.0.1" 4 | version = "0.0.1" 5 | 6 | -------------------------------------------------------------------------------- /pkg/api/test_data/test_kpm_package/get_schema_ty/bbb/main.k: -------------------------------------------------------------------------------- 1 | schema B: 2 | name: str -------------------------------------------------------------------------------- /pkg/api/test_data/test_kpm_package/kcl_pkg/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "kcl_pkg" 3 | edition = "0.0.1" 4 | version = "0.0.1" 5 | 6 | [dependencies] 7 | helloworld = "0.1.3" 8 | -------------------------------------------------------------------------------- /pkg/api/test_data/test_kpm_package/kcl_pkg/sub/main.k: -------------------------------------------------------------------------------- 1 | schema SchemaInSubK: 2 | msg: str 3 | -------------------------------------------------------------------------------- /pkg/api/test_data/test_kpm_package/kcl_pkg/sub/sub1/main.k: -------------------------------------------------------------------------------- 1 | schema SchemaInSubSub1K: 2 | msg: str 3 | -------------------------------------------------------------------------------- /pkg/api/test_data/test_kpm_package/kcl_pkg/sub/sub1/main2.k: -------------------------------------------------------------------------------- 1 | schema SchemaWithSameName: 2 | msg: str -------------------------------------------------------------------------------- /pkg/api/test_data/test_kpm_package/no_kcl_files/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "no_kcl_files" 3 | edition = "0.0.1" 4 | version = "0.0.1" 5 | -------------------------------------------------------------------------------- /pkg/api/test_data/test_kpm_package/no_kcl_files/main.k: -------------------------------------------------------------------------------- 1 | schema SchemaInMain: 2 | msg: str -------------------------------------------------------------------------------- /pkg/api/test_data/test_run_pkg_in_path/test_kcl/main.k: -------------------------------------------------------------------------------- 1 | import flask_demo_kcl_manifests as flask 2 | 3 | a = flask.config -------------------------------------------------------------------------------- /pkg/api/test_data/test_run_pkg_in_path/test_run_no_sum_check/dep_oci/expected: -------------------------------------------------------------------------------- 1 | a: Hello World! -------------------------------------------------------------------------------- /pkg/api/test_data/test_run_pkg_in_path/test_run_no_sum_check/dep_oci/main.k: -------------------------------------------------------------------------------- 1 | import helloworld as hw 2 | 3 | a = hw.The_first_kcl_program -------------------------------------------------------------------------------- /pkg/api/test_data/test_run_with_nosumcheck/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "aaa" 3 | edition = "0.0.1" 4 | version = "0.0.1" 5 | 6 | [dependencies] 7 | k8s = "1.27" 8 | -------------------------------------------------------------------------------- /pkg/api/test_data/test_run_with_nosumcheck/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/api/test_data/test_settings/kcl.yaml: -------------------------------------------------------------------------------- 1 | kcl_cli_configs: 2 | files: 3 | - ./test_data/test_settings/test.k 4 | -------------------------------------------------------------------------------- /pkg/api/test_data/test_settings/test.k: -------------------------------------------------------------------------------- 1 | value = 1 2 | -------------------------------------------------------------------------------- /pkg/api/test_data/test_work_dir/base/base.k: -------------------------------------------------------------------------------- 1 | base = "base" -------------------------------------------------------------------------------- /pkg/api/test_data/test_work_dir/dev/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "helloworld" 3 | edition = "0.5.0" 4 | version = "0.1.0" 5 | 6 | [profile] 7 | entries = ["../base/base.k", "main.k"] 8 | -------------------------------------------------------------------------------- /pkg/api/test_data/test_work_dir/dev/kcl.mod.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kcl-lang/kpm/779d413de0890275cdd5b9034135cb67cfaba970/pkg/api/test_data/test_work_dir/dev/kcl.mod.lock -------------------------------------------------------------------------------- /pkg/api/test_data/test_work_dir/dev/main.k: -------------------------------------------------------------------------------- 1 | main = "main" -------------------------------------------------------------------------------- /pkg/client/test_data/add_with_default_dep/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/add_with_default_dep/no_tag/kcl.mod.bak: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "add_with_default" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | -------------------------------------------------------------------------------- /pkg/client/test_data/add_with_default_dep/with_tag/kcl.mod.bak: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "add_with_default" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | -------------------------------------------------------------------------------- /pkg/client/test_data/add_with_git_commit/test_pkg/kcl.mod.bak: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "with_sum_check" 3 | edition = "0.0.1" 4 | version = "0.0.1" 5 | 6 | [dependencies] 7 | -------------------------------------------------------------------------------- /pkg/client/test_data/add_with_git_commit/test_pkg/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/add_with_git_commit/test_pkg_win/kcl.mod.bak: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "with_sum_check" 3 | edition = "0.0.1" 4 | version = "0.0.1" 5 | 6 | [dependencies] 7 | -------------------------------------------------------------------------------- /pkg/client/test_data/add_with_git_commit/test_pkg_win/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/add_with_local_path/expect/dep_pkg/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "dep_pkg" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | 6 | -------------------------------------------------------------------------------- /pkg/client/test_data/add_with_local_path/expect/dep_pkg/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/add_with_local_path/expect/pkg/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/add_with_local_path/init/dep_pkg/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "dep_pkg" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | 6 | -------------------------------------------------------------------------------- /pkg/client/test_data/add_with_local_path/init/dep_pkg/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/add_with_local_path/init/pkg/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "pkg" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | 6 | [dependencies] 7 | dep_pkg = { path = "../dep_pkg" } 8 | -------------------------------------------------------------------------------- /pkg/client/test_data/add_with_local_path/init/pkg/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/add_with_mod_spec/empty_version/kcl.mod.bk: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "oci" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | 6 | [dependencies] 7 | -------------------------------------------------------------------------------- /pkg/client/test_data/add_with_mod_spec/git/kcl.mod.bk: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "git" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | -------------------------------------------------------------------------------- /pkg/client/test_data/add_with_mod_spec/git/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/add_with_mod_spec/git_mod_0/kcl.mod.bk: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "git" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | -------------------------------------------------------------------------------- /pkg/client/test_data/add_with_mod_spec/git_mod_0/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/add_with_mod_spec/git_mod_1/kcl.mod.bk: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "git" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | -------------------------------------------------------------------------------- /pkg/client/test_data/add_with_mod_spec/git_mod_1/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/add_with_mod_spec/git_mod_2/kcl.mod.bk: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "git" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | -------------------------------------------------------------------------------- /pkg/client/test_data/add_with_mod_spec/git_mod_2/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/add_with_mod_spec/git_mod_3/kcl.mod.bk: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "git" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | -------------------------------------------------------------------------------- /pkg/client/test_data/add_with_mod_spec/git_mod_3/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/add_with_mod_spec/local/dep/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "dep" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | -------------------------------------------------------------------------------- /pkg/client/test_data/add_with_mod_spec/local/dep/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/add_with_mod_spec/local/dep/sub/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "sub" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | -------------------------------------------------------------------------------- /pkg/client/test_data/add_with_mod_spec/local/dep/sub/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/add_with_mod_spec/local/pkg/kcl.mod.bk: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "pkg" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | -------------------------------------------------------------------------------- /pkg/client/test_data/add_with_mod_spec/local/pkg/kcl.mod.lock.expect: -------------------------------------------------------------------------------- 1 | [dependencies] 2 | [dependencies.sub] 3 | name = "sub" 4 | full_name = "sub_0.0.1" 5 | version = "0.0.1" 6 | -------------------------------------------------------------------------------- /pkg/client/test_data/add_with_mod_spec/local/pkg/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/add_with_mod_spec/no_git_ref/kcl.mod.bk: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "git" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | -------------------------------------------------------------------------------- /pkg/client/test_data/add_with_mod_spec/no_git_ref/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/add_with_mod_spec/no_oci_ref/kcl.mod.bk: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "oci" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | 6 | [dependencies] 7 | -------------------------------------------------------------------------------- /pkg/client/test_data/add_with_mod_spec/no_spec/kcl.mod.bk: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "oci" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | 6 | [dependencies] 7 | -------------------------------------------------------------------------------- /pkg/client/test_data/add_with_mod_spec/oci/kcl.mod.bk: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "oci" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | 6 | [dependencies] 7 | -------------------------------------------------------------------------------- /pkg/client/test_data/add_with_mod_spec/oci/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/add_with_mod_spec/rename/kcl.mod.bk: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "rename" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | -------------------------------------------------------------------------------- /pkg/client/test_data/add_with_mod_spec/rename/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/add_with_mod_spec/rename_no_spec/kcl.mod.bk: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "rename" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | -------------------------------------------------------------------------------- /pkg/client/test_data/add_with_mod_spec/rename_no_spec/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/add_with_mod_spec/rename_spec_only/kcl.mod.bk: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "rename" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | -------------------------------------------------------------------------------- /pkg/client/test_data/add_with_mod_spec/rename_spec_only/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/add_with_mod_spec/spec_only/kcl.mod.bk: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "oci" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | 6 | [dependencies] 7 | -------------------------------------------------------------------------------- /pkg/client/test_data/add_with_mod_spec/spec_only/kcl.mod.expect: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "oci" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | 6 | [dependencies] 7 | helloworld = "0.1.4" 8 | -------------------------------------------------------------------------------- /pkg/client/test_data/add_with_mod_spec/spec_only_no_ver/kcl.mod.bk: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "oci" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | 6 | [dependencies] 7 | -------------------------------------------------------------------------------- /pkg/client/test_data/add_with_mod_spec/spec_only_no_ver/kcl.mod.expect: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "oci" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | 6 | [dependencies] 7 | helloworld = "0.1.4" 8 | -------------------------------------------------------------------------------- /pkg/client/test_data/add_with_mvs/h12/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "h12" 3 | edition = "v0.11.0-alpha.1" 4 | version = "0.0.1" 5 | 6 | [dependencies] 7 | helloworld = "0.1.2" 8 | -------------------------------------------------------------------------------- /pkg/client/test_data/add_with_mvs/h12/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/add_with_mvs/h14/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "h14" 3 | edition = "v0.11.0-alpha.1" 4 | version = "0.0.1" 5 | 6 | [dependencies] 7 | helloworld = "0.1.4" 8 | -------------------------------------------------------------------------------- /pkg/client/test_data/add_with_mvs/h14/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/add_with_mvs/pkg_with_mvs/kcl.mod.bk: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "pkg_with_mvs" 3 | edition = "v0.11.0-alpha.1" 4 | version = "0.0.1" 5 | -------------------------------------------------------------------------------- /pkg/client/test_data/add_with_mvs/pkg_with_mvs/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/add_with_mvs/pkg_without_mvs/kcl.mod.bk: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "pkg_without_mvs" 3 | edition = "v0.11.0-alpha.1" 4 | version = "0.0.1" 5 | -------------------------------------------------------------------------------- /pkg/client/test_data/add_with_mvs/pkg_without_mvs/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/diffsettings/kcl.mod.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kcl-lang/kpm/779d413de0890275cdd5b9034135cb67cfaba970/pkg/client/test_data/diffsettings/kcl.mod.lock -------------------------------------------------------------------------------- /pkg/client/test_data/diffsettings/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/issues/github.com/kcl-lang/kcl/issues/1760/a/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/issues/github.com/kcl-lang/kcl/issues/1760/b/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/issues/github.com/kcl-lang/kcl/issues/1768/depends_on_pushed_mod/kcl.mod.bk: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "depends_on_pushed_mod" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | -------------------------------------------------------------------------------- /pkg/client/test_data/issues/github.com/kcl-lang/kcl/issues/1768/depends_on_pushed_mod/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/issues/github.com/kcl-lang/kcl/issues/1768/pushed_mod/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "pushed_mod" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | -------------------------------------------------------------------------------- /pkg/client/test_data/issues/github.com/kcl-lang/kcl/issues/1768/pushed_mod/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/issues/github.com/kcl-lang/kcl/issues/1788/mod/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/issues/github.com/kcl-lang/kpm/issues/226/add_with_commit/kcl.mod.bk: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "add_with_commit" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | -------------------------------------------------------------------------------- /pkg/client/test_data/issues/github.com/kcl-lang/kpm/issues/226/add_with_commit/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/issues/github.com/kcl-lang/kpm/issues/226/update_check_version/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/issues/github.com/kcl-lang/kpm/issues/226/update_check_version_invalid/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/issues/github.com/kcl-lang/kpm/issues/550/pkg/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/issues/github.com/kcl-lang/kpm/issues/587/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/issues/github.com/kcl-lang/kpm/issues/605/pkg/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/resolve_dep_with_kclmod/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "resolve_dep_with_kclmod" 3 | edition = "0.0.1" 4 | version = "0.0.1" 5 | 6 | [dependencies] 7 | k8s = "1.17" 8 | -------------------------------------------------------------------------------- /pkg/client/test_data/resolve_deps/kpm_home/kcl1_0.0.1/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "kcl1" 3 | edition = "0.0.1" 4 | version = "0.0.1" 5 | 6 | [dependencies] -------------------------------------------------------------------------------- /pkg/client/test_data/resolve_deps/kpm_home/kcl1_0.0.1/main.k: -------------------------------------------------------------------------------- 1 | k1 = 1 -------------------------------------------------------------------------------- /pkg/client/test_data/resolve_deps/kpm_home/kcl2_0.0.1/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "kcl2" 3 | edition = "0.0.1" 4 | version = "0.0.1" 5 | 6 | [dependencies] -------------------------------------------------------------------------------- /pkg/client/test_data/resolve_deps/kpm_home/kcl2_0.0.1/main.k: -------------------------------------------------------------------------------- 1 | k2=2 -------------------------------------------------------------------------------- /pkg/client/test_data/resolve_deps/my_kcl_compile/main.k: -------------------------------------------------------------------------------- 1 | import kcl1 as k1 2 | import kcl2 as k2 3 | 4 | c1 = k1.k1 5 | c2 = k2.k2 -------------------------------------------------------------------------------- /pkg/client/test_data/run_with_default_dep/kcl.mod.bak: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "add_with_default" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | 6 | [dependencies] 7 | helloworld = "0.1.2" 8 | -------------------------------------------------------------------------------- /pkg/client/test_data/run_with_default_dep/kcl.mod.expect: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "add_with_default" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | 6 | [dependencies] 7 | helloworld = "0.1.2" 8 | -------------------------------------------------------------------------------- /pkg/client/test_data/run_with_default_dep/main.k: -------------------------------------------------------------------------------- 1 | import helloworld as h 2 | 3 | a = h.The_first_kcl_program -------------------------------------------------------------------------------- /pkg/client/test_data/tar_kcl_pkg/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "test_tar" 3 | edition = "0.0.1" 4 | version = "0.0.1" 5 | 6 | [dependencies] -------------------------------------------------------------------------------- /pkg/client/test_data/tar_kcl_pkg/kcl.mod.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kcl-lang/kpm/779d413de0890275cdd5b9034135cb67cfaba970/pkg/client/test_data/tar_kcl_pkg/kcl.mod.lock -------------------------------------------------------------------------------- /pkg/client/test_data/test_add_diff_version/no_sum_check/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_add_diff_version/with_sum_check/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_add_local_path/dep/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "dep" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | 6 | -------------------------------------------------------------------------------- /pkg/client/test_data/test_add_local_path/dep/kcl.mod.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kcl-lang/kpm/779d413de0890275cdd5b9034135cb67cfaba970/pkg/client/test_data/test_add_local_path/dep/kcl.mod.lock -------------------------------------------------------------------------------- /pkg/client/test_data/test_add_local_path/dep/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_add_local_path/kcl.mod.bak: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "test_add_local_path" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | 6 | -------------------------------------------------------------------------------- /pkg/client/test_data/test_add_local_path/kcl.mod.lock.bak: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kcl-lang/kpm/779d413de0890275cdd5b9034135cb67cfaba970/pkg/client/test_data/test_add_local_path/kcl.mod.lock.bak -------------------------------------------------------------------------------- /pkg/client/test_data/test_add_local_path/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_add_no_sum_check/kcl.mod.bak: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "test_add_no_sum_check" 3 | edition = "0.0.1" 4 | version = "0.0.1" 5 | 6 | [dependencies] 7 | helloworld = "0.1.1" 8 | -------------------------------------------------------------------------------- /pkg/client/test_data/test_add_no_sum_check/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_cyclic_dependency/aaa/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "aaa" 3 | edition = "0.0.1" 4 | version = "0.0.1" 5 | 6 | [dependencies] 7 | bbb = { path = "../bbb" } 8 | -------------------------------------------------------------------------------- /pkg/client/test_data/test_cyclic_dependency/bbb/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "bbb" 3 | edition = "0.0.1" 4 | version = "0.0.1" 5 | 6 | [dependencies] 7 | aaa = { path = "../aaa" } 8 | -------------------------------------------------------------------------------- /pkg/client/test_data/test_data_add_deps/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_dep_order/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_graph/dep/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "dep" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | 6 | [dependencies] 7 | helloworld = "0.1.4" 8 | -------------------------------------------------------------------------------- /pkg/client/test_data/test_graph/dep/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_graph/pkg/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_init/init_0/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kcl-lang/kpm/779d413de0890275cdd5b9034135cb67cfaba970/pkg/client/test_data/test_init/init_0/.gitkeep -------------------------------------------------------------------------------- /pkg/client/test_data/test_init/init_1/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kcl-lang/kpm/779d413de0890275cdd5b9034135cb67cfaba970/pkg/client/test_data/test_init/init_1/.gitkeep -------------------------------------------------------------------------------- /pkg/client/test_data/test_init/init_2/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kcl-lang/kpm/779d413de0890275cdd5b9034135cb67cfaba970/pkg/client/test_data/test_init/init_2/.gitkeep -------------------------------------------------------------------------------- /pkg/client/test_data/test_init/init_3/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kcl-lang/kpm/779d413de0890275cdd5b9034135cb67cfaba970/pkg/client/test_data/test_init/init_3/.gitkeep -------------------------------------------------------------------------------- /pkg/client/test_data/test_init/init_4/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kcl-lang/kpm/779d413de0890275cdd5b9034135cb67cfaba970/pkg/client/test_data/test_init/init_4/.gitkeep -------------------------------------------------------------------------------- /pkg/client/test_data/test_init/init_5/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "init_5_exist" 3 | edition = "v0.11.2" 4 | version = "0.1.1" 5 | 6 | [dependencies] 7 | helloworld = "0.1.4" 8 | -------------------------------------------------------------------------------- /pkg/client/test_data/test_init/init_5/main.k: -------------------------------------------------------------------------------- 1 | import helloworld as hw 2 | 3 | The_first_kcl_program = hw.The_first_kcl_program 4 | The_second_kcl_program = "test" -------------------------------------------------------------------------------- /pkg/client/test_data/test_init_empty_mod/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "test_name" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | -------------------------------------------------------------------------------- /pkg/client/test_data/test_init_empty_mod/kcl.mod.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kcl-lang/kpm/779d413de0890275cdd5b9034135cb67cfaba970/pkg/client/test_data/test_init_empty_mod/kcl.mod.lock -------------------------------------------------------------------------------- /pkg/client/test_data/test_init_empty_mod/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_metadata_offline/beautiful.kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "test_metadata_offline" 3 | edition = "0.0.1" 4 | version = "0.0.1" 5 | 6 | -------------------------------------------------------------------------------- /pkg/client/test_data/test_metadata_offline/kcl.mod.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kcl-lang/kpm/779d413de0890275cdd5b9034135cb67cfaba970/pkg/client/test_data/test_metadata_offline/kcl.mod.lock -------------------------------------------------------------------------------- /pkg/client/test_data/test_metadata_offline/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_metadata_offline/ugly.kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "test_metadata_offline" 3 | edition = "0.0.1" 4 | version = "0.0.1" 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /pkg/client/test_data/test_mod_check/name_failed/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "invalid/mod/name" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | 6 | [dependencies] 7 | helloworld = "0.1.4" 8 | -------------------------------------------------------------------------------- /pkg/client/test_data/test_mod_check/name_failed/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_mod_check/pass/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "test_mod_check" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | 6 | [dependencies] 7 | helloworld = "0.1.4" 8 | -------------------------------------------------------------------------------- /pkg/client/test_data/test_mod_check/pass/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_mod_check/sum/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "test_mod_check" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | 6 | [dependencies] 7 | helloworld = "0.1.4" 8 | -------------------------------------------------------------------------------- /pkg/client/test_data/test_mod_check/sum/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_mod_check/version_failed/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_mod_file_package/test_pkg_win/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "test_pkg" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | -------------------------------------------------------------------------------- /pkg/client/test_data/test_new_storage/mod/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_new_storage/mod_0/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_new_storage/mod_1/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_new_storage/mod_2/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_new_storage/mod_3/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_new_storage/mod_4/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_new_storage/mod_5/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_new_storage/mod_6/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_no_download_with_metadata_offline/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_oci_downloader/add_dep/pkg/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_oci_downloader/run_pkg/pkg/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_pkg_with_vendor/kcl2/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "kcl2" 3 | edition = "0.0.1" 4 | version = "0.0.1" 5 | 6 | -------------------------------------------------------------------------------- /pkg/client/test_data/test_pkg_with_vendor/kcl2/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_pull/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kcl-lang/kpm/779d413de0890275cdd5b9034135cb67cfaba970/pkg/client/test_data/test_pull/.gitkeep -------------------------------------------------------------------------------- /pkg/client/test_data/test_pull_with_modspec/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kcl-lang/kpm/779d413de0890275cdd5b9034135cb67cfaba970/pkg/client/test_data/test_pull_with_modspec/.gitkeep -------------------------------------------------------------------------------- /pkg/client/test_data/test_pull_with_only_modspec/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kcl-lang/kpm/779d413de0890275cdd5b9034135cb67cfaba970/pkg/client/test_data/test_pull_with_only_modspec/.gitkeep -------------------------------------------------------------------------------- /pkg/client/test_data/test_push/push_0/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "push_0" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | -------------------------------------------------------------------------------- /pkg/client/test_data/test_push/push_0/kcl.mod.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kcl-lang/kpm/779d413de0890275cdd5b9034135cb67cfaba970/pkg/client/test_data/test_push/push_0/kcl.mod.lock -------------------------------------------------------------------------------- /pkg/client/test_data/test_push/push_0/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_push/test_pushed_mod/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_hyphen_entries/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program_current_mod = 'Hello Current Mod World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_in_vendor/dep/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "dep" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | 6 | [dependencies] 7 | helloworld = "0.1.2" 8 | 9 | -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_in_vendor/dep/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_in_vendor/pkg/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_in_vendor/pkg/vendor/helloworld_0.1.2/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "helloworld" 3 | edition = "*" 4 | version = "0.1.2" 5 | 6 | -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_in_vendor/pkg/vendor/helloworld_0.1.2/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_no_sum_check/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "test_run_no_sum_check" 3 | edition = "0.0.1" 4 | version = "0.0.1" 5 | 6 | [dependencies] 7 | helloworld = "0.1.1" 8 | -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_no_sum_check/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_oci_with_settings/kcl.yaml: -------------------------------------------------------------------------------- 1 | kcl_cli_configs: -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/no_args/run_0/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "run_0" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | 6 | 7 | -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/no_args/run_0/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/no_args/run_1/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "run_1" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | 6 | [profile] 7 | entries = ["sub/sub.k"] 8 | -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/no_args/run_1/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/no_args/run_1/sub/sub.k: -------------------------------------------------------------------------------- 1 | The_sub_kcl_program = "Hello Sub World!" -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/no_args/run_2/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "run_2" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | 6 | 7 | -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/no_args/run_2/kcl.yaml: -------------------------------------------------------------------------------- 1 | kcl_cli_configs: 2 | files: 3 | - sub/sub.k -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/no_args/run_2/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/no_args/run_2/sub/sub.k: -------------------------------------------------------------------------------- 1 | The_sub_kcl_program = "Hello Sub World!" -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/no_args/run_3/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "run_1" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | 6 | [profile] 7 | entries = ["modsub/sub.k"] 8 | -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/no_args/run_3/kcl.yaml: -------------------------------------------------------------------------------- 1 | kcl_cli_configs: 2 | files: 3 | - yamlsub/sub.k -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/no_args/run_3/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/no_args/run_3/modsub/sub.k: -------------------------------------------------------------------------------- 1 | The_mod_sub_kcl_program = "Hello Mod Sub World!" -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/no_args/run_3/yamlsub/sub.k: -------------------------------------------------------------------------------- 1 | The_yaml_sub_kcl_program = "Hello Yaml Sub World!" -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/no_args/run_4/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "run_4" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | 6 | [dependencies] 7 | run_5 = "0.0.1" -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/no_args/run_4/kcl.mod.lock: -------------------------------------------------------------------------------- 1 | [dependencies] 2 | [dependencies.run_5] 3 | name = "run_5" 4 | full_name = "run_5_0.0.1" 5 | version = "0.0.1" 6 | -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/no_args/run_4/main.k: -------------------------------------------------------------------------------- 1 | import run_5 as r5 2 | 3 | a = r5.run5 -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/no_args/run_4/vendor/run_5_0.0.1/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "run_5" 3 | edition = "v0.9.0" 4 | version = "0.0.1" 5 | 6 | 7 | -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/no_args/run_4/vendor/run_5_0.0.1/main.k: -------------------------------------------------------------------------------- 1 | run5 = 'A package in vendor path' -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/no_args/run_5/kcl.yaml: -------------------------------------------------------------------------------- 1 | kcl_cli_configs: 2 | files: 3 | - kcl_6/main.k 4 | - kcl_7/main.k -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/no_args/run_5/kcl_6/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "kcl_6" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | 6 | 7 | -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/no_args/run_5/kcl_6/main.k: -------------------------------------------------------------------------------- 1 | import sub 2 | kcl_6 = 'KCL 6' 3 | 4 | a = sub.sub6 5 | -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/no_args/run_5/kcl_6/sub/main.k: -------------------------------------------------------------------------------- 1 | sub6 = "sub6" -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/no_args/run_5/kcl_7/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "kcl_7" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | 6 | 7 | -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/no_args/run_5/kcl_7/main.k: -------------------------------------------------------------------------------- 1 | import sub_7 2 | 3 | kcl_7 = 'KCL 7' 4 | 5 | b = sub_7.sub7 -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/no_args/run_5/kcl_7/sub_7/main.k: -------------------------------------------------------------------------------- 1 | sub7 = "sub7" -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/no_args/run_6/main/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/no_args/run_6/sub/sub.k: -------------------------------------------------------------------------------- 1 | The_sub_kcl_program = "Hello Sub World!" -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/no_args/run_7/main.k: -------------------------------------------------------------------------------- 1 | hello = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/no_args/run_8/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "run_8" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | 6 | -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/no_args/run_8/main.k: -------------------------------------------------------------------------------- 1 | hello = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/no_args/run_8/sub/main.k: -------------------------------------------------------------------------------- 1 | sub = 'Hello Sub !' -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/remote/expect_3.yaml: -------------------------------------------------------------------------------- 1 | The_first_kcl_program: Hello World! -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/with_args/run_0/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/with_args/run_1/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "run_0" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | 6 | 7 | -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/with_args/run_1/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/with_args/run_10/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "run_10" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | 6 | 7 | -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/with_args/run_10/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/with_args/run_10/sub/kcl.yaml: -------------------------------------------------------------------------------- 1 | kcl_cli_configs: 2 | files: 3 | - ../sub1/sub.k -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/with_args/run_10/sub/sub.k: -------------------------------------------------------------------------------- 1 | The_sub_kcl_program = "Hello Sub World!" -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/with_args/run_10/sub1/sub.k: -------------------------------------------------------------------------------- 1 | The_sub_kcl_program_1 = "Hello Sub World 1!" -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/with_args/run_11/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "run_11" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | 6 | [profile] 7 | entries = ["sub/sub.k"] -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/with_args/run_11/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/with_args/run_11/sub/kcl.yaml: -------------------------------------------------------------------------------- 1 | kcl_cli_configs: 2 | files: 3 | - ../sub1/sub.k -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/with_args/run_11/sub/sub.k: -------------------------------------------------------------------------------- 1 | The_sub_kcl_program = "Hello Sub World!" -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/with_args/run_11/sub1/sub.k: -------------------------------------------------------------------------------- 1 | The_sub_kcl_program_1 = "Hello Sub World 1!" -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/with_args/run_12/sub1/main.k: -------------------------------------------------------------------------------- 1 | sub1 = 1 -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/with_args/run_12/sub2/main.k: -------------------------------------------------------------------------------- 1 | sub2 = 2 -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/with_args/run_13/temp: -------------------------------------------------------------------------------- 1 | temp = "non-k-file" -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/with_args/run_14/main.k: -------------------------------------------------------------------------------- 1 | main = "main" -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/with_args/run_14/main1.k: -------------------------------------------------------------------------------- 1 | main1 = "main1" -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/with_args/run_14/sub/sub.k: -------------------------------------------------------------------------------- 1 | sub = "sub" -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/with_args/run_14/sub/sub1/sub.k: -------------------------------------------------------------------------------- 1 | sub1 = "sub1" -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/with_args/run_14/temp: -------------------------------------------------------------------------------- 1 | temp = "non-k-file" -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/with_args/run_2/base.k: -------------------------------------------------------------------------------- 1 | base = "Base" -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/with_args/run_2/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/with_args/run_3/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "run_3" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | 6 | [profile] 7 | entries = ["sub/sub.k"] 8 | -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/with_args/run_3/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/with_args/run_3/sub/sub.k: -------------------------------------------------------------------------------- 1 | sub = "SUB" -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/with_args/run_4/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "run_4" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | 6 | 7 | -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/with_args/run_4/kcl.yaml: -------------------------------------------------------------------------------- 1 | kcl_cli_configs: 2 | files: 3 | - sub/sub.k -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/with_args/run_4/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/with_args/run_4/sub/sub.k: -------------------------------------------------------------------------------- 1 | The_sub_kcl_program = "Hello Sub World!" -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/with_args/run_5/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/with_args/run_6/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "run_0" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | 6 | 7 | -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/with_args/run_6/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/with_args/run_7/base.k: -------------------------------------------------------------------------------- 1 | base = "Base" -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/with_args/run_7/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/with_args/run_8/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "run_3" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | 6 | [profile] 7 | entries = ["sub/sub.k"] 8 | -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/with_args/run_8/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/with_args/run_8/sub/sub.k: -------------------------------------------------------------------------------- 1 | sub = "SUB" -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/with_args/run_9/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "run_4" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | 6 | 7 | -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/with_args/run_9/kcl.yaml: -------------------------------------------------------------------------------- 1 | kcl_cli_configs: 2 | files: 3 | - sub/sub.k -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/with_args/run_9/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_options/with_args/run_9/sub/sub.k: -------------------------------------------------------------------------------- 1 | The_sub_kcl_program = "Hello Sub World!" -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_with_logger/main.k: -------------------------------------------------------------------------------- 1 | print("Hello, World!") -------------------------------------------------------------------------------- /pkg/client/test_data/test_run_with_modspec_version/main.k: -------------------------------------------------------------------------------- 1 | import helloworld 2 | 3 | res = helloworld.The_first_kcl_program -------------------------------------------------------------------------------- /pkg/client/test_data/test_update/test_update_kcl_mod/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "test_update" 3 | edition = "0.0.1" 4 | version = "0.0.1" 5 | 6 | [dependencies] 7 | helloworld = "0.1.2" 8 | -------------------------------------------------------------------------------- /pkg/client/test_data/test_update/test_update_kcl_mod/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_update/test_update_kcl_mod_lock/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "test_update" 3 | edition = "0.0.1" 4 | version = "0.0.1" 5 | -------------------------------------------------------------------------------- /pkg/client/test_data/test_update/test_update_kcl_mod_lock/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_update_no_sum_check/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "test_run_no_sum_check" 3 | edition = "0.0.1" 4 | version = "0.0.1" 5 | 6 | [dependencies] 7 | helloworld = "0.1.1" 8 | -------------------------------------------------------------------------------- /pkg/client/test_data/test_update_no_sum_check/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_update_with_mvs/update_0/dep_0/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "dep_0" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | 6 | [dependencies] 7 | helloworld = "0.1.0" 8 | -------------------------------------------------------------------------------- /pkg/client/test_data/test_update_with_mvs/update_0/dep_0/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_update_with_mvs/update_0/dep_1/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "dep_1" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | 6 | [dependencies] 7 | helloworld = "0.1.1" 8 | -------------------------------------------------------------------------------- /pkg/client/test_data/test_update_with_mvs/update_0/dep_1/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_update_with_mvs/update_0/dep_2/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "dep_2" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | 6 | [dependencies] 7 | helloworld = "0.1.0" 8 | -------------------------------------------------------------------------------- /pkg/client/test_data/test_update_with_mvs/update_0/dep_2/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_update_with_mvs/update_0/pkg/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_update_with_mvs/update_1/dep_0/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "dep_0" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | 6 | [dependencies] 7 | helloworld = "0.1.0" 8 | -------------------------------------------------------------------------------- /pkg/client/test_data/test_update_with_mvs/update_1/dep_0/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_update_with_mvs/update_1/dep_1/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "dep_1" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | 6 | [dependencies] 7 | helloworld = "0.1.1" 8 | -------------------------------------------------------------------------------- /pkg/client/test_data/test_update_with_mvs/update_1/dep_1/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_update_with_mvs/update_1/dep_2/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "dep_2" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | 6 | [dependencies] 7 | helloworld = "0.1.0" 8 | -------------------------------------------------------------------------------- /pkg/client/test_data/test_update_with_mvs/update_1/dep_2/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_update_with_mvs/update_1/pkg/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_vendor_mvs/dep1/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "dep1" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | 6 | [dependencies] 7 | helloworld = "0.1.1" 8 | -------------------------------------------------------------------------------- /pkg/client/test_data/test_vendor_mvs/dep1/kcl.mod.lock: -------------------------------------------------------------------------------- 1 | [dependencies] 2 | [dependencies.helloworld] 3 | name = "helloworld" 4 | full_name = "helloworld_0.1.1" 5 | version = "0.1.1" 6 | -------------------------------------------------------------------------------- /pkg/client/test_data/test_vendor_mvs/dep1/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_vendor_mvs/dep2/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "dep2" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | 6 | [dependencies] 7 | helloworld = "0.1.2" 8 | -------------------------------------------------------------------------------- /pkg/client/test_data/test_vendor_mvs/dep2/kcl.mod.lock: -------------------------------------------------------------------------------- 1 | [dependencies] 2 | [dependencies.helloworld] 3 | name = "helloworld" 4 | full_name = "helloworld_0.1.2" 5 | version = "0.1.2" 6 | -------------------------------------------------------------------------------- /pkg/client/test_data/test_vendor_mvs/dep2/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_vendor_mvs/pkg/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/test_virtual_pkg_visitor/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/client/test_data/update_with_default_dep/kcl.mod.bak: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "add_with_default" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | 6 | [dependencies] 7 | helloworld = "0.1.2" 8 | -------------------------------------------------------------------------------- /pkg/client/test_data/update_with_default_dep/kcl.mod.expect: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "add_with_default" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | 6 | [dependencies] 7 | helloworld = "0.1.2" 8 | -------------------------------------------------------------------------------- /pkg/client/test_data/update_with_default_dep/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/cmd/test_data/test_failed_update_conf/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "test_failed_update_conf" 3 | edition = "0.0.1" 4 | version = "0.0.1" 5 | 6 | -------------------------------------------------------------------------------- /pkg/cmd/test_data/test_failed_update_conf/kcl.mod.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kcl-lang/kpm/779d413de0890275cdd5b9034135cb67cfaba970/pkg/cmd/test_data/test_failed_update_conf/kcl.mod.lock -------------------------------------------------------------------------------- /pkg/cmd/test_data/test_failed_update_conf/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/cmd/test_data/test_gen_oci_url/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "test_gen_oci_url" 3 | edition = "0.0.1" 4 | version = "0.0.1" 5 | 6 | -------------------------------------------------------------------------------- /pkg/cmd/test_data/test_gen_oci_url/kcl.mod.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kcl-lang/kpm/779d413de0890275cdd5b9034135cb67cfaba970/pkg/cmd/test_data/test_gen_oci_url/kcl.mod.lock -------------------------------------------------------------------------------- /pkg/cmd/test_data/test_gen_oci_url/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/mock/test_data/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "test_data" 3 | edition = "v0.9.0" 4 | version = "0.0.1" 5 | 6 | [dependencies] 7 | k8s = "1.31" 8 | 9 | -------------------------------------------------------------------------------- /pkg/mock/test_data/kcl.mod.lock: -------------------------------------------------------------------------------- 1 | [dependencies] 2 | [dependencies.k8s] 3 | name = "k8s" 4 | full_name = "k8s_1.31" 5 | version = "1.31" 6 | -------------------------------------------------------------------------------- /pkg/mock/test_data/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/mvs/test_data/test_with_internal_deps/bbb/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "bbb" 3 | edition = "0.0.1" 4 | version = "0.0.1" 5 | 6 | -------------------------------------------------------------------------------- /pkg/mvs/test_data/test_with_internal_deps/ccc/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "ccc" 3 | edition = "0.0.1" 4 | version = "0.0.1" 5 | 6 | -------------------------------------------------------------------------------- /pkg/package/test_data/load_from_lock/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "load_from_lock" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | -------------------------------------------------------------------------------- /pkg/package/test_data/load_from_lock/kcl.mod.lock: -------------------------------------------------------------------------------- 1 | [dependencies] 2 | [dependencies.helloworld] 3 | name = "helloworld" 4 | full_name = "helloworld_0.1.2" 5 | version = "0.1.2" 6 | -------------------------------------------------------------------------------- /pkg/package/test_data/load_from_lock/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/package/test_data/load_without_settings/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/package/test_data/store_mod_file/expected.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "test_name" 3 | edition = "0.0.1" 4 | version = "0.0.1" 5 | 6 | -------------------------------------------------------------------------------- /pkg/package/test_data/store_mod_file/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "test_name" 3 | edition = "0.0.1" 4 | version = "0.0.1" 5 | -------------------------------------------------------------------------------- /pkg/package/test_data/test_check/test_full_name/test.txt: -------------------------------------------------------------------------------- 1 | sadfgasfgbasdfgasdf gdfsgetdsafg -------------------------------------------------------------------------------- /pkg/package/test_data/test_data_modfile/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "test_kcl_pkg" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | -------------------------------------------------------------------------------- /pkg/package/test_data/test_init_empty_mod/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "test_name" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | -------------------------------------------------------------------------------- /pkg/package/test_data/test_mod_with_desc/kcl.mod.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kcl-lang/kpm/779d413de0890275cdd5b9034135cb67cfaba970/pkg/package/test_data/test_mod_with_desc/kcl.mod.lock -------------------------------------------------------------------------------- /pkg/package/test_data/test_mod_with_desc/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/package/test_data/test_oci_url/marshal_2/expect.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "marshal_2" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | 6 | [dependencies] 7 | oci_pkg = "0.0.1" 8 | -------------------------------------------------------------------------------- /pkg/package/test_data/test_oci_url/marshal_2/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "marshal_2" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | 6 | [dependencies] 7 | oci_pkg = "0.0.1" 8 | -------------------------------------------------------------------------------- /pkg/resolver/test_data/test_resolve_graph/dep1/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "dep1" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | 6 | [dependencies] 7 | helloworld = "0.1.1" 8 | -------------------------------------------------------------------------------- /pkg/resolver/test_data/test_resolve_graph/dep1/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/resolver/test_data/test_resolve_graph/pkg/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/runner/testdata/import_external.k: -------------------------------------------------------------------------------- 1 | import external as ext 2 | import external_1 as ext_1 3 | 4 | a = ext.a 5 | a1 = ext_1.a -------------------------------------------------------------------------------- /pkg/runner/testdata/test_find_mod/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "test_find_mod" 3 | edition = "0.0.1" 4 | version = "0.0.1" 5 | 6 | -------------------------------------------------------------------------------- /pkg/runner/testdata/test_find_mod/kcl.mod.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kcl-lang/kpm/779d413de0890275cdd5b9034135cb67cfaba970/pkg/runner/testdata/test_find_mod/kcl.mod.lock -------------------------------------------------------------------------------- /pkg/runner/testdata/test_find_mod/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/runner/testdata/test_find_mod/sub/main.k: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kcl-lang/kpm/779d413de0890275cdd5b9034135cb67cfaba970/pkg/runner/testdata/test_find_mod/sub/main.k -------------------------------------------------------------------------------- /pkg/runner/testdata_external/external/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "external" 3 | edition = "0.0.1" 4 | version = "0.0.1" 5 | 6 | [dependencies] -------------------------------------------------------------------------------- /pkg/runner/testdata_external/external/kcl.mod.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kcl-lang/kpm/779d413de0890275cdd5b9034135cb67cfaba970/pkg/runner/testdata_external/external/kcl.mod.lock -------------------------------------------------------------------------------- /pkg/runner/testdata_external/external/main.k: -------------------------------------------------------------------------------- 1 | a = 'Hello External World!' -------------------------------------------------------------------------------- /pkg/runner/testdata_external/external_1/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "external_1" 3 | edition = "0.0.1" 4 | version = "0.0.1" 5 | 6 | [dependencies] -------------------------------------------------------------------------------- /pkg/runner/testdata_external/external_1/kcl.mod.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kcl-lang/kpm/779d413de0890275cdd5b9034135cb67cfaba970/pkg/runner/testdata_external/external_1/kcl.mod.lock -------------------------------------------------------------------------------- /pkg/runner/testdata_external/external_1/main.k: -------------------------------------------------------------------------------- 1 | a = 'Hello External_1 World!' -------------------------------------------------------------------------------- /pkg/settings/test_data/expected.json: -------------------------------------------------------------------------------- 1 | {"DefaultOciRegistry":"ghcr.io","DefaultOciRepo":"kcl-lang"} -------------------------------------------------------------------------------- /pkg/utils/test_data/test_find_package/test_1/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "test_find_package_false" 3 | edition = "v0.1.0" 4 | version = "0.0.1" -------------------------------------------------------------------------------- /pkg/utils/test_data/test_find_package/test_2/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "test_find_package" 3 | edition = "v0.1.0" 4 | version = "0.0.1" -------------------------------------------------------------------------------- /pkg/utils/test_data/test_hash/test_hash.txt: -------------------------------------------------------------------------------- 1 | test -------------------------------------------------------------------------------- /pkg/utils/test_data/test_link/is_link_exist/link_target_not_exist: -------------------------------------------------------------------------------- 1 | not_exist -------------------------------------------------------------------------------- /pkg/utils/test_data/test_link/is_link_exist/test.txt: -------------------------------------------------------------------------------- 1 | test for create link -------------------------------------------------------------------------------- /pkg/utils/test_data/test_link/need_be_linked_v1/test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kcl-lang/kpm/779d413de0890275cdd5b9034135cb67cfaba970/pkg/utils/test_data/test_link/need_be_linked_v1/test -------------------------------------------------------------------------------- /pkg/utils/test_data/test_tar/test_src/test.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kcl-lang/kpm/779d413de0890275cdd5b9034135cb67cfaba970/pkg/utils/test_data/test_tar/test_src/test.mod -------------------------------------------------------------------------------- /pkg/utils/test_data/test_tar/test_src/test.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kcl-lang/kpm/779d413de0890275cdd5b9034135cb67cfaba970/pkg/utils/test_data/test_tar/test_src/test.txt -------------------------------------------------------------------------------- /pkg/utils/test_data/test_tar/test_src/test_src.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kcl-lang/kpm/779d413de0890275cdd5b9034135cb67cfaba970/pkg/utils/test_data/test_tar/test_src/test_src.txt -------------------------------------------------------------------------------- /pkg/visitor/test_data/test_visit_dir/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "test_visit_dir" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | -------------------------------------------------------------------------------- /pkg/visitor/test_data/test_visit_dir/kcl.mod.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kcl-lang/kpm/779d413de0890275cdd5b9034135cb67cfaba970/pkg/visitor/test_data/test_visit_dir/kcl.mod.lock -------------------------------------------------------------------------------- /pkg/visitor/test_data/test_visit_dir/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/visitor/test_data/test_visit_tar/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "test_visit_tar" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | -------------------------------------------------------------------------------- /pkg/visitor/test_data/test_visit_tar/kcl.mod.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kcl-lang/kpm/779d413de0890275cdd5b9034135cb67cfaba970/pkg/visitor/test_data/test_visit_tar/kcl.mod.lock -------------------------------------------------------------------------------- /pkg/visitor/test_data/test_visit_tar/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /pkg/visitor/test_data/test_visited_space/helloworld_0.1.2/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "helloworld" 3 | edition = "*" 4 | version = "0.1.2" 5 | 6 | -------------------------------------------------------------------------------- /pkg/visitor/test_data/test_visited_space/helloworld_0.1.2/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /scripts/pkg_in_reg/kcl1/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /scripts/pkg_in_reg/kcl2/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_inside_pkg/add_exist_not_pkgpath/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_inside_pkg/add_exist_not_pkgpath/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm add /path/to/not/exist -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_inside_pkg/add_exist_not_pkgpath/test_suite.stderr: -------------------------------------------------------------------------------- 1 | failed to select latest version from 'localhost:5002/test/path/to/not/exist' 2 | -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_inside_pkg/add_exist_not_pkgpath/test_suite.stdout: -------------------------------------------------------------------------------- 1 | adding dependency 'exist' 2 | -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_inside_pkg/add_path_not_exist/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_inside_pkg/add_path_not_exist/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm add /an_invalid_kcl_pkg -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_inside_pkg/add_path_not_exist/test_suite.stderr: -------------------------------------------------------------------------------- 1 | could not load 'kcl.mod' in '/an_invalid_kcl_pkg' 2 | -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_inside_pkg/add_with_current_path/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_inside_pkg/add_with_current_path/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm add . -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_inside_pkg/add_with_current_path/test_suite.stderr: -------------------------------------------------------------------------------- 1 | cannot add 'kcl1' as a dependency to itself 2 | -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_inside_pkg/add_with_invalid_name/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_inside_pkg/add_with_invalid_name/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm add not_exist -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_inside_pkg/add_with_invalid_name/test_suite.stdout: -------------------------------------------------------------------------------- 1 | adding dependency 'not_exist' 2 | -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_inside_pkg/add_with_invalid_ref/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_inside_pkg/add_with_invalid_ref/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm add k8s:k8s:1.0.0 -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_inside_pkg/add_with_invalid_ref/test_suite.stderr: -------------------------------------------------------------------------------- 1 | invalid oci package reference 'k8s:k8s:1.0.0' 2 | -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_inside_pkg/add_with_name_invalid_tag/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_inside_pkg/add_with_name_invalid_tag/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm add k8s:not_exist_tag -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_inside_pkg/add_with_name_tag/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_inside_pkg/add_with_name_tag/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm add k8s:1.14 -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_inside_pkg/add_with_name_tag/test_suite.stdout: -------------------------------------------------------------------------------- 1 | add dependency 'k8s:1.14' successfully 2 | -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_inside_pkg/add_with_no_args/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_inside_pkg/add_with_no_args/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm add -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_inside_pkg/add_with_no_args/test_suite.stderr: -------------------------------------------------------------------------------- 1 | invalid 'kpm add' argument, you must provide a package name or url for the package 2 | -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_inside_pkg/add_with_noexist_path/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_inside_pkg/add_with_noexist_path/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm add /path_not_exist -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_inside_pkg/add_with_noexist_path/test_suite.stderr: -------------------------------------------------------------------------------- 1 | failed to select latest version from 'localhost:5002/test/path_not_exist' -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_inside_pkg/add_with_noexist_path/test_suite.stdout: -------------------------------------------------------------------------------- 1 | adding dependency 'path_not_exist' -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_inside_pkg/add_with_path_1/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_inside_pkg/add_with_path_1/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm add /a_kcl_pkg_dep_one_pkg -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_inside_pkg/add_with_path_1/test_suite.stdout: -------------------------------------------------------------------------------- 1 | add dependency 'a_kcl_pkg_dep_pkg_name:0.0.1' successfully 2 | -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_inside_pkg/add_with_relative_path/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_inside_pkg/add_with_relative_path/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm add ../a_kcl_pkg_dep_one_pkg -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_inside_pkg/add_with_relative_path/test_suite.stdout: -------------------------------------------------------------------------------- 1 | add dependency 'a_kcl_pkg_dep_pkg_name:0.0.1' successfully -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_inside_pkg/kpm_push_with_invalid_url/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_inside_pkg/kpm_push_with_invalid_url/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm push invalid_url -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_inside_pkg/kpm_push_with_invalid_url/test_suite.stderr: -------------------------------------------------------------------------------- 1 | only support url scheme 'oci://' 2 | invalid oci url 3 | -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_inside_pkg/push_kcl1_again/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_inside_pkg/push_kcl1_again/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm push -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_inside_pkg/push_kcl1_again/test_suite.stderr: -------------------------------------------------------------------------------- 1 | package version '0.0.1' already exists -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_inside_pkg/push_kcl1_again/test_suite.stdout: -------------------------------------------------------------------------------- 1 | package 'kcl1' will be pushed -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_inside_pkg/push_kcl1_reg_not_exist/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_inside_pkg/push_kcl1_reg_not_exist/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm push oci://not_exist_reg/not_exist_repo -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_inside_pkg/push_kcl1_reg_not_exist/test_suite.stderr: -------------------------------------------------------------------------------- 1 | failed to access 'not_exist_reg/not_exist_repo' 2 | -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_inside_pkg/push_kcl1_reg_not_exist/test_suite.stdout: -------------------------------------------------------------------------------- 1 | package 'kcl1' will be pushed 2 | -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_inside_pkg/run_with_input/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_inside_pkg/run_with_input/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm run --input kcl1.k --vendor -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_inside_pkg/run_with_input/test_suite.stdout: -------------------------------------------------------------------------------- 1 | t4: 4 2 | -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_inside_pkg/run_with_not_exist_input/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_inside_pkg/run_with_not_exist_input/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm run --input no_exist --vendor -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_inside_pkg/run_with_not_exist_input/test_suite.stderr: -------------------------------------------------------------------------------- 1 | Cannot find the kcl file, please check the file path /test_kcl/no_exist -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_inside_pkg/run_without_input/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_inside_pkg/run_without_input/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm run --vendor -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_inside_pkg/run_without_input/test_suite.stdout: -------------------------------------------------------------------------------- 1 | t4: 4 2 | -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/add_exist_not_pkgpath/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/add_exist_not_pkgpath/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm add /path/to/not/exist -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/add_exist_not_pkgpath/test_suite.stderr: -------------------------------------------------------------------------------- 1 | could not load 'kcl.mod' in '' 2 | open /kcl.mod: no such file or directory 3 | -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/add_path_not_exist/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/add_path_not_exist/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm add /an_invalid_kcl_pkg -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/add_path_not_exist/test_suite.stderr: -------------------------------------------------------------------------------- 1 | could not load 'kcl.mod' in '' 2 | open /kcl.mod: no such file or directory 3 | -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/add_with_name_outside/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/add_with_name_outside/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm add k8s -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/add_with_name_outside/test_suite.stderr: -------------------------------------------------------------------------------- 1 | could not load 'kcl.mod' in '' 2 | open /kcl.mod: no such file or directory 3 | -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/add_with_name_tag_outside/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/add_with_name_tag_outside/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm add k8s:1.14 -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/add_with_name_tag_outside/test_suite.stderr: -------------------------------------------------------------------------------- 1 | could not load 'kcl.mod' in '' 2 | open /kcl.mod: no such file or directory 3 | -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/add_with_no_args_outside/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/add_with_no_args_outside/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm add -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/add_with_no_args_outside/test_suite.stderr: -------------------------------------------------------------------------------- 1 | could not load 'kcl.mod' in '' 2 | open /kcl.mod: no such file or directory 3 | -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/help_msg/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/help_msg/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm --help -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/init_with_no_args/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/init_with_no_args/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm init -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/kpm_pull_with_no_args/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/kpm_pull_with_no_args/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm pull -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/kpm_pull_with_no_args/test_suite.stderr: -------------------------------------------------------------------------------- 1 | oci url or package name must be specified 2 | failed to pull kcl package 3 | -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/kpm_pull_with_oci_url/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/kpm_pull_with_oci_url/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm pull oci://localhost:5002/test/k8s -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/kpm_pull_with_oci_url_tag/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/kpm_pull_with_oci_url_tag/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm pull --tag 1.14 oci://localhost:5002/test/k8s -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/kpm_pull_with_only_tag/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/kpm_pull_with_only_tag/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm pull --tag v0.0.1 -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/kpm_pull_with_only_tag/test_suite.stderr: -------------------------------------------------------------------------------- 1 | oci url or package name must be specified 2 | failed to pull kcl package 3 | -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/kpm_pull_with_pkg_name/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/kpm_pull_with_pkg_name/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm pull k8s -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/kpm_pull_with_pkg_name_tag/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/kpm_pull_with_pkg_name_tag/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm pull k8s:1.27 -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/kpm_push_with_invalid_url/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/kpm_push_with_invalid_url/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm push --tar_path kcl1.tar invalid_url -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/kpm_push_with_invalid_url/test_suite.stderr: -------------------------------------------------------------------------------- 1 | only support url scheme 'oci://' 2 | invalid oci url 3 | -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/kpm_push_with_no_args/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/kpm_push_with_no_args/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm push -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/kpm_push_with_no_args/test_suite.stderr: -------------------------------------------------------------------------------- 1 | failed to load package in -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/kpm_run_oci_url/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/kpm_run_oci_url/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm run oci://localhost:5002/test/kcl1 -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/kpm_run_oci_url/test_suite.stdout: -------------------------------------------------------------------------------- 1 | The_first_kcl_program: Hello World! -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/kpm_run_oci_url_quiet/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/kpm_run_oci_url_quiet/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm run oci://localhost:5002/test/kcl1 -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/kpm_run_oci_url_quiet/test_suite.stdout: -------------------------------------------------------------------------------- 1 | The_first_kcl_program: Hello World! -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/login_reg_without_args/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/login_reg_without_args/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm login ghcr.io -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/login_reg_without_args/test_suite.stdout: -------------------------------------------------------------------------------- 1 | Username: -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/login_reg_without_password/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/login_reg_without_password/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm login -u aaaa ghcr.io -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/login_reg_without_password/test_suite.stdout: -------------------------------------------------------------------------------- 1 | Password: -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/login_reg_without_username/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/login_reg_without_username/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm login -p aaaa ghcr.io -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/login_with_no_args/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/login_with_no_args/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm login -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/login_with_no_args/test_suite.stderr: -------------------------------------------------------------------------------- 1 | registry must be specified -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/logout_reg_with_invalid_reg/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/logout_reg_with_invalid_reg/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm logout invalid_registry -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/logout_reg_with_invalid_reg/test_suite.stderr: -------------------------------------------------------------------------------- 1 | failed to logout 'invalid_registry' 2 | not logged in -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/logout_reg_without_args/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/logout_reg_without_args/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm logout -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/logout_reg_without_args/test_suite.stderr: -------------------------------------------------------------------------------- 1 | registry must be specified -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/pull_private_pkg/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/pull_private_pkg/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm pull oci://localhost:5002/test/helloworld -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/push_outside_pkg/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/push_outside_pkg/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm push -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/push_outside_pkg/test_suite.stderr: -------------------------------------------------------------------------------- 1 | failed to load package in '' -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/run_oci_with_invalid_ref/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/run_oci_with_invalid_ref/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm run invalid_oci_repo:invalid_tag -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/run_oci_with_invalid_ref/test_suite.stdout: -------------------------------------------------------------------------------- 1 | downloading 'test/invalid_oci_repo:invalid_tag' from 'localhost:5002/test/invalid_oci_repo:invalid_tag' -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/run_oci_with_invalid_url/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/run_oci_with_invalid_url/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm run -tag v0.0.1 oci://invalid_url -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/run_oci_with_invalid_url/test_suite.stderr: -------------------------------------------------------------------------------- 1 | repository 'invalid_url' not found -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/run_oci_with_invalid_url_without_tag/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/run_oci_with_invalid_url_without_tag/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm run oci://invalid_url -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/run_oci_with_invalid_url_without_tag/test_suite.stderr: -------------------------------------------------------------------------------- 1 | repository 'invalid_url' not found 2 | -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/run_tar_with_exist_not_tar/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/run_tar_with_exist_not_tar/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm run --input kcl1.k --vendor exist_but_not_tar -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/run_tar_with_exist_not_tar/test_suite.stderr: -------------------------------------------------------------------------------- 1 | invalid file path 'exist_but_not_tar' -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/run_tar_with_input/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/run_tar_with_input/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm run --input kcl1.k --vendor kcl1.tar -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/run_tar_with_not_exist_tar/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/run_tar_with_not_exist_tar/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm run --input kcl1.k --vendor no_exist.tar -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/run_tar_with_not_exist_tar/test_suite.stderr: -------------------------------------------------------------------------------- 1 | failed to open 'no_exist.tar' 2 | open no_exist.tar: no such file or directory -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/run_tar_without_input/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/run_tar_without_input/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm run --vendor kcl1.tar -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/version/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/version/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm --version -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/exec_outside_pkg/version/test_suite.stdout: -------------------------------------------------------------------------------- 1 | kpm version test_version 2 | -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/ignores/kpm_push_without_url/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/ignores/kpm_push_without_url/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm push --tar_path kcl1.tar -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/ignores/kpm_push_without_url/test_suite.stderr: -------------------------------------------------------------------------------- 1 | oci url must be specified 2 | -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/ignores/run_tar_with_input_with_kclvm_args/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/ignores/run_tar_with_input_with_kclvm_args/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm run --input kcl1.k --vendor --kcl_args "-S demo" kcl1.tar -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_add/add_with_name_1/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_add/add_with_name_1/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm add kcl1 -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_add/add_with_name_1/test_suite.stdout: -------------------------------------------------------------------------------- 1 | add dependency 'kcl1' successfully -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_add/add_with_name_2/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_add/add_with_name_2/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm add kcl2 -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_add/add_with_name_2/test_suite.stdout: -------------------------------------------------------------------------------- 1 | add dependency 'kcl2' successfully -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_add/add_with_name_3/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_add/add_with_name_3/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm add kcl2 -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_add/add_with_name_3/test_suite.stdout: -------------------------------------------------------------------------------- 1 | add dependency 'kcl2' successfully -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_add/add_with_path_2/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_add/add_with_path_2/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm add /a_kcl_pkg_dep_one_pkg_2 -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_add/add_with_path_2/test_suite.stdout: -------------------------------------------------------------------------------- 1 | add dependency 'a_kcl_pkg_dep_pkg_name:0.0.1' successfully -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_add/test_add_with_name/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_add/test_add_with_name/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm add k8s -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_add/test_add_with_name/test_suite.stdout: -------------------------------------------------------------------------------- 1 | add dependency 'k8s' successfully 2 | -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_add/test_add_with_url/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_add/test_add_with_url/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm add oci://localhost:5002/test/helloworld -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_add/test_add_with_url/test_suite.stdout: -------------------------------------------------------------------------------- 1 | add dependency 'helloworld' successfully -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_add/test_add_with_url_0/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_add/test_add_with_url_0/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm add oci://localhost:5002/test/helloworld?tag=0.1.1 -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_add/test_add_with_url_0/test_suite.stdout: -------------------------------------------------------------------------------- 1 | add dependency 'helloworld:0.1.1' successfully -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_add/test_add_with_url_1/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_add/test_add_with_url_1/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm add https://github.com/KusionStack/catalog.git?commit=3891e96 -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_add/test_add_with_url_1/test_suite.stdout: -------------------------------------------------------------------------------- 1 | add dependency 'catalog:3891e96' successfully -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_add/test_kpm_add_git_commit/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_add/test_kpm_add_git_commit/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm add -git https://github.com/KusionStack/catalog.git -commit 3891e96 -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_add/test_kpm_add_git_commit/test_suite.stdout: -------------------------------------------------------------------------------- 1 | add dependency 'catalog:3891e96' successfully -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_add/test_kpm_add_git_commit_0/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_add/test_kpm_add_git_commit_0/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm add -git https://github.com/kcl-lang/flask-demo-kcl-manifests.git -commit 0b3f5ab -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_add/test_kpm_add_git_commit_0/test_suite.stdout: -------------------------------------------------------------------------------- 1 | add dependency 'flask-demo-kcl-manifests:0b3f5ab' successfully -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_add/test_kpm_add_git_commit_1/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_add/test_kpm_add_git_commit_1/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm add -git https://github.com/kcl-lang/flask-demo-kcl-manifests.git -commit 8308200 -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_add/test_kpm_add_git_commit_1/test_suite.stdout: -------------------------------------------------------------------------------- 1 | add dependency 'flask-demo-kcl-manifests:8308200' successfully -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_metadata/test_kpm_metadata/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_metadata/test_kpm_metadata/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm metadata -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_metadata/test_kpm_metadata/test_suite.stdout: -------------------------------------------------------------------------------- 1 | {"packages":{"dep_with_line":{"name":"dep_with_line","manifest_path":"/test_kpm_metadata/dep-with-line"}}} -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_metadata/test_kpm_metadata_duplication/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_metadata/test_kpm_metadata_duplication/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm metadata -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_metadata/test_kpm_metadata_with_commit_dep/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_metadata/test_kpm_metadata_with_commit_dep/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm metadata --update -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_metadata/test_kpm_metadata_with_commit_dep/test_suite.stdout: -------------------------------------------------------------------------------- 1 | {"packages":{"catalog":{"name":"catalog","manifest_path":"/.kcl/kpm/catalog_c5435e733"}}} -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_push/test_push_localhost/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_push/test_push_localhost/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm push oci://localhost:5002/test/helloworld -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_push/test_push_localhost/test_suite.stdout: -------------------------------------------------------------------------------- 1 | package 'helloworld' will be pushed 2 | pushed [registry] localhost:5002/test/helloworld -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm run -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run/test_suite.stdout: -------------------------------------------------------------------------------- 1 | The_first_kcl_program: Hello World! 2 | -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_duplication_deps/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_duplication_deps/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm run -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_file_with_sub/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_file_with_sub/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm run ./main.k -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_file_with_sub/test_suite.stdout: -------------------------------------------------------------------------------- 1 | a: 2 2 | -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_multi_local_path_0/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_multi_local_path_0/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm run /pkg1 -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_multi_local_path_0/test_suite.stdout: -------------------------------------------------------------------------------- 1 | The_first_kcl_program: Hello World! -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_multi_local_path_1/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_multi_local_path_1/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm run /pkg1 -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_multi_local_path_1/test_suite.stdout: -------------------------------------------------------------------------------- 1 | The_first_kcl_program: Hello World! -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_multi_local_path_2/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_multi_local_path_2/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm run /pkg1 -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_multi_local_path_2/test_suite.stdout: -------------------------------------------------------------------------------- 1 | The_first_kcl_program: Hello World! -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_multi_local_path_3/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_multi_local_path_3/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm run /pkg1 -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_multi_local_path_3/test_suite.stdout: -------------------------------------------------------------------------------- 1 | The_first_kcl_program: Hello World! -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_multi_local_path_4/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_multi_local_path_4/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm run /pkg1 -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_multi_local_path_4/test_suite.stdout: -------------------------------------------------------------------------------- 1 | The_first_kcl_program: Hello World! -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_multi_local_path_5/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_multi_local_path_5/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm run /pkg1 -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_multi_local_path_5/test_suite.stdout: -------------------------------------------------------------------------------- 1 | The_first_kcl_program: Hello World! -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_quiet/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_quiet/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm --quiet run -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_underline/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_underline/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm run /test_with_line -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_underline/test_suite.stdout: -------------------------------------------------------------------------------- 1 | inst: Hello World! -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_disable_none/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_disable_none/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm run -n -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_disable_none/test_suite.stdout: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_disable_none_profile/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_disable_none_profile/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm run -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_disable_none_profile/test_suite.stdout: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_entry_dir/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_entry_dir/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm run -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_entry_dir/test_suite.stdout: -------------------------------------------------------------------------------- 1 | sub: The main.k in sub dir. 2 | -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_entry_kfile/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_entry_kfile/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm run -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_entry_kfile/test_suite.stdout: -------------------------------------------------------------------------------- 1 | sub: The main.k in sub dir. 2 | -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_entry_sub_yaml/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_entry_sub_yaml/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm run -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_entry_sub_yaml/test_suite.stdout: -------------------------------------------------------------------------------- 1 | sub: The main.k in sub dir. 2 | The_first_kcl_program: Hello World! 3 | -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_entry_yaml/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_entry_yaml/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm run -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_entry_yaml/test_suite.stdout: -------------------------------------------------------------------------------- 1 | sub: The main.k in sub dir. 2 | The_first_kcl_program: Hello World! 3 | -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_git_branch_dep/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_git_branch_dep/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm --quiet run -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_git_commit_dep/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_git_commit_dep/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm --quiet run -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_git_commit_dep_1/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_git_commit_dep_1/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm --quiet run -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_input/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_input/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm run --input main.k -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_input/test_suite.stdout: -------------------------------------------------------------------------------- 1 | The_first_kcl_program: Hello World! 2 | -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_local_dep/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_local_dep/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm run /kcl1 -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_local_dep/test_suite.stdout: -------------------------------------------------------------------------------- 1 | k2_inst: 2 | msg: Hello World! 3 | -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_multi_kfile/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_multi_kfile/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm run main.k main1.k -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_multi_kfile/test_suite.stdout: -------------------------------------------------------------------------------- 1 | The_first_kcl_program: Hello World! 2 | The_first_kcl_program1: Hello World! 3 | -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_multi_kfile_1/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_multi_kfile_1/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm run main.k sub/main1.k -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_multi_kfile_2/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_multi_kfile_2/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm run main.k sub/main1.k -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_multi_kfile_2/test_suite.stdout: -------------------------------------------------------------------------------- 1 | The_first_kcl_program: Hello World! 2 | The_first_kcl_program1: Hello World! 3 | -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_multi_kfile_3/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_multi_kfile_3/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm run -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_multi_kfile_3/test_suite.stdout: -------------------------------------------------------------------------------- 1 | The_first_kcl_program: Hello World! 2 | The_first_kcl_program1: Hello World! 3 | -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_multi_kfile_4/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_multi_kfile_4/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm run main.k main1.k -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_multi_kfile_4/test_suite.stdout: -------------------------------------------------------------------------------- 1 | The_first_kcl_program: Hello World! 2 | The_first_kcl_program1: Hello World! 3 | -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_multi_pkg/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_multi_pkg/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm run kcl1/main.k kcl2/main.k -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_multi_pkg_1/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_multi_pkg_1/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm run kcl1/main.k kcl2/main.k oci://kcl-lang/kcl -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_one_dir/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_one_dir/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm run /sub -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_one_dir/test_suite.stdout: -------------------------------------------------------------------------------- 1 | The_first_kcl_program: Hello World! 2 | The_first_kcl_program1: Hello World! 3 | -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_one_kfile/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_one_kfile/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm run ./main.k -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_one_kfile/test_suite.stdout: -------------------------------------------------------------------------------- 1 | The_first_kcl_program: Hello World! 2 | -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_one_kfile_1/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_one_kfile_1/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm run ./main.k -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_one_kfile_1/test_suite.stdout: -------------------------------------------------------------------------------- 1 | The_first_kcl_program: Hello World! 2 | -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_one_kfile_2/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_one_kfile_2/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm run ./main.k -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_one_kfile_2/test_suite.stdout: -------------------------------------------------------------------------------- 1 | The_first_kcl_program: Hello World! 2 | -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_one_kfile_entry/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_one_kfile_entry/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm run -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_one_kfile_entry/test_suite.stdout: -------------------------------------------------------------------------------- 1 | The_first_kcl_program1: Hello World! 2 | -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_only_kcl_mod/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_only_kcl_mod/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm run -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_only_kcl_mod/test_suite.stdout: -------------------------------------------------------------------------------- 1 | a: Hello World! -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_option/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_option/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm run -D name1=Hello1 -D name2=Hello2 -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_option/test_suite.stdout: -------------------------------------------------------------------------------- 1 | The_first_kcl_program1: Hello1 2 | The_first_kcl_program2: Hello2 3 | -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_option_profile/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_option_profile/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm run -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_option_profile/test_suite.stdout: -------------------------------------------------------------------------------- 1 | The_first_kcl_program1: Hello1 2 | The_first_kcl_program2: Hello2 3 | -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_override/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_override/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm run -O a2.image="new-a2-image:v123" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_override/test_suite.stdout: -------------------------------------------------------------------------------- 1 | a1: 2 | image: default 3 | name: a1-app 4 | a2: 5 | image: new-a2-image:v123 6 | name: app 7 | -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_override_profile/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_override_profile/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm run -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_override_profile/test_suite.stdout: -------------------------------------------------------------------------------- 1 | a1: 2 | image: default 3 | name: a1-app 4 | a2: 5 | image: new-a2-image:v123 6 | name: app 7 | -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_path_selector_profile/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_path_selector_profile/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm run -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_path_selector_profile/test_suite.stdout: -------------------------------------------------------------------------------- 1 | yellow -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_setting/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_setting/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm run -Y ./kcl.yaml -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_setting/test_suite.stdout: -------------------------------------------------------------------------------- 1 | sub: The main.k in sub dir. 2 | The_first_kcl_program: Hello World! 3 | -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_sort_key/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_sort_key/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm run -k -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_sort_key/test_suite.stdout: -------------------------------------------------------------------------------- 1 | a: 2 2 | b: 1 3 | -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_sort_key_profile/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_sort_key_profile/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm run -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_sort_key_profile/test_suite.stdout: -------------------------------------------------------------------------------- 1 | a: 2 2 | b: 1 3 | -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_update/test_update_with_all/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/kpm_update/test_update_with_all/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm update -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/test_oci/test_push_with_oci_manifest/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/test_oci/test_push_with_oci_manifest/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm push -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/workflows/add_multi_times/1.init_an_empty_pkg/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/workflows/add_multi_times/1.init_an_empty_pkg/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm init -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/workflows/add_multi_times/2.first_add_konfig_dep/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/workflows/add_multi_times/2.first_add_konfig_dep/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm add -git https://github.com/kcl-lang/konfig -tag v0.10.0 -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/workflows/add_multi_times/2.first_add_konfig_dep/test_suite.stdout: -------------------------------------------------------------------------------- 1 | add dependency 'konfig:v0.10.0' successfully -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/workflows/add_multi_times/3.second_add_konfig_dep/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/workflows/add_multi_times/3.second_add_konfig_dep/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm add -git https://github.com/kcl-lang/konfig -tag v0.10.0 -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/workflows/add_multi_times/3.second_add_konfig_dep/test_suite.stdout: -------------------------------------------------------------------------------- 1 | add dependency 'konfig:v0.10.0' successfully -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/workflows/add_multi_times/4.third_add_konfig_dep/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/workflows/add_multi_times/4.third_add_konfig_dep/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm add -git https://github.com/kcl-lang/konfig -tag v0.10.0 -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/workflows/add_multi_times/4.third_add_konfig_dep/test_suite.stdout: -------------------------------------------------------------------------------- 1 | add dependency 'konfig:v0.10.0' successfully -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/workflows/init_add_and_run/1.init_an_empty_pkg/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/workflows/init_add_and_run/1.init_an_empty_pkg/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm init -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/workflows/init_add_and_run/2.kpm_add/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/workflows/init_add_and_run/2.kpm_add/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm add -git https://github.com/kcl-lang/flask-demo-kcl-manifests.git -commit 8308200 -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/workflows/init_add_and_run/2.kpm_add/test_suite.stdout: -------------------------------------------------------------------------------- 1 | add dependency 'flask-demo-kcl-manifests:8308200' successfully -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/workflows/init_add_and_run/3.kpm_run/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/workflows/init_add_and_run/3.kpm_run/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm run -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/workflows/init_add_and_run/3.kpm_run/test_suite.stdout: -------------------------------------------------------------------------------- 1 | The_first_kcl_program: Hello World! 2 | -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/workflows/init_and_run/1.init_an_empty_pkg/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/workflows/init_and_run/1.init_an_empty_pkg/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm init -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/workflows/init_and_run/2.kpm_run/test_suite.env: -------------------------------------------------------------------------------- 1 | KPM_HOME="" 2 | KCLVM_VENDOR_HOME="" -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/workflows/init_and_run/2.kpm_run/test_suite.input: -------------------------------------------------------------------------------- 1 | kpm run -------------------------------------------------------------------------------- /test/e2e/test_suites/kpm/workflows/init_and_run/2.kpm_run/test_suite.stdout: -------------------------------------------------------------------------------- 1 | The_first_kcl_program: Hello World! 2 | -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/a_kcl_pkg_dep_one_pkg/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/a_kcl_pkg_dep_one_pkg_2/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/a_kcl_pkg_dep_one_pkg_3/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/a_kcl_pkg_dep_one_pkg_4/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/a_kcl_pkg_dep_one_pkg_5/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/add_with_name_1/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "add_with_name_1" 3 | edition = "v0.8.0" 4 | version = "0.0.1" 5 | 6 | -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/add_with_name_1/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/add_with_name_2/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "add_with_name_2" 3 | edition = "v0.8.0" 4 | version = "0.0.1" 5 | 6 | -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/add_with_name_2/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/add_with_name_3/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "add_with_name_3" 3 | edition = "v0.8.0" 4 | version = "0.0.1" 5 | 6 | -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/add_with_name_3/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/add_with_path_2/a_kcl_pkg_dep_one_pkg_2/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/add_with_path_2/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "add_with_path_2" 3 | edition = "v0.8.0" 4 | version = "0.0.1" 5 | 6 | -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/add_with_path_2/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/kcl1.tar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kcl-lang/kpm/779d413de0890275cdd5b9034135cb67cfaba970/test/e2e/test_suites/test_data/kcl1.tar -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_add_with_name/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_add_with_name_1/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_add_with_url/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "test_add_with_url" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | 6 | -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_add_with_url/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_add_with_url_0/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "test_add_with_url" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_add_with_url_0/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_add_with_url_1/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "test_add_with_url" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | 6 | -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_add_with_url_1/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kcl/kcl1.k: -------------------------------------------------------------------------------- 1 | import kcl4 as k4 2 | 3 | t4 = k4.kcl4 4 | -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kcl/vendor/kcl4_v0.1.0/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "kcl4" 3 | edition = "0.0.1" 4 | version = "0.0.1" 5 | -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kcl/vendor/kcl4_v0.1.0/kcl4.k: -------------------------------------------------------------------------------- 1 | kcl4 = 4 -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_add_git_commit_0/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "test_kpm_add_git_commit_0" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_add_git_commit_0/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_add_git_commit_1/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "test_kpm_add_git_commit_1" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_add_git_commit_1/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_metadata/dep-with-line/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "dep-with-line" 3 | edition = "0.0.1" 4 | version = "0.0.1" 5 | 6 | -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_metadata/dep-with-line/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_metadata/main.k: -------------------------------------------------------------------------------- 1 | import dep_with_line as dwl 2 | 3 | inst = dwl.The_first_kcl_program -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_metadata_duplication/dep-with-line/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "dep-with-line" 3 | edition = "0.0.1" 4 | version = "0.0.1" 5 | 6 | -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_metadata_duplication/dep-with-line/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_metadata_duplication/dep_with-line/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "dep_with-line" 3 | edition = "0.0.1" 4 | version = "0.0.1" 5 | 6 | -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_metadata_duplication/dep_with-line/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_metadata_duplication/main.k: -------------------------------------------------------------------------------- 1 | import dep_with_line as dwl 2 | 3 | inst = dwl.The_first_kcl_program -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_metadata_with_commit_dep/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "test_kpm_run" 3 | edition = "0.0.1" 4 | version = "0.0.1" 5 | 6 | [dependencies] -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_duplication_deps/dep-with-line/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "dep-with-line" 3 | edition = "0.0.1" 4 | version = "0.0.1" 5 | 6 | -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_duplication_deps/dep-with-line/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_duplication_deps/dep_with-line/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "dep_with-line" 3 | edition = "0.0.1" 4 | version = "0.0.1" 5 | 6 | -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_duplication_deps/dep_with-line/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_duplication_deps/main.k: -------------------------------------------------------------------------------- 1 | import dep_with_line as dwl 2 | 3 | inst = dwl.The_first_kcl_program -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_file_with_sub/main.k: -------------------------------------------------------------------------------- 1 | import sub 2 | 3 | a = sub.sub -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_file_with_sub/sub/main.k: -------------------------------------------------------------------------------- 1 | sub = 2 -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_multi_local_path/pkg1/main.k: -------------------------------------------------------------------------------- 1 | import pkg2 2 | 3 | The_first_kcl_program = pkg2.The_first_kcl_program -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_multi_local_path/pkg2/main.k: -------------------------------------------------------------------------------- 1 | import pkg3 2 | 3 | The_first_kcl_program = pkg3.The_first_kcl_program -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_multi_local_path/pkg3/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "pkg3" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | 6 | -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_multi_local_path/pkg3/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_multi_local_path_0/pkg/pkg2/main.k: -------------------------------------------------------------------------------- 1 | import pkg3 2 | 3 | The_first_kcl_program = pkg3.The_first_kcl_program -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_multi_local_path_0/pkg/pkg3/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "pkg3" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | 6 | -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_multi_local_path_0/pkg/pkg3/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_multi_local_path_0/pkg1/main.k: -------------------------------------------------------------------------------- 1 | import pkg2 2 | 3 | The_first_kcl_program = pkg2.The_first_kcl_program -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_multi_local_path_1/pkg/pkg2/main.k: -------------------------------------------------------------------------------- 1 | import pkg3 2 | 3 | The_first_kcl_program = pkg3.The_first_kcl_program -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_multi_local_path_1/pkg/pkg3/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "pkg3" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | 6 | -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_multi_local_path_1/pkg/pkg3/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_multi_local_path_1/pkg1/main.k: -------------------------------------------------------------------------------- 1 | import pkg2 2 | 3 | The_first_kcl_program = pkg2.The_first_kcl_program -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_multi_local_path_2/pkg/pkg2/main.k: -------------------------------------------------------------------------------- 1 | import pkg3 2 | 3 | The_first_kcl_program = pkg3.The_first_kcl_program -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_multi_local_path_2/pkg/pkg3/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "pkg3" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | 6 | -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_multi_local_path_2/pkg/pkg3/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_multi_local_path_2/pkg1/main.k: -------------------------------------------------------------------------------- 1 | import pkg2 2 | 3 | The_first_kcl_program = pkg2.The_first_kcl_program -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_multi_local_path_3/pkg/pkg2/main.k: -------------------------------------------------------------------------------- 1 | import pkg3 2 | 3 | The_first_kcl_program = pkg3.The_first_kcl_program -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_multi_local_path_3/pkg/pkg3/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "pkg3" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | 6 | -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_multi_local_path_3/pkg/pkg3/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_multi_local_path_3/pkg1/main.k: -------------------------------------------------------------------------------- 1 | import pkg2 2 | 3 | The_first_kcl_program = pkg2.The_first_kcl_program -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_multi_local_path_4/pkg/pkg2/main.k: -------------------------------------------------------------------------------- 1 | import pkg3 2 | 3 | The_first_kcl_program = pkg3.The_first_kcl_program -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_multi_local_path_4/pkg/pkg3/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "pkg3" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | 6 | -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_multi_local_path_4/pkg/pkg3/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_multi_local_path_4/pkg1/main.k: -------------------------------------------------------------------------------- 1 | import pkg2 2 | 3 | The_first_kcl_program = pkg2.The_first_kcl_program -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_multi_local_path_5/pkg/pkg/pkg3/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "pkg3" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | 6 | -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_multi_local_path_5/pkg/pkg/pkg3/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_multi_local_path_5/pkg/pkg2/main.k: -------------------------------------------------------------------------------- 1 | import pkg3 2 | 3 | The_first_kcl_program = pkg3.The_first_kcl_program -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_multi_local_path_5/pkg1/main.k: -------------------------------------------------------------------------------- 1 | import pkg2 2 | 3 | The_first_kcl_program = pkg2.The_first_kcl_program -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_underline/dep-with-line/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "dep-with-line" 3 | edition = "0.0.1" 4 | version = "0.0.1" 5 | 6 | -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_underline/dep-with-line/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_underline/test_with_line/main.k: -------------------------------------------------------------------------------- 1 | import dep_with_line as dwl 2 | 3 | inst = dwl.The_first_kcl_program -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_disable_none/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "test_kpm_run_with_disable_none" 3 | edition = "0.0.1" 4 | version = "0.0.1" 5 | 6 | [dependencies] -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_disable_none/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = None -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_disable_none_profile/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = None -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_entry_dir/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_entry_dir/sub/main.k: -------------------------------------------------------------------------------- 1 | sub = "The main.k in sub dir." -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_entry_kfile/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_entry_kfile/sub/main.k: -------------------------------------------------------------------------------- 1 | sub = "The main.k in sub dir." -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_entry_sub_yaml/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_entry_sub_yaml/sub/kcl.yaml: -------------------------------------------------------------------------------- 1 | kcl_cli_configs: 2 | file: 3 | - ./sub/main.k 4 | - main.k -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_entry_sub_yaml/sub/main.k: -------------------------------------------------------------------------------- 1 | sub = "The main.k in sub dir." -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_entry_yaml/kcl.yaml: -------------------------------------------------------------------------------- 1 | kcl_cli_configs: 2 | file: 3 | - ./sub/main.k 4 | - main.k -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_entry_yaml/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_entry_yaml/sub/main.k: -------------------------------------------------------------------------------- 1 | sub = "The main.k in sub dir." -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_git_branch_dep/main.k: -------------------------------------------------------------------------------- 1 | import flask_demo_kcl_manifests as flask 2 | 3 | a = flask.config -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_git_commit_dep_1/main.k: -------------------------------------------------------------------------------- 1 | import sub as s 2 | 3 | a = s.sub_app -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_input/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "test_kpm_run_with_input" 3 | edition = "0.0.1" 4 | version = "0.0.1" 5 | 6 | [dependencies] -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_input/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_local_dep/kcl1/main.k: -------------------------------------------------------------------------------- 1 | import kcl2 as k2 2 | 3 | k2_inst = k2.SchemaInK2 { 4 | msg: "Hello World!" 5 | } -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_local_dep/kcl2/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "kcl2" 3 | edition = "0.0.1" 4 | version = "0.0.1" 5 | 6 | -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_local_dep/kcl2/main.k: -------------------------------------------------------------------------------- 1 | schema SchemaInK2: 2 | msg: str -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_multi_kfile/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_multi_kfile/main1.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program1 = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_multi_kfile_1/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_multi_kfile_1/sub/main1.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program1 = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_multi_kfile_2/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "test_kpm_run_with_multi_kfile_2" 3 | edition = "0.0.1" 4 | version = "0.0.1" 5 | 6 | -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_multi_kfile_2/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_multi_kfile_2/sub/main1.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program1 = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_multi_kfile_3/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "test_kpm_run_with_multi_kfile_2" 3 | edition = "0.0.1" 4 | version = "0.0.1" 5 | 6 | -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_multi_kfile_3/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_multi_kfile_3/main1.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program1 = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_multi_kfile_4/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "test_kpm_run_with_multi_kfile_2" 3 | edition = "0.0.1" 4 | version = "0.0.1" 5 | 6 | -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_multi_kfile_4/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_multi_kfile_4/main1.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program1 = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_multi_pkg/kcl1/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "kcl1" 3 | edition = "0.0.1" 4 | version = "0.0.1" 5 | 6 | -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_multi_pkg/kcl1/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_multi_pkg/kcl2/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "kcl2" 3 | edition = "0.0.1" 4 | version = "0.0.1" 5 | 6 | -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_multi_pkg/kcl2/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_multi_pkg_1/kcl1/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "kcl1" 3 | edition = "0.0.1" 4 | version = "0.0.1" 5 | 6 | -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_multi_pkg_1/kcl1/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_multi_pkg_1/kcl2/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "kcl2" 3 | edition = "0.0.1" 4 | version = "0.0.1" 5 | 6 | -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_multi_pkg_1/kcl2/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_one_dir/sub/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_one_dir/sub/main1.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program1 = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_one_kfile/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_one_kfile_1/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "test_kpm_run_with_one_kfile_1" 3 | edition = "0.0.1" 4 | version = "0.0.1" 5 | 6 | -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_one_kfile_1/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_one_kfile_1/main1.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program1 = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_one_kfile_2/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_one_kfile_2/main1.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program1 = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_one_kfile_entry/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_one_kfile_entry/main1.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program1 = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_only_kcl_mod/main.k: -------------------------------------------------------------------------------- 1 | import helloworld 2 | 3 | a = helloworld.The_first_kcl_program -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_option/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "test_kpm_run_with_option" 3 | edition = "0.0.1" 4 | version = "0.0.1" 5 | 6 | [dependencies] -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_option/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program1 = option("name1") 2 | The_first_kcl_program2 = option("name2") -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_option_profile/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program1 = option("name1") 2 | The_first_kcl_program2 = option("name2") -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_override/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "test_kpm_run_with_override" 3 | edition = "0.0.1" 4 | version = "0.0.1" 5 | 6 | [dependencies] -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_path_selector_profile/main.k: -------------------------------------------------------------------------------- 1 | schema Person: 2 | labels: {str:str} 3 | 4 | alice = Person { 5 | "labels": {"skin": "yellow"} 6 | } -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_setting/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "test_kpm_run" 3 | edition = "0.0.1" 4 | version = "0.0.1" 5 | 6 | [dependencies] 7 | -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_setting/kcl.yaml: -------------------------------------------------------------------------------- 1 | kcl_cli_configs: 2 | file: 3 | - ./sub/main.k 4 | - main.k -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_setting/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_setting/sub/main.k: -------------------------------------------------------------------------------- 1 | sub = "The main.k in sub dir." -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_sort_key/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "test_kpm_run_with_sort_key" 3 | edition = "0.0.1" 4 | version = "0.0.1" 5 | 6 | [dependencies] -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_sort_key/main.k: -------------------------------------------------------------------------------- 1 | b = 1 2 | a = 2 3 | -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_kpm_run_with_sort_key_profile/main.k: -------------------------------------------------------------------------------- 1 | b = 1 2 | a = 2 3 | -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_push_localhost/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "helloworld" 3 | edition = "v0.11.2" 4 | version = "0.0.1" 5 | 6 | 7 | -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_push_localhost/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_push_with_oci_manifest/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_update_with_all/test_update_1/kcl.mod: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "test_update_1" 3 | edition = "0.0.1" 4 | version = "0.0.1" 5 | 6 | -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_update_with_all/test_update_1/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello Local !' -------------------------------------------------------------------------------- /test/e2e/test_suites/test_data/test_update_with_diff_version/test_update/main.k: -------------------------------------------------------------------------------- 1 | The_first_kcl_program = 'Hello World!' --------------------------------------------------------------------------------