зеркало из https://github.com/golang/build.git
2a37d0d3d7
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> |
||
---|---|---|
.. | ||
go1.8 | ||
go1.8.1 | ||
go1.8.2 | ||
go1.8.3 | ||
go1.8.4 | ||
go1.8.5 | ||
go1.8.6 | ||
go1.8.7 | ||
go1.8beta1 | ||
go1.8beta2 | ||
go1.8rc1 | ||
go1.8rc2 | ||
go1.8rc3 | ||
go1.9 | ||
go1.9.1 | ||
go1.9.2 | ||
go1.9.3 | ||
go1.9.4 | ||
go1.9.5 | ||
go1.9.6 | ||
go1.9.7 | ||
go1.9beta1 | ||
go1.9beta2 | ||
go1.9rc1 | ||
go1.9rc2 | ||
go1.10 | ||
go1.10.1 | ||
go1.10.2 | ||
go1.10.3 | ||
go1.10beta1 | ||
go1.10beta2 | ||
go1.10rc1 | ||
go1.10rc2 | ||
go1.11beta1 | ||
README.md | ||
doc.go | ||
version.go |
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
.