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

Convert github.com/golang/go/wiki links to go.dev/wiki #247

Merged
merged 1 commit into from
Jun 25, 2024

Conversation

ardrabczyk
Copy link
Contributor

Go wiki has moved golang/go#61940. Wiki at github.com/golang/go/wiki does not automatically move to go.dev/wiki but says that wiki has moved.

I used the following shell one-liner to convert all links:

$ find . -type f -print0 | xargs -0 sed -i 's,github.com/golang/go/wiki,go.dev/wiki,g'

To verify if they return 200:

$ ag -a --nofilename -o 'https?.+wiki/.+?\b' | sort | uniq | xargs curl -sI
HTTP/2 200
(...)
HTTP/2 200

Go wiki has moved golang/go#61940. Wiki at
github.com/golang/go/wiki does not automatically move to go.dev/wiki
but says that wiki has moved.

I used the following shell one-liner to convert all links:

    $ find . -type f -print0 | xargs -0 sed -i 's,github.com/golang/go/wiki,go.dev/wiki,g'

To verify if they return 200:

    $ ag -a --nofilename -o 'https?.+wiki/.+?\b' | sort | uniq | xargs curl -sI
    HTTP/2 200
    (...)
    HTTP/2 200
@kcq
Copy link
Member

kcq commented Jun 25, 2024

thanks a lot @ardrabczyk !

@kcq kcq merged commit 716d82e into golang-standards:master Jun 25, 2024
@ardrabczyk ardrabczyk deleted the github-wiki-to-go.dev-wiki branch June 25, 2024 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants