From 3a6226ea53a060c48362bbd91cb2c0ffe3212016 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 22 Nov 2024 22:29:52 -0600 Subject: [PATCH] work towards an override file --- resources/overrides | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 resources/overrides diff --git a/resources/overrides b/resources/overrides new file mode 100644 index 0000000..ffc6a8b --- /dev/null +++ b/resources/overrides @@ -0,0 +1,30 @@ +# sometimes things go wrong temporarily. work around those here + + case "golang.org/x/crypto": + return cloneActual(dirname, basedir, "https://" + "go.googlesource.com/crypto") + case "golang.org/x/mod": + return cloneActual(dirname, basedir, "https://" + "go.googlesource.com/mod") + case "golang.org/x/net": + return cloneActual(dirname, basedir, "https://" + "go.googlesource.com/net") + case "golang.org/x/sys": + return cloneActual(dirname, basedir, "https://" + "go.googlesource.com/sys") + case "golang.org/x/sync": + return cloneActual(dirname, basedir, "https://" + "go.googlesource.com/sync") + case "golang.org/x/term": + return cloneActual(dirname, basedir, "https://" + "go.googlesource.com/term") + case "golang.org/x/text": + return cloneActual(dirname, basedir, "https://" + "go.googlesource.com/text") + case "golang.org/x/tools": + return cloneActual(dirname, basedir, "https://" + "go.googlesource.com/tools") + case "golang.org/x/xerrors": + return cloneActual(dirname, basedir, "https://" + "go.googlesource.com/xerrors") + case "google.golang.org/protobuf": + return cloneActual(dirname, basedir, "https://" + "go.googlesource.com/protobuf") + case "google.golang.org/genproto": + return cloneActual(dirname, basedir, "https://" + "go.googlesource.com/genproto") + case "google.golang.org/api": + return cloneActual(dirname, basedir, "https://" + "go.googlesource.com/api") + case "google.golang.org/grpc": + return cloneActual(dirname, basedir, "https://" + "go.googlesource.com/grpc") + case "google.golang.org/appengine": + return cloneActual(dirname, basedir, "https://" + "go.googlesource.com/appengine")