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 }}
This repository has been archived by the owner on Feb 3, 2018. It is now read-only.
golang/dep#171 demonstrated an issue where we'd try to pop the root project out of the selection set b/c it looks like there's no dependencies on it. That causes a panic, b/c selection.popDep() (intentionally) doesn't verify a dep is present before popping - if it occurs, it would indicate other bugs in the algorithm, so it's better to straight panic than mask an implementation problem.
The fix is just to not attempt to pop a dep in solver.unselectLast() if they're from the root.
The text was updated successfully, but these errors were encountered:
Project-level cycles are fine, but we can't apply the same logic to
the root project as non-root projects when cleaning up the selection
while backtracking. Fixessdboyer/gps#176.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
golang/dep#171 demonstrated an issue where we'd try to pop the root project out of the selection set b/c it looks like there's no dependencies on it. That causes a panic, b/c
selection.popDep()
(intentionally) doesn't verify a dep is present before popping - if it occurs, it would indicate other bugs in the algorithm, so it's better to straight panic than mask an implementation problem.The fix is just to not attempt to pop a dep in
solver.unselectLast()
if they're from the root.The text was updated successfully, but these errors were encountered: