Pkl package in a private gitlab repo #632
-
What is the recommended way of using a package that is hosted in a private repo using gitlab/github/etc? I'm having some issues because it requires auth. My project sync gets the following error. 'Received unexpected status code Is there a standard way people are doing this currently? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
At the moment, there is no way to use authentication to fetch a package. This is something that makes sense for Pkl to support, though. Feel free to file a GitHub issue for it! |
Beta Was this translation helpful? Give feedback.
-
I would suggest you to try this wrapper: https://github.com/hpklio/hpkl. It was developed for internal needs and is currently in the alpha stage, but it already allows you to store packages in OCI, as well as supports Vals as a custom reader |
Beta Was this translation helpful? Give feedback.
At the moment, there is no way to use authentication to fetch a package. This is something that makes sense for Pkl to support, though. Feel free to file a GitHub issue for it!