From def2338c390d27198d2871f407f6aa81b1cc88e0 Mon Sep 17 00:00:00 2001 From: dprotaso Date: Tue, 11 Apr 2023 21:36:02 -0400 Subject: [PATCH] clean up and ignore some repos --- golang/actions-downstream-test.html | 4 ---- golang/actions-kind.html | 4 ---- golang/build-spike.html | 4 ---- golang/integration.html | 4 ---- golang/kn-plugin-source-pkg.html | 4 ---- golang/website.html | 4 ---- tools/redir-gen/main.go | 8 ++++++++ 7 files changed, 8 insertions(+), 24 deletions(-) delete mode 100644 golang/actions-downstream-test.html delete mode 100644 golang/actions-kind.html delete mode 100644 golang/build-spike.html delete mode 100644 golang/integration.html delete mode 100644 golang/kn-plugin-source-pkg.html delete mode 100644 golang/website.html diff --git a/golang/actions-downstream-test.html b/golang/actions-downstream-test.html deleted file mode 100644 index 967e1a0e7c..0000000000 --- a/golang/actions-downstream-test.html +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/golang/actions-kind.html b/golang/actions-kind.html deleted file mode 100644 index af9f2fa497..0000000000 --- a/golang/actions-kind.html +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/golang/build-spike.html b/golang/build-spike.html deleted file mode 100644 index 5a12e71dda..0000000000 --- a/golang/build-spike.html +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/golang/integration.html b/golang/integration.html deleted file mode 100644 index 06cedf4b8e..0000000000 --- a/golang/integration.html +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/golang/kn-plugin-source-pkg.html b/golang/kn-plugin-source-pkg.html deleted file mode 100644 index dbb50c02c3..0000000000 --- a/golang/kn-plugin-source-pkg.html +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/golang/website.html b/golang/website.html deleted file mode 100644 index e09ba44df3..0000000000 --- a/golang/website.html +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/tools/redir-gen/main.go b/tools/redir-gen/main.go index 05db4d7d2b..87956dc163 100644 --- a/tools/redir-gen/main.go +++ b/tools/redir-gen/main.go @@ -29,6 +29,14 @@ var ( knativeOrgs = []string{"knative", "knative-sandbox"} allowedRepoRe = regexp.MustCompile("^[a-z][-a-z0-9]+$") archivedExceptions = []string{"eventing-contrib"} + ignoreRepos = []string{ + "actions", + "community", + "docs", + "knobots", + "monitoring", + "release", + } // Repos known to contain Go libraries, so that requesting // https://knative.dev/ in a browser should redirect to