From 7eaad5e640001333013f497c8fd558418f9d3f85 Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Wed, 25 Jan 2012 13:29:25 -0800 Subject: [PATCH] go1: sub-repositories R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5569065 --- doc/go1.html | 55 ++++++++++++++++++++++++++++++++++++++++++++++------ doc/go1.tmpl | 55 ++++++++++++++++++++++++++++++++++++++++++++++------ 2 files changed, 98 insertions(+), 12 deletions(-) diff --git a/doc/go1.html b/doc/go1.html index 9fe52d48a6d..3972e38c779 100644 --- a/doc/go1.html +++ b/doc/go1.html @@ -540,8 +540,6 @@ that are no longer in the standard repository will need to be edited by hand.
TODO: gofix should warn about deletions. -
-TODO: gofix should also handle packages that move to subrepos.

The package tree exp

@@ -642,10 +640,55 @@ Code that uses the other packages (there should be almost zero) will need to be

Packages moving to subrepositories

- +

+Go 1 has moved a number of packages into sub-repositories of +the main Go repository. +This table lists the old and new import paths: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
OldNew

crypto/bcrypt code.google.com/p/go.crypto/bcrypt
crypto/blowfish code.google.com/p/go.crypto/blowfish
crypto/cast5 code.google.com/p/go.crypto/cast5
crypto/md4 code.google.com/p/go.crypto/md4
crypto/ocsp code.google.com/p/go.crypto/ocsp
crypto/openpgp code.google.com/p/go.crypto/openpgp
crypto/openpgp/armor code.google.com/p/go.crypto/openpgp/armor
crypto/openpgp/elgamal code.google.com/p/go.crypto/openpgp/elgamal
crypto/openpgp/errors code.google.com/p/go.crypto/openpgp/errors
crypto/openpgp/packet code.google.com/p/go.crypto/openpgp/packet
crypto/openpgp/s2k code.google.com/p/go.crypto/openpgp/s2k
crypto/ripemd160 code.google.com/p/go.crypto/ripemd160
crypto/twofish code.google.com/p/go.crypto/twofish
crypto/xtea code.google.com/p/go.crypto/xtea
exp/ssh code.google.com/p/go.crypto/ssh

net/dict code.google.com/p/go.net/dict
net/websocket code.google.com/p/go.net/websocket
exp/spdy code.google.com/p/go.net/spdy

encoding/git85 code.google.com/p/go.codereview/git85
patch code.google.com/p/go.codereview/patch
+ +

+Updating: +Gofix will update imports of these packages to use the new import paths. +Installations that depend on these packages will need to install them using +a go install command. +

Major changes to the library

diff --git a/doc/go1.tmpl b/doc/go1.tmpl index 737507b9bbe..3e4d6d2d2a8 100644 --- a/doc/go1.tmpl +++ b/doc/go1.tmpl @@ -464,8 +464,6 @@ that are no longer in the standard repository will need to be edited by hand.
TODO: gofix should warn about deletions. -
-TODO: gofix should also handle packages that move to subrepos.

The package tree exp

@@ -566,10 +564,55 @@ Code that uses the other packages (there should be almost zero) will need to be

Packages moving to subrepositories

- +

+Go 1 has moved a number of packages into sub-repositories of +the main Go repository. +This table lists the old and new import paths: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
OldNew

crypto/bcrypt code.google.com/p/go.crypto/bcrypt
crypto/blowfish code.google.com/p/go.crypto/blowfish
crypto/cast5 code.google.com/p/go.crypto/cast5
crypto/md4 code.google.com/p/go.crypto/md4
crypto/ocsp code.google.com/p/go.crypto/ocsp
crypto/openpgp code.google.com/p/go.crypto/openpgp
crypto/openpgp/armor code.google.com/p/go.crypto/openpgp/armor
crypto/openpgp/elgamal code.google.com/p/go.crypto/openpgp/elgamal
crypto/openpgp/errors code.google.com/p/go.crypto/openpgp/errors
crypto/openpgp/packet code.google.com/p/go.crypto/openpgp/packet
crypto/openpgp/s2k code.google.com/p/go.crypto/openpgp/s2k
crypto/ripemd160 code.google.com/p/go.crypto/ripemd160
crypto/twofish code.google.com/p/go.crypto/twofish
crypto/xtea code.google.com/p/go.crypto/xtea
exp/ssh code.google.com/p/go.crypto/ssh

net/dict code.google.com/p/go.net/dict
net/websocket code.google.com/p/go.net/websocket
exp/spdy code.google.com/p/go.net/spdy

encoding/git85 code.google.com/p/go.codereview/git85
patch code.google.com/p/go.codereview/patch
+ +

+Updating: +Gofix will update imports of these packages to use the new import paths. +Installations that depend on these packages will need to install them using +a go install command. +

Major changes to the library