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
I’m finding that when I run various different commands, Paket makes surprisingly inconsistent decisions to variously add or remove - content: none from my paket.lock files. These decisions appear random to the casual observer.
This is causing a tremendous amount of noise when it affects multiple dependencies, masking the real intent of the change.
If I run paket update it creates a lock file containing:
Angular.UI.Bootstrap (2.5)
But when I run paket update --keep-patch it adds a suffix:
Angular.UI.Bootstrap (2.5) - content: none
Every time I run one or other command it correspondingly adds or removes the content: none bit.
Other commands also remove the suffix, for example doing a paket add....
I tend to run paket update --keep-patch with various other options (clean redirects etc) in order to mop up any inconsistencies added since the last time it ran, but it is frustrating when it makes all these other unrelated changes too.
Note that only the indirect dependency is affected by this problem.
This is just one example; with many indirect dependencies I can get hundreds of such affected lines.
Expected behavior
Paket doesn’t flip between different representations of the lock file.
The text was updated successfully, but these errors were encountered:
bacar
changed the title
Paket sometimes adds/removes ‘content: none’ from paket.lock
Paket inconsistently adds/removes ‘content: none’ from paket.lock
Jun 18, 2018
Description
I’m finding that when I run various different commands, Paket makes surprisingly inconsistent decisions to variously add or remove
- content: none
from my paket.lock files. These decisions appear random to the casual observer.This is causing a tremendous amount of noise when it affects multiple dependencies, masking the real intent of the change.
Repro steps
Create the following paket.dependencies:
If I run
paket update
it creates a lock file containing:But when I run
paket update --keep-patch
it adds a suffix:Every time I run one or other command it correspondingly adds or removes the
content: none
bit.Other commands also remove the suffix, for example doing a
paket add...
.I tend to run
paket update --keep-patch
with various other options (clean redirects etc) in order to mop up any inconsistencies added since the last time it ran, but it is frustrating when it makes all these other unrelated changes too.Note that only the indirect dependency is affected by this problem.
This is just one example; with many indirect dependencies I can get hundreds of such affected lines.
Expected behavior
Paket doesn’t flip between different representations of the lock file.
The text was updated successfully, but these errors were encountered: