Description
paket.exe init should pin the version of itself into paket.dependencies
Scenario
Given paket.exe is available in version 1.2.3
When one wants to initialize its repository
Then paket.exe init is called
Expected behavior
The command generates paket.dependencies file with this content
version 1.2.3
source https://www.nuget.org/api/v2
Actual behavior
The command generates paket.dependencies file with this content
source https://www.nuget.org/api/v2
Two possibilities
A. Introduce an option, e.g. --pin. The behavior is backward compatibility.
B. Make it as the standard behavior. The behavior is a "breaking change"
I prefer B, because one of the many advantage of paket is pinning the version of the (transitive) dependencies. So it is only logical to pin the version of paket itself.
I can submit a PR.
Description
paket.exe initshould pin the version of itself into paket.dependenciesScenario
Given paket.exe is available in version 1.2.3
When one wants to initialize its repository
Then
paket.exe initis calledExpected behavior
The command generates paket.dependencies file with this content
Actual behavior
The command generates paket.dependencies file with this content
Two possibilities
A. Introduce an option, e.g. --pin. The behavior is backward compatibility.
B. Make it as the standard behavior. The behavior is a "breaking change"
I prefer B, because one of the many advantage of paket is pinning the version of the (transitive) dependencies. So it is only logical to pin the version of paket itself.
I can submit a PR.