Skip to content

Bug: kpt pkg get has inconsistent behavior when LOCAL_DEST_DIRECTORY is the current directory #1407

@karlkfi

Description

@karlkfi

When you run kpt pkg get ${PKG_URL}.git/${PKG_PATH} ., it creates a new directory using the name of the package, which is inconsistent with both kpt cfg set . key value and git clone ${REPO_URL}.

I would expect passing the current directory to kpt pkg get to not create a new directory and instead place the package files directly in the specified directory.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions