-
Notifications
You must be signed in to change notification settings - Fork 1k
wish to add mirror support #248
Comments
I think this is a must have feature, maybe something like:
will overide the manifest and for later time we don't need to specific the fork address and vcs type. |
@nvcnvn support for specifying an alternate source location exists today. In a glide context, "mirrors" means something else - it's a local path to what's presumed to be a mirror of an upstream repository. That's what I'm assuming @ziyouchutuwenwu is asking about. It may be possible to support the local mirror case, but doing so is enmeshed with a bunch of other considerations, and I'm hesitant to add the feature until the cases have been sufficiently disentangled. |
I think the mirror is important, it can be used as a disaster tolerant cache for something like repository service outage. |
@darasion if the goal is reliability, then there are still better ways of going about it than this - a central proxy managed by your own organization, for example. If we were to follow the approach outlined in the OP, it would put the responsibility on all team members individually to configure their environments correctly. Also, we already keep local instances of repositories hidden away; for a number of outage use cases, simply adding a no-network mode - where dep interacts exclusively with whatever the current version of the data is in these local repo instances - would provide equivalent assurances. And we want that anyway, so that you can do things like using dep on a plane. |
@sdboyer thanks, it seems better that a proxy with caches inside it. |
closing this in favor of the other issues re: a registry, etc., e.g. #286 |
as title, i wish to add mirror support, for the gfw, somethinig can like glide mirror setting
mirror just mean,in china, the gfw always block the access from google, if i want to use some google deps, mirror from github is the best choice, here is my configfile of glide
The text was updated successfully, but these errors were encountered: