Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: add 'kusion mod add' to download a specific module that can be initialized in the AppConfiguration. #1009

Closed
Tracked by #1007
SparkYuan opened this issue Apr 10, 2024 · 0 comments · Fixed by #1136
Assignees
Labels
kind/feature Categorizes issue or PR as related to a new feature
Milestone

Comments

@SparkYuan
Copy link
Member

SparkYuan commented Apr 10, 2024

  1. Based on the module configuration in the workspace and the current OS architecture locate the specific OCI artifact in the registry and perform a checksum. If there are changes, download the artifact to the Kusion module directory and extract it.
  2. Update kcl.mod to include a local module path as a dependency. This step is to enable IDEs to properly navigate to the corresponding schema. The IDE acts as a server, monitoring changes to kcl.mod and using the kpm interface to locate the relevant Schema.
  3. support the --override flag to force override current kusion modules.
@SparkYuan SparkYuan added the kind/feature Categorizes issue or PR as related to a new feature label Apr 10, 2024
@SparkYuan SparkYuan added this to the v0.11.1 milestone Apr 10, 2024
@SparkYuan SparkYuan self-assigned this Apr 10, 2024
@SparkYuan SparkYuan modified the milestones: v0.11.1, v0.12.0 May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant