Add freeze and fetch -rebuild#1
Add freeze and fetch -rebuild#1AngerM wants to merge 4 commits intoFiloSottile:masterfrom AngerM:master
Conversation
|
Hi! Thanks for your PR! I'm not sure I understand the use case of the freeze command. Versions are always locked in the manifest (also with plain fetch), so if what you want is not committing the source why no just having a |
|
Freeze prevents 'gvt update [-all]' from affecting the frozen requirements. |
|
Maybe I didn't answer both your questions. The reason for rebuild is for when you DO have |
|
Sorry for the delay. I like rebuild. I think I'd prefer having it as a top level command, what do you think? I can do that if you don't have time. I'll be happy to write the documentation. Also, would you mind if I contributed it back to gb-vendor? I'm still not sold on freeze. I'm striving for gvt to be as simple as possible, |
|
Sounds reasonable. If I have time I will try and make rebuild a top level command and remove freeze for now. |
I figured these could be useful to others. It allows you to freeze versions and later repull exactly what you had if you check your vendor manifest into your repo without having to check in the source code for the projects in your manifest file.