applicationsonline / librarian

Librarian - A Framework for Bundlers. Librarian-Chef is at: https://github.com/applicationsonline/librarian-chef.
http://applicationsonline.com/
MIT License
655 stars 71 forks source link

environment: Make "tmp" folder configurable via config #135

Closed Turbo87 closed 11 years ago

Turbo87 commented 11 years ago

This can be used to rename the cache folder to e.g. ".tmp".

Implements issue #134

yfeldblum commented 11 years ago

What's the primary problem that this solves?

Turbo87 commented 11 years ago

I would like to have the folder named ".tmp" to reduce the clutter in my main project folder, and without this configuration option it is not possible.

databus23 commented 11 years ago

A configurable tmp folder could also be a step in the direction of a "global" cache that is shared between different Cheffiles. I'm using librarian in a lot of projects which reference the same internal cookbooks hosted via git. Some of these cookbooks contain larger blobs and having local tmp folders in each project folder wastes a lot of time for downloading/cloning and disk space.

@yfeldblum What do you think about a global "tmp" folder for librarian in general?

yfeldblum commented 11 years ago

@databus23 Not opposed.

Turbo87 commented 11 years ago

thanks