Created
August 27, 2015 15:11
-
-
Save pweil-/5016d3a700dc08bae2f7 to your computer and use it in GitHub Desktop.
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
### | |
# Create a clean area outside of my normal work areas | |
### | |
cb | |
mkdir rebase | |
cd rebase | |
export GOPATH=`pwd` | |
### | |
# Get the code | |
### | |
go get github.com/openshift/origin | |
cd $GOPATH/src/github.com/openshift/origin | |
git remote rename origin upstream | |
git remote add origin https://github.com/pweil-/origin | |
git remote -v | |
go get github.com/kubernetes/kubernetes | |
package github.com/GoogleCloudPlatform/kubernetes | |
imports github.com/GoogleCloudPlatform/kubernetes | |
imports github.com/GoogleCloudPlatform/kubernetes: no buildable Go source files in /home/pweil/codebase/rebase/src/github.com/GoogleCloudPlatform/kubernetes | |
cd $GOPATH/src/github.com/kubernetes/kubernetes | |
git remote rename origin upstream | |
git checkout master | |
git pull | |
git checkout -b stable_proposed | |
cd $GOPATH/src/github.com/openshift/origin | |
[pweil@localhost origin]$ godep restore | |
godep: unable to detect version control system for code.google.com/ path | |
# edit out the packages | |
[pweil@localhost origin]$ godep restore | |
package k8s.io/kubernetes/pkg/securitycontextconstraints | |
imports k8s.io/kubernetes/pkg/securitycontextconstraints | |
imports k8s.io/kubernetes/pkg/securitycontextconstraints: cannot find package "k8s.io/kubernetes/pkg/securitycontextconstraints" in any of: | |
/usr/local/go/src/k8s.io/kubernetes/pkg/securitycontextconstraints (from $GOROOT) | |
/home/pweil/codebase/rebase/src/k8s.io/kubernetes/pkg/securitycontextconstraints (from $GOPATH) | |
godep: restore: exit status 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment