Page MenuHomeFreeBSD

lang/go*,devel/go-perf: update default website to go.dev
Needs ReviewPublic

Authored by mengzhuo1203_gmail.com on Thu, May 29, 8:37 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jun 11, 10:19 AM
Unknown Object (File)
Sat, Jun 7, 4:26 PM
Unknown Object (File)
Mon, Jun 2, 4:09 PM
Unknown Object (File)
Mon, Jun 2, 7:26 AM
Subscribers
None

Details

Reviewers
adamw
bapt
arrowd
Summary

The original golang.org has been deprecated, all links has been redirected to go.dev

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

Good catch! I'm definitely in favor of switching, but:

    1. They'll need to leave the server up for basically ever because of all the programs and libraries depending on packages in the golang.org namespace
  1. That URL has to be mentioned in more than just the lang/go* Makefiles. Have you checked for other Makefiles, pkg-descrs, pkg-message, pkg-message.in, etc? I fully agree about switching to go.dev, but it'd be a long-term win to switch the tree as a whole.

Good catch! I'm definitely in favor of switching, but:

    1. They'll need to leave the server up for basically ever because of all the programs and libraries depending on packages in the golang.org namespace
  1. That URL has to be mentioned in more than just the lang/go* Makefiles. Have you checked for other Makefiles, pkg-descrs, pkg-message, pkg-message.in, etc? I fully agree about switching to go.dev, but it'd be a long-term win to switch the tree as a whole.

Thanks for review,
This change only affect download source code and binary for go itself.
The https://golang.org/dl/*.src.tar.gz redirect (HTTP 301) to go.dev/dl then Google blob file server.

Other golang.org namespace library (golang.org/x) won't change AFAIK.

Thanks for review,
This change only affect download source code and binary for go itself.
The https://golang.org/dl/*.src.tar.gz redirect (HTTP 301) to go.dev/dl then Google blob file server.

Other golang.org namespace library (golang.org/x) won't change AFAIK.

I was unclear before: I'm saying that other ports need this change too. "golang.org" appears in some pkg-descr files, it appears in WWW in a number of ports, it appears in Mk/Uses/go.mk, etc.

Before approving and committing this patch, I wanted to encourage you to take a stab at extending this change for other ports too, if you're interested.

mengzhuo1203_gmail.com retitled this revision from lang/go@: update default website to go.dev to lang/go*,devel/go-perf: update default website to go.dev.

Thanks for review,
This change only affect download source code and binary for go itself.
The https://golang.org/dl/*.src.tar.gz redirect (HTTP 301) to go.dev/dl then Google blob file server.

Other golang.org namespace library (golang.org/x) won't change AFAIK.

I was unclear before: I'm saying that other ports need this change too. "golang.org" appears in some pkg-descr files, it appears in WWW in a number of ports, it appears in Mk/Uses/go.mk, etc.

Before approving and committing this patch, I wanted to encourage you to take a stab at extending this change for other ports too, if you're interested.

Thanks for review, I use p5-ack to search "https://golang.org", and find two more matches than the first diff.