DelphiPackageManager / DPM

A Package Manager for Delphi
Apache License 2.0
96 stars 21 forks source link

Implement Lock file functionality #6

Closed vincentparrett closed 4 years ago

vincentparrett commented 4 years ago

A lock file will enable repeatable/reliable restores across multiple machines, regardless of package sources. In particular, the is required to guarantee that CI builds are using the same versions of transitive dependencies that the developers are using.

See

https://github.com/NuGet/Home/wiki/Enable-repeatable-package-restore-using-lock-file https://fsprojects.github.io/Paket/lock-file.html

for ideas.

This will require changes to the resolution code.

vincentparrett commented 4 years ago

Implemented - transient references are recorded under the direct dependencies. No need for a lock file as this achieves the same result.