build/version
Dmitri Shuralyov 2a37d0d3d7 version: convert to generated copy of golang.org/dl/internal/version
Package version has been copied from golang.org/x/build/version to
golang.org/dl/internal/version as part of golang/go#23223. The old
package was marked deprecated but kept for backwards compatibility
reasons. Fixes and changes have not been backported from the new
dl/internal/version package (to avoid spending time unproductively).

bundle has recently been updated to accept an empty prefix in CL 105515.

This allows one to use bundle to make a generated copy of a package.
A generated copied package is better than a manually-maintained copied
package for the following reasons:

1. Keeping the copied package up to date with upstream is low effort,
   just need to run go generate.

2. It's clear to contributors that the copied package isn't the
   canonical version, since there is a generated comment like
   "// Code generated by golang.org/x/tools/cmd/bundle. DO NOT EDIT."
   at the top of the file. It's easy to reject changes to the copied
   package, or redirect them to the upstream.

Overall, making the copied package generated rather than hand-written
reduces the maintenace cost, and makes it more viable to keep it more
up to date with upstream.

The diff to version.go in this CL is due to some dl/internal/version
CLs being effectively backported by bundle, including CL 134435,
CL 143545, and CL 144698.

Updates golang/go#23223
Fixes golang/go#23635

Change-Id: Id8cd63c52b660b6817e6fdba080373966789e1e8
Reviewed-on: https://go-review.googlesource.com/c/148881
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-12-11 00:39:38 +00:00
..
go1.8 version: make golang.org/dl replacement more visible 2018-10-25 17:45:05 +00:00
go1.8.1 version: make golang.org/dl replacement more visible 2018-10-25 17:45:05 +00:00
go1.8.2 version: make golang.org/dl replacement more visible 2018-10-25 17:45:05 +00:00
go1.8.3 version: make golang.org/dl replacement more visible 2018-10-25 17:45:05 +00:00
go1.8.4 version: make golang.org/dl replacement more visible 2018-10-25 17:45:05 +00:00
go1.8.5 version: make golang.org/dl replacement more visible 2018-10-25 17:45:05 +00:00
go1.8.6 version: make golang.org/dl replacement more visible 2018-10-25 17:45:05 +00:00
go1.8.7 version: make golang.org/dl replacement more visible 2018-10-25 17:45:05 +00:00
go1.8beta1 version: make golang.org/dl replacement more visible 2018-10-25 17:45:05 +00:00
go1.8beta2 version: make golang.org/dl replacement more visible 2018-10-25 17:45:05 +00:00
go1.8rc1 version: make golang.org/dl replacement more visible 2018-10-25 17:45:05 +00:00
go1.8rc2 version: make golang.org/dl replacement more visible 2018-10-25 17:45:05 +00:00
go1.8rc3 version: make golang.org/dl replacement more visible 2018-10-25 17:45:05 +00:00
go1.9 version: make golang.org/dl replacement more visible 2018-10-25 17:45:05 +00:00
go1.9.1 version: make golang.org/dl replacement more visible 2018-10-25 17:45:05 +00:00
go1.9.2 version: make golang.org/dl replacement more visible 2018-10-25 17:45:05 +00:00
go1.9.3 version: make golang.org/dl replacement more visible 2018-10-25 17:45:05 +00:00
go1.9.4 version: make golang.org/dl replacement more visible 2018-10-25 17:45:05 +00:00
go1.9.5 version: make golang.org/dl replacement more visible 2018-10-25 17:45:05 +00:00
go1.9.6 version: make golang.org/dl replacement more visible 2018-10-25 17:45:05 +00:00
go1.9.7 version: make golang.org/dl replacement more visible 2018-10-25 17:45:05 +00:00
go1.9beta1 version: make golang.org/dl replacement more visible 2018-10-25 17:45:05 +00:00
go1.9beta2 version: make golang.org/dl replacement more visible 2018-10-25 17:45:05 +00:00
go1.9rc1 version: make golang.org/dl replacement more visible 2018-10-25 17:45:05 +00:00
go1.9rc2 version: make golang.org/dl replacement more visible 2018-10-25 17:45:05 +00:00
go1.10 version: make golang.org/dl replacement more visible 2018-10-25 17:45:05 +00:00
go1.10.1 version: make golang.org/dl replacement more visible 2018-10-25 17:45:05 +00:00
go1.10.2 version: make golang.org/dl replacement more visible 2018-10-25 17:45:05 +00:00
go1.10.3 version: make golang.org/dl replacement more visible 2018-10-25 17:45:05 +00:00
go1.10beta1 version: make golang.org/dl replacement more visible 2018-10-25 17:45:05 +00:00
go1.10beta2 version: make golang.org/dl replacement more visible 2018-10-25 17:45:05 +00:00
go1.10rc1 version: make golang.org/dl replacement more visible 2018-10-25 17:45:05 +00:00
go1.10rc2 version: make golang.org/dl replacement more visible 2018-10-25 17:45:05 +00:00
go1.11beta1 version: make golang.org/dl replacement more visible 2018-10-25 17:45:05 +00:00
README.md version: delete generator, add README 2018-07-13 17:13:49 +00:00
doc.go version: convert to generated copy of golang.org/dl/internal/version 2018-12-11 00:39:38 +00:00
version.go version: convert to generated copy of golang.org/dl/internal/version 2018-12-11 00:39:38 +00:00

README.md

Deprecated.

These are kept for compatibility, but new versions now live in the "dl" repo: go get -d golang.org/dl/... or git clone https://go.googlesource.com/dl.