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
We're not setting the constraints properly when the pin subcommand is run, we need to add constraints of the edited packages like we do in update command.
The text was updated successfully, but these errors were encountered:
So, its the problem is: when there is an edited dependency, the pin command simply fails.
if a package foo has two dependencies: bar and baz.
this sequence of commands fail:
swift package edit bar
swift package pin baz --version 1.0.0
assuming baz has two versions 1.0.0 and 1.0.1
the problem is that we are not putting proper constraints for edited packages.
Reproduced this issue, with current ToT swift-package output of the `swift pin` command following the `swift edit` command was `error: terminated(128): git -C /Users/heckj/src/foofixture/.build/checkouts/BarFixture remote update -p`
Additional Detail from JIRA
md5: 291b8915ccc0f9d6e0ad67177b01e361
Issue Description:
We're not setting the constraints properly when the pin subcommand is run, we need to add constraints of the edited packages like we do in update command.
The text was updated successfully, but these errors were encountered: