Skip to content
This repository was archived by the owner on Jun 12, 2024. It is now read-only.
This repository was archived by the owner on Jun 12, 2024. It is now read-only.

draft pack-repo update fails with local pack repositories #941

Description

How to reproduce:

cd /tmp
mkdir -p local-pack-repo/packs/my-local-pack
helm create local-pack-repo/packs/my-local-pack/charts
draft pack-repo add local-pack-repo/
draft pack-repo update

We get the error message:

Error: cannot get information about pack repo source
Error: exit status 1

Cleaning up:

draft pack-repo remove local-pack-repo
rm -rf /tmp/local-pack-repo

Additional notes: I thought that the pack repo had to be a git repo, so I tried various hacks to make it a git repo with a local remote; but nothing worked (it looks like Draft tries to make up a git repo URL from its path, fails, and reports the error anyway).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions