Skip to content

Package name format. #1030

Answered by bioball
pixlwave asked this question in Q&A
Mar 31, 2025 · 1 comments · 1 reply

You must be logged in to vote

For completeness sake: a package has a short display name, and the full package name. For example, the k8s package:

Full name: package://pkg.pkl-lang.org/pkl-k8s/k8s
Display name: k8s

So, this question is about the display name, rather than the full name.

We recommend that:

  • the display name is the last segment of the full name (the substring after the last /).
  • the display name can be used as a Pkl qualified identifier, because pkldoc requires that all modules are prefixed with the package display name

Other than this, we don't really have any specific recommendations. The pantry repo uses a reverse-FQDN scheme to prevent naming conflicts, but other packages don't need to follow this (e.…

Replies: 1 comment 1 reply

You must be logged in to vote
1 reply
@pixlwave

Answer selected by pixlwave
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants