Mitchell Hashimoto
9ef50487fb
core: Create cache directory only when needed [GH-367]
2014-04-26 20:33:12 -07:00
Mitchell Hashimoto
629f3eee21
core: cache makes proper path with slashes after "." [GH-716]
2013-12-19 18:25:01 -08:00
Mitchell Hashimoto
05f4efc6fb
packer: Properly handle ? in URLs in cache keys
...
/cc @sit - Found another edge case
2013-07-20 19:20:29 -07:00
Mitchell Hashimoto
6072b05d3b
packer: Extension works properly with URLs too
...
/cc @sit
2013-07-20 16:53:55 -07:00
Mitchell Hashimoto
1bd9288c5f
packer: Use strings operations, faster than regexp and easy
...
/cc @sit
2013-07-20 16:50:18 -07:00
Emil Sit
594476ec91
packer/cache: Preserve any extension found on keys
...
This allows us to hand cache paths to any programs that may want to
interpret file extensions in order to behave differently. For
example, VirtualBox may want ISO images to end with .iso.
2013-07-20 00:19:05 -04:00
Emil Sit
c5fe163352
packer/cache: Extract cache path calculation to method
2013-07-20 00:15:14 -04:00
Mitchell Hashimoto
e2214106ee
packer: Cache keys should be hex encoded to string
2013-06-09 23:06:47 -07:00
Mitchell Hashimoto
2c8b198049
packer/rpc: Support Cache interface
2013-06-09 19:25:48 -07:00
Mitchell Hashimoto
7968068a3a
packer: Add FileCache and Cache
2013-06-09 19:01:28 -07:00