Skip to content

Difference between depName and packageName? #14885

Closed Answered by rarkins
byronmccollum asked this question in Request Help
Discussion options

You must be logged in to vote

depName is essentially the "display name" while packageName is the actual package name used to do the lookup.

If in doubt, just use depName. When packageName is blank, it defaults to depName's value. In most cases they're the same.

Sometimes though the name of the package is quite long, and you don't want that full name in commit messages and PR titles. So when you use both depName and packageName, depName is used in logs, commit messages and PRs while packageName is used to do the actual lookup from package registries

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@byronmccollum
Comment options

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