Skip to content

Commit

Permalink
Update references from code.google.com to GitHub.
Browse files Browse the repository at this point in the history
The offical subrepos are now pointed to by golang.org/x/name (see [1]).
This change updates the code.google.com pointers to use those redirects.

Also, the home of the protobuf library has moved to GitHub, and so
that's changed too. No more references to code.google.com remain.

[1] https://groups.google.com/forum/#!msg/golang-nuts/eD8dh3T9yyA/l5Ail-xfMiAJ
  • Loading branch information
agl committed Jan 2, 2015
1 parent c375df4 commit d3f5a23
Show file tree
Hide file tree
Showing 31 changed files with 57 additions and 55 deletions.
2 changes: 1 addition & 1 deletion bbssig/bbssig.go
Expand Up @@ -28,7 +28,7 @@ import (
"io"
"math/big"

"code.google.com/p/go.crypto/bn256"
"golang.org/x/crypto/bn256"
)

// SignatureSize is the size, in bytes, of the signatures produced by this
Expand Down
3 changes: 2 additions & 1 deletion bn256cgo/bn256_test.go
Expand Up @@ -2,9 +2,10 @@ package bn256cgo

import (
"bytes"
"code.google.com/p/go.crypto/bn256"
"math/big"
"testing"

"golang.org/x/crypto/bn256"
)

