Currently, when vendoring, ciao-vendor checkouts of the version of the package you wish to vendor under $GOPATH. Once vendoring is complete it iterates through all the dependencies under $GOPATH it just vendored and checks out the master branch in this dependencies, i.e, tries to return the $GOPATH source tree to the state it was in before vendoring began. The problem we have right now is that not all git repos use master as their default branch. yaml.v2 for instances uses the v2 branch. Consequently, ciao-vendor needs to be changed to check out the default branch for each dependency after vendoring.
Currently, when vendoring, ciao-vendor checkouts of the version of the package you wish to vendor under $GOPATH. Once vendoring is complete it iterates through all the dependencies under $GOPATH it just vendored and checks out the master branch in this dependencies, i.e, tries to return the $GOPATH source tree to the state it was in before vendoring began. The problem we have right now is that not all git repos use master as their default branch. yaml.v2 for instances uses the v2 branch. Consequently, ciao-vendor needs to be changed to check out the default branch for each dependency after vendoring.