Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added the golang redirect for autoscaler-keda and func-python #5970

Merged
merged 1 commit into from
May 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions golang/_redirects
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# To regenerate, run:
# go run ./tools/redir-gen/
/actions/* go-get=:go-get /golang/actions.html 200
/autoscaler-keda/* go-get=:go-get /golang/autoscaler-keda.html 200
/backstage-plugins/* go-get=:go-get /golang/backstage-plugins.html 200
/caching/* go-get=:go-get /golang/caching.html 200
/client/* go-get=:go-get /golang/client.html 200
Expand All @@ -16,22 +17,20 @@
/docs/* go-get=:go-get /golang/docs.html 200
/eventing/* go-get=:go-get /golang/eventing.html 200
/eventing-autoscaler-keda/* go-get=:go-get /golang/eventing-autoscaler-keda.html 200
/eventing-awssqs/* go-get=:go-get /golang/eventing-awssqs.html 200
/eventing-ceph/* go-get=:go-get /golang/eventing-ceph.html 200
/eventing-contrib/* go-get=:go-get /golang/eventing-contrib.html 200
/eventing-couchdb/* go-get=:go-get /golang/eventing-couchdb.html 200
/eventing-github/* go-get=:go-get /golang/eventing-github.html 200
/eventing-gitlab/* go-get=:go-get /golang/eventing-gitlab.html 200
/eventing-istio/* go-get=:go-get /golang/eventing-istio.html 200
/eventing-kafka/* go-get=:go-get /golang/eventing-kafka.html 200
/eventing-kafka-broker/* go-get=:go-get /golang/eventing-kafka-broker.html 200
/eventing-kogito/* go-get=:go-get /golang/eventing-kogito.html 200
/eventing-natss/* go-get=:go-get /golang/eventing-natss.html 200
/eventing-prometheus/* go-get=:go-get /golang/eventing-prometheus.html 200
/eventing-rabbitmq/* go-get=:go-get /golang/eventing-rabbitmq.html 200
/eventing-redis/* go-get=:go-get /golang/eventing-redis.html 200
/func/* go-get=:go-get /golang/func.html 200
/func-go/* go-get=:go-get /golang/func-go.html 200
/func-python/* go-get=:go-get /golang/func-python.html 200
/func-tastic/* go-get=:go-get /golang/func-tastic.html 200
/hack/* go-get=:go-get /golang/hack.html 200
/homebrew-client/* go-get=:go-get /golang/homebrew-client.html 200
Expand All @@ -49,7 +48,6 @@
/kn-plugin-source-kamelet/* go-get=:go-get /golang/kn-plugin-source-kamelet.html 200
/knobots/* go-get=:go-get /golang/knobots.html 200
/monitoring/* go-get=:go-get /golang/monitoring.html 200
/net-certmanager/* go-get=:go-get /golang/net-certmanager.html 200
Copy link
Member

@dprotaso dprotaso May 14, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we shouldn't drop some of these old redirects - since it will break older release branches etc.

I wonder if we should disable deleting entries for archived repos

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok I can fix it in another PR.

/net-contour/* go-get=:go-get /golang/net-contour.html 200
/net-gateway-api/* go-get=:go-get /golang/net-gateway-api.html 200
/net-http01/* go-get=:go-get /golang/net-http01.html 200
Expand Down
4 changes: 4 additions & 0 deletions golang/autoscaler-keda.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<html><head>
<meta name="go-import" content="knative.dev/autoscaler-keda git https://github.com/knative-extensions/autoscaler-keda">
<meta name="go-source" content="knative.dev/autoscaler-keda https://github.com/knative-extensions/autoscaler-keda https://github.com/knative-extensions/autoscaler-keda/tree/main{/dir} https://github.com/knative-extensions/autoscaler-keda/blob/main{/dir}/{file}#L{line}">
</head></html>
4 changes: 4 additions & 0 deletions golang/func-python.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<html><head>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The tool discovered the func-python repo as well.

<meta name="go-import" content="knative.dev/func-python git https://github.com/knative-extensions/func-python">
<meta name="go-source" content="knative.dev/func-python https://github.com/knative-extensions/func-python https://github.com/knative-extensions/func-python/tree/main{/dir} https://github.com/knative-extensions/func-python/blob/main{/dir}/{file}#L{line}">
</head></html>
Loading