-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support '--branch' #4
Comments
yes sorry missed that i've already added an issue earlier :) |
what do you think of it in general? |
Well, I probably won't have time to implement this, but it's an interesting idea for someone to pick up. First, it seems that the notion of consistent branch names (eg having MASTER or FEATURE always point to the latest in a branch) is separate from the idea of automatically cleaning up intermediate snapshots. Deleting snapshots in virtualbox seems hopelessly slow, and I've even seen recommendations to clone a running VM and deleting the old one, in preference to deleting the snapshots one at a time. If that's important to you, perhaps you can make a base Vagrant box and then have multiple Vagrant projects, one for each branch? As for the branch names idea, perhaps it could be implemented with the following:
Thoughts? |
How about $ vagrant snapshot branch shows list of branches with current one marked$ vagrant snapshot branch take snapshot marking it as new branch$ vagrant snapshot commit take snapshot under current branch$ vagrant snapshot checkout back to latest snapshot in current branch$ vagrant snapshot checkout go to latest snapshot in given branchOn 3 Sep 2013 21:40, "Alex Dergachev" notifications@github.com wrote:
|
Though I see the appeal of git nomenclature, it would have to be implemented in a separate plugin, since vagrant-vbox-snapshot is meant to be a thin wrapper on VBoxManage snapshot CLI. Assuming we're keeping
To minimally modify the the current CLI with branch support:
For a first stab, here's what we'd have to implement:
Relatedly, we might also implement:
Thoughts? Care to take a stab? |
yes ideally i would like to see git-like everything :) On 4 September 2013 17:55, Alex Dergachev notifications@github.com wrote:
Anatoly Bubenkov |
Yep, I guess #9 would make a good first step if you wanted to try and contribute. :) Alex Dergachev On Wednesday, 4 September, 2013 at 12:24 PM, Anatoly Bubenkov wrote:
|
i have another KISS idea :) |
Hi
In my experience branches are more useful than snapshots.
http://pastebin.com/dt0tmj1M
During the development, usually people use branches, but snapshots are like commits,
which makes snapshot list so not so nice looking. Example
Can you implement branch-like snapshoting? where you can move between branches, and commit inside of them?
Sorry im not good at drawing, hope it's clear
The text was updated successfully, but these errors were encountered: