-
Notifications
You must be signed in to change notification settings - Fork 277
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/cue: correctly extract transitive dependencies in 'get go'
The refactor in https://cuelang.org/cl/1173100 fixed multiple bugs but unfortunately introduced a tricky hidden bug. Rather than extracting all used packages to cover all dependencies, we were repeatedly extracting the first package instead. 'cue get go' now extracts all dependencies as expected both with and without the --local flag. Fixes #3033. Signed-off-by: Daniel Martí <mvdan@mvdan.cc> Change-Id: Idc707758f758736a550a851f9bcc55b59f4b704b Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1193699 Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com> Reviewed-by: Roger Peppe <rogpeppe@gmail.com> TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
- Loading branch information
Showing
3 changed files
with
3 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters