Fabio Rehm
957aee804b
v0.6.0
2014-02-25 23:57:32 -03:00
Fabio Rehm
4a3d9547c1
Improve check for whether we should warm up the cache or not
2014-02-21 23:45:21 -03:00
Fabio Rehm
03a08d09aa
Remove unused var
2014-02-21 20:50:36 -03:00
Fabio Rehm
b3b63ab846
Ensure apt partial dirs are created _after_ the symlink is in place, otherwise we would not be able to properly detect whether a bucket is empty or not
2014-02-21 20:50:36 -03:00
Fabio Rehm
e6464d1951
Warm up empty buckets with Guest VM files
2014-02-21 20:49:50 -03:00
Fabio Rehm
13e8d5e674
Ensure /tmp/vagrant-cache exists before chmodding it
2014-02-14 19:50:16 -02:00
Fabio Rehm
6555e72f39
Fix npm bucket
...
npm is the only bucket that uses this method
2014-02-14 01:44:08 -02:00
Fabio Rehm
d6bed34302
⚠️ Massive refactoring of buckets code ⚠️
...
Doing this is kinda irresponsible because we don't have any unit testing
in place but I've had enough of copy & pasting things around. Although it
doesn't make the codebase GREAT, I believe it'll reach a _nice_ status :)
Thanks to those changes I realized that skipping configuration of
buckets that have already been configured was easier than I thought and
should be enough to close GH-85 \o/
2014-02-14 01:15:45 -02:00
Fabio Rehm
b548637e4f
Support for offline provisioning of apt-packages by caching /var/lib/apt/lists
[GH-84]
2014-02-14 00:28:12 -02:00
Fabio Rehm
d42e5a9886
Do not attempt chmod
s when the plugin is disabled
2014-02-12 00:49:00 -02:00
Fabio Rehm
d4d5603b47
Handle nil value for synced_folder_opts
2014-02-12 00:48:20 -02:00
Fabio Rehm
6282b09c6c
chmod
/tmp/vagrant-cache on guest VM to 777 to work around some permission issues as explained on GH-74
2014-02-11 23:53:07 -02:00
Fabio Rehm
e793dff891
Trigger plugin activation by setting cache scope [GH-17]
2014-02-11 23:24:48 -02:00
Fabio Rehm
c494876ac1
Sorry about that, was testing GH-45
2014-02-01 20:26:21 -02:00
Fabio Rehm
385da382cd
Disable the plugin on machines backed by cloud providers (fix GH-45)
2014-02-01 20:24:33 -02:00
Fabio Rehm
e0797d4e9a
Ooops
2014-02-01 20:17:01 -02:00
Fabio Rehm
b8fcfb950f
Extract plugin hooks and capabilities out to separate files
2014-02-01 18:47:32 -02:00
Fabio Rehm
beffce64fa
Add support for disabling the plugin [GH-72]
2014-02-01 18:38:48 -02:00
Fabio Rehm
a8963c3741
Improved logging
2014-02-01 18:13:42 -02:00
Fabio Rehm
dc2cb5eb79
Clean up InstallBuckets action a bit
2014-02-01 18:12:38 -02:00
Fabio Rehm
0031a99522
💣 monkey patch on Builtin::Provision action \o/ (closes GH-60)
2014-02-01 17:50:12 -02:00
Fabio Rehm
a97af929f1
Extract cachier's root bucket directory creation out to a separate action [GH-60]
2014-02-01 17:22:10 -02:00
Fabio Rehm
9e830dacbd
Blow up if using vagrant < 1.4.0
2014-02-01 16:21:21 -02:00
Fabio Rehm
a2e541f6a0
When specifying NFS synced folders we need to use a symbol (fix GH-76)
2014-02-01 16:14:32 -02:00
Fabio Rehm
77def39754
Display enable_nfs deprecation warning only once
2014-02-01 02:57:51 -02:00
Fabio Rehm
5c35320800
Display a warning using Vagrant's UI in case enable_nfs is set
2014-02-01 02:35:48 -02:00
Fabio Rehm
8260a43aa0
Mark config.enable_nfs
as deprecated
2014-02-01 00:04:51 -02:00
Fabio Rehm
ef0a3f3fc9
Replace enable_nfs
and sync_opts
config with synced_folder_opts
2014-02-01 00:04:00 -02:00
Fabio Rehm
bae14ff303
Merge branch 'master' of https://github.com/eaapa/vagrant-cachier into next
2014-01-31 22:13:59 -02:00
Fabio Rehm
5eca9f6be5
This is no longer needed
2014-01-31 22:13:13 -02:00
Fabio Rehm
d19ea59b8b
After 5 months I believe it is safe to get rid of this code
2014-01-31 22:13:13 -02:00
Fabio Rehm
d77f5a6f18
We'll drop support for Vagrant < 1.4, that means we should be bumping to 0.6.0
2014-01-31 22:13:12 -02:00
Erno Aapa
5a0b2f0f1a
Support for extra synced_folder options
...
Added ability to pass extra synced_folder options through new
config.cache.sync_opts -configuration.
2014-01-25 06:23:33 +02:00
Fabio Rehm
50f4536ff7
Up version for development
2013-12-20 11:56:14 -02:00
Fabio Rehm
27b87567a5
v0.5.1
2013-12-20 11:55:04 -02:00
Fabio Rehm
aa46abac37
Fix NFS configs for 1.4 while keeping support for < 1.4 as well
2013-12-18 03:19:15 -02:00
Fabio Rehm
2cb0610cc1
Up version for development
2013-11-08 19:01:24 -02:00
Fabio Rehm
4d01bff390
v0.5.0
2013-11-06 19:45:20 -02:00
Fabio Rehm
6a8d661e97
[GH-54] Disable yum on suse guests
2013-11-06 19:43:18 -02:00
Gordon Franke
93c0c7bf99
add zypper support
2013-11-05 15:10:00 +01:00
Fabio Rehm
536ca7ad54
Up version for dev
2013-10-27 22:16:07 -02:00
Fabio Rehm
c85558010a
v0.4.1
2013-10-27 22:14:21 -02:00
Fabio Rehm
7bc70b7d6e
Do not attempt to configure apt-cacher-ng bucket if it is not installed on the guest machine
2013-10-26 15:47:31 -02:00
Fabio Rehm
8e40d0c060
Up version for dev
2013-10-23 22:31:43 -02:00
Fabio Rehm
64c9b91cf9
v0.4.0
2013-10-23 22:27:22 -02:00
Fabio Rehm
850841fe0a
Break some lines
2013-10-23 22:17:26 -02:00
Fabio Rehm
e0eeb125d0
Prevent apt cacher bucket from being installed in case NFS is disabled
2013-10-23 22:17:25 -02:00
Fabio Rehm
42cd490313
Merge branch 'npm-cache' of github.com:laggyluke/vagrant-cachier
...
Conflicts:
lib/vagrant-cachier/bucket.rb
2013-10-23 21:17:32 -02:00
George Miroshnykov
ee6174d33c
Add npm support
2013-10-23 16:18:42 +03:00
Fabio Rehm
f8e419b8b6
"Disable" composer bucket if php is not installed
2013-10-22 13:56:38 -02:00