2016-03-05 16 views
6

Ciao io sto seguendo passi indicati per hashicorp/Terraform ed eseguiti sotto l'attivitàcome aggiornare la cartella fornitore per https://github.com/hashicorp/terraform.git per Terraform

# Get latest master branch's dependencies staged in local $GOPATH 
git checkout master 
git pull 
godep restore -v 

# Make your way to the dependency in question and checkout the target ref 
pushd $GOPATH/src/github.com/some/dependency 
git checkout [latest] 

# Head back to Terraform on a feature branch and update the dependncy to the 
# version currently in your $GOPATH 
popd 
git checkout my-feature-branch 
godep update github.com/... 

dopo questo posso vedere il mio file Godep.json è stato aggiornato ma non vedo le modifiche nella cartella del venditore. punta ancora al vecchio. Beh, sto cercando il supporto di emr dal venditore per questo sto aggiornando go-aws-sdk che è disponibile con l'ultimo go-aws-sdk. quando ho chiamato go update github.com/... ha modificato il file godep.json ma non il venditore. Qualcuno potrebbe farmi sapere la ragione. Grazie

risposta

1

È necessario effettuare nuovamente il godep restore -v. update aggiorna solo la dipendenza nel file Godep.json.

Problemi correlati