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

ability to specify specific folders to cache #4

Closed
cromulus opened this issue May 29, 2013 · 6 comments
Closed

ability to specify specific folders to cache #4

cromulus opened this issue May 29, 2013 · 6 comments
Milestone

Comments

@cromulus
Copy link

@cromulus cromulus commented May 29, 2013

I'd like to be able to cache my bundler install, so, being able to say something like

config.cache.enable "/vagrant/vendor/bundle"

which will sync that particular folder to the host instead of the guest.

@fgrehm
Copy link
Owner

@fgrehm fgrehm commented May 29, 2013

@cromulus sorry but I'm not sure I got this right, what do you mean with

sync that particular folder to the host instead of the guest

?

@cromulus
Copy link
Author

@cromulus cromulus commented May 29, 2013

oof. not enough coffee this morning.

What I mean is that it would be great to be able to pick folders on the guest to cache on the host. This way, I could cache the bundler folder, RVM, etc.

essentially, it's a fast and cheap way to add a bucket.

On May 29, 2013, at 1:57 PM, Fabio Rehm notifications@github.com wrote:

@cromulus sorry but I'm not sure I got this right, what do you mean with

sync that particular folder to the host instead of the guest

?


Reply to this email directly or view it on GitHub.

@fgrehm
Copy link
Owner

@fgrehm fgrehm commented May 29, 2013

@cromulus got it, let's call this a "generic bucket" :-)

We might need some sort of "bucket id" so that we can use it as the host dirname and reuse between machines / base boxes... the way I see this would be something like this:

config.cache.enable "/vagrant/vendor/bundle", id: 'bundler'

I do like the idea! Are you up for implementing this one? If not I might be able to take care of it over the next couple weeks, doesn't look too hard to implement but I'm planning to do some house cleaning along the way too ;-)

@cromulus
Copy link
Author

@cromulus cromulus commented May 29, 2013

I am not currently implementing it, but I could get around to it in about two weeks or so.

Cheers,
Bill
On May 29, 2013, at 7:35 PM, Fabio Rehm notifications@github.com wrote:

@cromulus got it, let's call this a "generic bucket" :-)

We might need some sort of "bucket id" so that we can use it as the host dirname and reuse between machines / base boxes... the way I see this would be something like this:

config.cache.enable "/vagrant/vendor/bundle", id: 'bundler'
I do like the idea! Are you up for implementing this one? If not I might be able to take care of it over the next couple weeks, doesn't look too hard to implement but I'm planning to do some house cleaning along the way too ;-)


Reply to this email directly or view it on GitHub.

@fgrehm
Copy link
Owner

@fgrehm fgrehm commented May 29, 2013

@cromulus no problem, I hope to have the plugin in a better shape by then ;-)

@fgrehm
Copy link
Owner

@fgrehm fgrehm commented Apr 7, 2014

After almost an year this was done on GH-94!

@fgrehm fgrehm closed this Apr 7, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.