func TestPowers(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions client/background.go
Expand Up @@ -10,9 +10,9 @@ import (
"path/filepath"
"time"

"code.google.com/p/go.crypto/nacl/secretbox"
"code.google.com/p/goprotobuf/proto"
pond "github.com/agl/pond/protos"
"github.com/golang/protobuf/proto"
"golang.org/x/crypto/nacl/secretbox"
)

var backgroundCanceledError = errors.New("background task canceled")
Expand Down
2 changes: 1 addition & 1 deletion client/cli-input.go
Expand Up @@ -10,7 +10,7 @@ import (
"strconv"
"strings"

"code.google.com/p/go.crypto/ssh/terminal"
"golang.org/x/crypto/ssh/terminal"
)

type cliCommand struct {
Expand Down
4 changes: 2 additions & 2 deletions client/cli.go
Expand Up @@ -15,12 +15,12 @@ import (
"syscall"
"time"

"code.google.com/p/go.crypto/ssh/terminal"
"code.google.com/p/goprotobuf/proto"
"github.com/agl/pond/client/disk"
"github.com/agl/pond/client/system"
"github.com/agl/pond/panda"
pond "github.com/agl/pond/protos"
"github.com/golang/protobuf/proto"
"golang.org/x/crypto/ssh/terminal"
)

const haveCLI = true
Expand Down
6 changes: 3 additions & 3 deletions client/client.go
Expand Up @@ -76,16 +76,16 @@ import (
"sync"
"time"

"code.google.com/p/go.crypto/curve25519"
"code.google.com/p/go.crypto/nacl/secretbox"
"code.google.com/p/goprotobuf/proto"
"github.com/agl/ed25519"
"github.com/agl/ed25519/extra25519"
"github.com/agl/pond/bbssig"
"github.com/agl/pond/client/disk"
"github.com/agl/pond/client/ratchet"
"github.com/agl/pond/panda"
pond "github.com/agl/pond/protos"
"github.com/golang/protobuf/proto"
"golang.org/x/crypto/curve25519"
"golang.org/x/crypto/nacl/secretbox"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion client/client_test.go
Expand Up @@ -18,9 +18,9 @@ import (
"testing"
"time"

"code.google.com/p/goprotobuf/proto"
panda "github.com/agl/pond/panda"
pond "github.com/agl/pond/protos"
"github.com/golang/protobuf/proto"
)

// clientLogToStderr controls whether the TestClients will log to stderr during
Expand Down
4 changes: 2 additions & 2 deletions client/disk.go
Expand Up @@ -4,11 +4,11 @@ import (
"errors"
"time"

"code.google.com/p/go.crypto/curve25519"
"code.google.com/p/goprotobuf/proto"
"github.com/agl/pond/bbssig"
"github.com/agl/pond/client/disk"
pond "github.com/agl/pond/protos"
"github.com/golang/protobuf/proto"
"golang.org/x/crypto/curve25519"
)

// erasureRotationTime is the amount of time that we'll use a single erasure
Expand Down
2 changes: 1 addition & 1 deletion client/disk/client.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions client/disk/disk.go
Expand Up @@ -10,9 +10,9 @@ import (
"sync"
"syscall"

"code.google.com/p/go.crypto/nacl/secretbox"
"code.google.com/p/go.crypto/scrypt"
"code.google.com/p/goprotobuf/proto"
"github.com/golang/protobuf/proto"
"golang.org/x/crypto/nacl/secretbox"
"golang.org/x/crypto/scrypt"
)

const (
Expand Down
4 changes: 2 additions & 2 deletions client/disk/tpm_linux.go
Expand Up @@ -8,8 +8,8 @@ import (
"fmt"
"io"

"code.google.com/p/goprotobuf/proto"
"github.com/agl/pond/client/tpm"
"github.com/golang/protobuf/proto"
)

func init() {
Expand Down Expand Up @@ -221,5 +221,5 @@ func (t *TPM) Destroy(key *[kdfKeyLen]byte) error {
}

nvram.Index = t.index
return nvram.Destroy();
return nvram.Destroy()
}
2 changes: 1 addition & 1 deletion client/gui.go
Expand Up @@ -15,10 +15,10 @@ import (
"strings"
"time"

"code.google.com/p/goprotobuf/proto"
"github.com/agl/pond/client/disk"
"github.com/agl/pond/panda"
pond "github.com/agl/pond/protos"
"github.com/golang/protobuf/proto"
)

const haveGUI = true
Expand Down
2 changes: 1 addition & 1 deletion client/main_linux.go
Expand Up @@ -9,7 +9,7 @@ import (
"path/filepath"
"runtime"

"code.google.com/p/go.crypto/scrypt"
"golang.org/x/crypto/scrypt"
)

func main() {
Expand Down
8 changes: 4 additions & 4 deletions client/network.go
Expand Up @@ -18,14 +18,14 @@ import (
"strings"
"time"

"code.google.com/p/go.crypto/curve25519"
"code.google.com/p/go.crypto/nacl/box"
"code.google.com/p/go.net/proxy"
"code.google.com/p/goprotobuf/proto"
"github.com/agl/ed25519"
"github.com/agl/pond/bbssig"
pond "github.com/agl/pond/protos"
"github.com/agl/pond/transport"
"github.com/golang/protobuf/proto"
"golang.org/x/crypto/curve25519"
"golang.org/x/crypto/nacl/box"
"golang.org/x/net/proxy"
)

const (
Expand Down
6 changes: 3 additions & 3 deletions client/ratchet/ratchet.go
Expand Up @@ -12,11 +12,11 @@ import (
"io"
"time"

"code.google.com/p/go.crypto/curve25519"
"code.google.com/p/go.crypto/nacl/secretbox"
"code.google.com/p/goprotobuf/proto"
"github.com/agl/pond/client/disk"
pond "github.com/agl/pond/protos"
"github.com/golang/protobuf/proto"
"golang.org/x/crypto/curve25519"
"golang.org/x/crypto/nacl/secretbox"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion client/ratchet/ratchet_test.go
Expand Up @@ -7,8 +7,8 @@ import (
"testing"
"time"

"code.google.com/p/go.crypto/curve25519"
pond "github.com/agl/pond/protos"
"golang.org/x/crypto/curve25519"
)

func nowFunc() time.Time {
Expand Down
4 changes: 2 additions & 2 deletions decrypt/decrypt.go
Expand Up @@ -11,9 +11,9 @@ import (
"io/ioutil"
"os"

"code.google.com/p/go.crypto/nacl/secretbox"
"code.google.com/p/goprotobuf/proto"
pond "github.com/agl/pond/protos"
"github.com/golang/protobuf/proto"
"golang.org/x/crypto/nacl/secretbox"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion doc/index.html
Expand Up @@ -99,7 +99,7 @@ <h5>Fedora 19</h5>
<pre>sudo yum install gtk3-devel gtkspell3-devel gcc trousers-devel git mercurial tor
sudo systemctl start tor
cd
hg clone https://code.google.com/p/go
git clone https://github.com/golang/go
cd go/src
./all.bash
cd
Expand Down
4 changes: 2 additions & 2 deletions editstate/editstate.go
Expand Up @@ -18,11 +18,11 @@ import (
"strings"
"syscall"

"code.google.com/p/go.crypto/ssh/terminal"
"code.google.com/p/goprotobuf/proto"
"github.com/agl/pond/client/disk"
"github.com/agl/pond/client/system"
pond "github.com/agl/pond/protos"
"github.com/golang/protobuf/proto"
"golang.org/x/crypto/ssh/terminal"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion editstate/editstate_test.go
Expand Up @@ -5,8 +5,8 @@ import (
"io/ioutil"
"testing"

"code.google.com/p/goprotobuf/proto"
"github.com/agl/pond/client/disk"
"github.com/golang/protobuf/proto"
)

func TestSerializedDeserialize(t *testing.T) {
Expand Down
3 changes: 2 additions & 1 deletion panda/appengine.go
Expand Up @@ -3,7 +3,6 @@ package panda
import (
"bufio"
"bytes"
"code.google.com/p/go.net/proxy"
"crypto/tls"
"encoding/hex"
"errors"
Expand All @@ -14,6 +13,8 @@ import (
"net/url"
"strings"
"time"

"golang.org/x/net/proxy"
)

type HTTPMeetingPlace struct {
Expand Down
10 changes: 5 additions & 5 deletions panda/panda.go
Expand Up @@ -14,12 +14,12 @@ import (
"strings"
"sync"

"code.google.com/p/go.crypto/curve25519"
"code.google.com/p/go.crypto/hkdf"
"code.google.com/p/go.crypto/nacl/secretbox"
"code.google.com/p/go.crypto/scrypt"
"code.google.com/p/goprotobuf/proto"
"github.com/agl/pond/panda/rijndael"
"github.com/golang/protobuf/proto"
"golang.org/x/crypto/curve25519"
"golang.org/x/crypto/hkdf"
"golang.org/x/crypto/nacl/secretbox"
"golang.org/x/crypto/scrypt"

panda_proto "github.com/agl/pond/panda/proto"
)
Expand Down
2 changes: 1 addition & 1 deletion panda/proto/core.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion protos/const.go
@@ -1,6 +1,6 @@
package protos

import "code.google.com/p/go.crypto/nacl/secretbox"
import "golang.org/x/crypto/nacl/secretbox"

// TransportSize is the number of bytes that all payloads are padded to before
// sending on the network.
Expand Down
2 changes: 1 addition & 1 deletion protos/pond.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions server/main.go
Expand Up @@ -13,8 +13,8 @@ import (
"strings"
"time"

"code.google.com/p/go.crypto/curve25519"
"code.google.com/p/goprotobuf/proto"
"github.com/golang/protobuf/proto"
"golang.org/x/crypto/curve25519"

pond "github.com/agl/pond/protos"
"github.com/agl/pond/server/protos"
Expand Down
2 changes: 1 addition & 1 deletion server/protos/server.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion server/server.go
Expand Up @@ -17,11 +17,11 @@ import (
"sync"
"time"

"code.google.com/p/goprotobuf/proto"
"github.com/agl/ed25519"
"github.com/agl/pond/bbssig"
pond "github.com/agl/pond/protos"
"github.com/agl/pond/transport"
"github.com/golang/protobuf/proto"
)

const (
Expand Down
6 changes: 3 additions & 3 deletions server/server_test.go
Expand Up @@ -17,14 +17,14 @@ import (
"testing"
"time"

"code.google.com/p/go.crypto/curve25519"
"code.google.com/p/go.crypto/salsa20"
"golang.org/x/crypto/curve25519"
"golang.org/x/crypto/salsa20"

"code.google.com/p/goprotobuf/proto"
"github.com/agl/ed25519"
"github.com/agl/pond/bbssig"
pond "github.com/agl/pond/protos"
"github.com/agl/pond/transport"
"github.com/golang/protobuf/proto"
)

type TestServer struct {
Expand Down
6 changes: 3 additions & 3 deletions transport/transport.go
Expand Up @@ -11,10 +11,10 @@ import (
"strconv"
"time"

"code.google.com/p/go.crypto/curve25519"
"code.google.com/p/go.crypto/nacl/secretbox"
"code.google.com/p/goprotobuf/proto"
pond "github.com/agl/pond/protos"
"github.com/golang/protobuf/proto"
"golang.org/x/crypto/curve25519"
"golang.org/x/crypto/nacl/secretbox"
)

// blockSize is the size of the blocks of data that we'll send and receive when
Expand Down
2 changes: 1 addition & 1 deletion transport/transport_test.go
Expand Up @@ -9,8 +9,8 @@ import (
"net"
"testing"

"code.google.com/p/go.crypto/curve25519"
pond "github.com/agl/pond/protos"
"golang.org/x/crypto/curve25519"
)

func NewBiDiPipe() (x, y net.Conn) {
Expand Down

0 comments on commit d3f5a23

Please sign in to comment.