3 ms·
When are you not supposed to commit a lockfile? I think the norm is to commit it.
by bostonvaulter2 8y ago
When are you not supposed to commit a lockfile? I think the norm is to commit it.
- eridius 8y agoYou're supposed to commit it for applications, but omit it for libraries. Libraries declare the versions they're compatible with but they don't lock to specific releases.
- skybrian 8y agoIn at least some packaging systems, committing the lock file for a library is useful so that the library maintainers use the same versions. (It's ignored by users of the library.)