mirror of
https://github.com/apple/pkl.git
synced 2026-01-11 22:30:54 +01:00
Pkl package using private repo (using authentication) #201
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @KyleReczek-AbsorbLMS on GitHub (Aug 22, 2024).
We were trying to host our pkl releases in a private gitlab repo. However according to this discussion
https://github.com/apple/pkl/discussions/632 that's not possible.
Could I suggest adding a method to allow for using authentication with packages?
@bioball commented on GitHub (Sep 6, 2024):
This definitely makes sense to have, and is something that we plan on supporting in a future release.
@sin-ack commented on GitHub (Feb 27, 2025):
Could this be implemented through external module readers in the meantime? It would require all dependencies to depend on the custom scheme exposed by the external module reader instead of the
@packagenotation, but it could allow customized authentication. In fact, I'd actually want to seepackage:either go away and be replaced with arbitrary schemas (which could allow using external module readers for loading dependencies) or allow defining an external module reader forpackage:to define how exactly a package should be resolved. This way Pkl opens the door to customizing dependency resolution as well.