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

use cache folder as a stand-in for things not found on registry #439

Closed
isaacs opened this issue Dec 8, 2010 · 1 comment
Closed

use cache folder as a stand-in for things not found on registry #439

isaacs opened this issue Dec 8, 2010 · 1 comment

Comments

@isaacs
Copy link
Contributor

isaacs commented Dec 8, 2010

Any time the registry returns a 404 (or can't be connected to), but the .cache folder has the thing being requested, use that, even if the cache is expired.

Furthermore, allow a "parent-cache" config param so that it can see stuff in its parent cache.

This should make stuff like issue #437 a lot less painful. Then anything installed can be bundle-installed, since it'll be in the cache.

@isaacs
Copy link
Contributor Author

isaacs commented Dec 16, 2010

This was already done for exact versions, it seems.

The problem with version ranges is that doing this would mean not favoring the latest tag, and has some other unsavory side effects. Punting on this.

This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant