You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Inconsistency when calling install and update #810
I found an extremely annoying behaviour of paket (tested against versions 0.42 and 1.3.0)
I have a project which has only one dependency: a nuget package FSharp.Data 2.0.14. The dependency was properly installed, added to the project file, dll downloaded to packages directory. So everything works.
What I expect now is that calling a sequence of commands: update, install, update, intall, update etc. should not change anything at all (as the version is fixed). Unfortunately paket falls into an infinite loop of changes:
paket update - modifies csproj file and paket.lock file.
paket install - discards changes introduced previously by modifying csproj and lock file.
paket update - restores the state of csproj and lock files from the 1st step (by discarding changes made in the 2nd step)
and so on...
I have a sample solution which I'm more than happy to send you for analysis.
I did check the repro I sent you using version 1.3.3. There the last paket command ran was install. After I ran update it did modify the lock and csproj file again (why?). However when I ran install afterwards, none of the files were modified (good!). Running update again did nothing (good!).
Unfortunately I was able to reproduce the problem using a different dependency.
I can send you another repro.
Yes the version that update generates is the correct one. So it's expected
that update "wins" and install doesn't change it.
Please send the other repro
On May 4, 2015 15:47, "dzendras" [email protected] wrote:
I did check the repro I sent you using version 1.3.3. There the last paket
command ran was install. After I ran update I did modify the lock and
csproj file again (why?). However when I ran install afterwards, none of
the files were modified (good!). Running update again did nothing (good!).
Unfortunately I was able to reproduce the problem using a different
dependency.
I can send you another repro.
—
Reply to this email directly or view it on GitHub #810 (comment).
Activity
dzendras commentedon May 1, 2015
Similar behaviour can be observed with another nuget package: Microsoft.AspNet.WebApi
forki commentedon May 1, 2015
Yes please send me the sample to sforkmann at gmail - I will try to fix it.
dzendras commentedon May 1, 2015
I've just sent it. Good luck! :)
forki commentedon May 1, 2015
fixed in 1.3.1 - please give it a try
dzendras commentedon May 4, 2015
I did check the repro I sent you using version 1.3.3. There the last paket command ran was install. After I ran update it did modify the lock and csproj file again (why?). However when I ran install afterwards, none of the files were modified (good!). Running update again did nothing (good!).
Unfortunately I was able to reproduce the problem using a different dependency.
I can send you another repro.
forki commentedon May 4, 2015
Yes the version that update generates is the correct one. So it's expected
that update "wins" and install doesn't change it.
Please send the other repro
On May 4, 2015 15:47, "dzendras" [email protected] wrote:
Windows restrictions were not parsed from lockfile - references #810
forki commentedon May 4, 2015
I think I fixed your latest repro in 1.3.4
dzendras commentedon May 4, 2015
Confirmed! Thanks! :)