You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.
I looking for a way to ignore a whole sub-tree of packages. I would like to write something like this in the manifest.
ignored = [ "code.example.com/..." ]
The result should be that all packages prefixed with code.example.com are not vendored and always searched on GOPATH.
The context is, that I have a few services that shared some libraries and they all live in the same repository at code.example.com. When I checkout a service like code.example.com/service/foobar, all shared packages under code.example.com/... are checked out along with the service and exists on the GOPATH in the right version already. Vendoring is not needed at this point and leads to confusion, cause the source code exists in two places.
Thanks in advance and best regards
The text was updated successfully, but these errors were encountered:
hi, welcome! yep, we're working on this now: #1156 😄 gonna close this one as a dupe of #691.
note that it's gonna be * instead of ..., as ... has subtly different meaning due to the directories it ignores (_-led, .-led, testdata). those cases are generally already covered by dep in a sane way, but because this is explicitly an exclude list, the wildcard operator needs to encompass those for those times when something falls through the cracks of dep's more general model.
Hi!
I looking for a way to ignore a whole sub-tree of packages. I would like to write something like this in the manifest.
The result should be that all packages prefixed with
code.example.com
are not vendored and always searched onGOPATH
.The context is, that I have a few services that shared some libraries and they all live in the same repository at
code.example.com
. When I checkout a service likecode.example.com/service/foobar
, all shared packages undercode.example.com/...
are checked out along with the service and exists on theGOPATH
in the right version already. Vendoring is not needed at this point and leads to confusion, cause the source code exists in two places.Thanks in advance and best regards
The text was updated successfully, but these errors were encountered: