Closed mberhault closed 9 years ago
CC: @tamird
In setPackageVersion, I changed:
packageDir := path.Join(gopath, "src", getRealRepoPath(repo))
to:
packageDir, err := getPackageRootDir(repo)
if err != nil
...
And that did it. Not sure what the ramifications might be though.
Discussed in person: we think the solution here is to track the repo in Bunchfile.lock, not the full package path.
@MBerhault, yep, that is the fix (with one minor tweak). d07244f should do it.
We're specifying packages that are not repos, and this seems to be causing problems for bunch.
Sample Bunchfile.lock line:
bunch install output: (the interesting bit is at the end of the "setting version" line)
We're doing this a lot (full file), especially for things like the AWS SDK that have many parts we don't care about.
Please let me know if you need further information.