-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add dub.selections.json to .gitignore #136
Conversation
Thanks |
Lock files should always be committed, even for libraries. Check out e.g. https://classic.yarnpkg.com/blog/2016/11/24/lockfiles-for-all/ (this talks about yarn, but the same concepts apply to dub). Traditionally, this is perhaps this was not the message that the D community has had on |
Ok, What is the meaning of a lock-file in this context? |
Can someone make a tag? |
done, thanks |
@nordlow A lock file is a general concept implemented by most language package managers. In the case of Dub, that's |
Thanks a lot for that explanation. Would it be possible to add support for that in dub, @s-ludwig? FYI, @John-Colvin @skoppe. |
It is supposed to contain the complete set of dependency package names, versions, cryptographic hashes of the archives containing them and from where to obtain download them. Unfortunately, Dub doesn't include the hash of package archives. What is meant by the word "archive" in this regard considering the code is transferred via Git? |
There are several package suppliers. The default, which most people are familiar with, is dub-registry and it powers code.dlang.org. dub-registry stores archives of all packages as zip files on its server. So, in most cases,
Yes, but it would require changes to both dub-registry and dub. |
Seems to me like something worth investing in, @John-Colvin @skoppe. |
No description provided.