Skip to content
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.

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

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 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

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 [email protected] 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 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

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 [email protected] 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 commented May 29, 2013

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

@fgrehm
Copy link
Owner

fgrehm commented Apr 7, 2014

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

@fgrehm fgrehm closed this as completed Apr 7, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants