Skip to content
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

Post-Update Hook (and possibly others) #112

Open
anemator opened this issue Sep 30, 2014 · 4 comments
Open

Post-Update Hook (and possibly others) #112

anemator opened this issue Sep 30, 2014 · 4 comments

Comments

@anemator
Copy link

I currently use fresh_after_build to auto-update my Vim/Vundle plugins mostly so that when I clone my dotfiles to a new machine, everything is ready to go. The problem is that whenever I do a fresh install, Vim/Vundle starts updating. How about adding a fresh_after_update hook? Pre-Install/Update hooks may also be worth considering too. Thanks!

@jasoncodes
Copy link
Member

When would you expect fresh_after_update to be ran? Note that fresh does not track if a source file has changed or not since the last build.

@jasoncodes
Copy link
Member

Related to #106. I think we would want to implement #106 before adding any additional hooks.

@jasoncodes
Copy link
Member

My init_vim maybe relevant to your interests. I check for the existence of vundle plugins and only install if they aren’t there yet.

@anemator
Copy link
Author

anemator commented Oct 5, 2014

The fresh_after_update hook could be added to the end of fresh_update. Since fresh doesn't track updates, fresh_after_update could be used for user scripted update mechanisms, e.g. updating vundle plugins with vim +BundleUpdate +qall or pulling from an already cloned repository.

I'll probably do the same as your int_vim until something like #106 is implemented. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants