mirror of https://github.com/ethereum/go-ethereum
Merge pull request #3679 from fjl/vendor-govendor
vendor: update dependencies with github.com/kardianos/govendorpull/3683/head
commit
bdef758d5c
@ -1,44 +0,0 @@ |
||||
# package |
||||
github.com/ethereum/go-ethereum |
||||
|
||||
# import |
||||
github.com/Azure/azure-sdk-for-go v5.0.0-beta-5-gbd73d95 |
||||
github.com/aristanetworks/goarista ockafka-v0.0.2-21-g34c98d5 |
||||
github.com/cespare/cp 165db2f |
||||
github.com/davecgh/go-spew v1.1.0 |
||||
github.com/ethereum/ethash v23.1-249-g214d4c0 |
||||
github.com/fatih/color v1.2-2-ge8e01ee |
||||
github.com/gizak/termui v2.1.1-9-gf63e0cd |
||||
github.com/golang/snappy d9eb7a3 |
||||
github.com/hashicorp/golang-lru 0a025b7 |
||||
github.com/huin/goupnp 679507a |
||||
github.com/jackpal/go-nat-pmp v1.0.1-4-g1fa385a |
||||
github.com/karalabe/gousb ffa821b |
||||
github.com/maruel/panicparse ad66119 |
||||
github.com/mattn/go-colorable v0.0.6-9-gd228849 |
||||
github.com/mattn/go-isatty 30a891c |
||||
github.com/mattn/go-runewidth v0.0.1-10-g737072b |
||||
github.com/mitchellh/go-wordwrap ad45545 |
||||
github.com/nsf/termbox-go abe82ce |
||||
github.com/pborman/uuid v1.0-19-g5007efa |
||||
github.com/peterh/liner 3c5f577 |
||||
github.com/rcrowley/go-metrics 1f30fe9 |
||||
github.com/rjeczalik/notify 7e20c15 |
||||
github.com/robertkrimen/otto bf1c379 |
||||
github.com/rs/cors v1.0 |
||||
github.com/rs/xhandler v1.0-1-ged27b6f |
||||
github.com/syndtr/goleveldb 23851d9 |
||||
golang.org/x/crypto 7c6cc32 |
||||
golang.org/x/net 60c41d1 |
||||
golang.org/x/sys d75a526 |
||||
golang.org/x/text 44f4f65 |
||||
golang.org/x/tools 116266f6 |
||||
gopkg.in/check.v1 20d25e2 |
||||
gopkg.in/fatih/set.v0 v0.1.0-3-g27c4092 |
||||
gopkg.in/karalabe/cookiejar.v2 8dcd6a7 |
||||
gopkg.in/natefinch/npipe.v2 c1b8fa8 |
||||
gopkg.in/sourcemap.v1 v1.0.3 |
||||
gopkg.in/urfave/cli.v1 v1.19.1 |
||||
|
||||
# exclude |
||||
-golang.org/x/net/context |
@ -1,32 +0,0 @@ |
||||
# Compiled Object files, Static and Dynamic libs (Shared Objects) |
||||
*.o |
||||
*.a |
||||
*.so |
||||
|
||||
# Folders |
||||
_obj |
||||
_test |
||||
|
||||
# Architecture specific extensions/prefixes |
||||
*.[568vq] |
||||
[568vq].out |
||||
|
||||
*.cgo1.go |
||||
*.cgo2.c |
||||
_cgo_defun.c |
||||
_cgo_gotypes.go |
||||
_cgo_export.* |
||||
|
||||
_testmain.go |
||||
|
||||
*.exe |
||||
*.test |
||||
*.prof |
||||
|
||||
# Editor swap files |
||||
*.swp |
||||
*~ |
||||
.DS_Store |
||||
|
||||
# ignore vendor/ |
||||
vendor/ |
@ -1,33 +0,0 @@ |
||||
sudo: false |
||||
|
||||
language: go |
||||
|
||||
go: 1.7 |
||||
|
||||
install: |
||||
- go get -u github.com/golang/lint/golint |
||||
- go get -u github.com/Masterminds/glide |
||||
- go get -u golang.org/x/net/context |
||||
- go get -u github.com/HewlettPackard/gas |
||||
- go get -u gopkg.in/godo.v2/cmd/godo |
||||
- export GO15VENDOREXPERIMENT=1 |
||||
- glide install |
||||
|
||||
script: |
||||
- gas -skip=management/examples/*.go -skip=*vendor* -skip=Gododir/* ./... | tee gas-scan.txt |
||||
- test -z "$(grep 'Severity:\s*HIGH' gas-scan.txt)" |
||||
- test -z "$(gofmt -s -l $(find ./arm/* -type d -print) | tee /dev/stderr)" |
||||
- test -z "$(gofmt -s -l -w management | tee /dev/stderr)" |
||||
- test -z "$(gofmt -s -l -w storage | tee /dev/stderr)" |
||||
- test -z "$(gofmt -s -l -w Gododir | tee /dev/stderr)" |
||||
- test -z "$(go build $(find ./* -type d -print | grep -v '^./vendor$') | tee /dev/stderr)" |
||||
- test -z "$(go vet $(find ./arm/* -type d -print) | tee /dev/stderr)" |
||||
- test -z "$(golint ./arm/... | tee /dev/stderr)" |
||||
- go test -v ./storage/... -check.v |
||||
- test -z "$(golint ./storage/... | tee /dev/stderr)" |
||||
- go vet ./storage/... |
||||
- go test -v ./management/... |
||||
- test -z "$(golint ./management/... | grep -v 'should have comment' | grep -v 'stutters' | tee /dev/stderr)" |
||||
- go vet ./management/... |
||||
- test -z "$(golint ./Gododir/... | tee /dev/stderr)" |
||||
- go vet ./Gododir/... |
@ -1,12 +0,0 @@ |
||||
.idea/ |
||||
.DS_Store |
||||
*/**/*un~ |
||||
.vagrant/ |
||||
*.pyc |
||||
build/ |
||||
pyethash.egg-info/ |
||||
*.so |
||||
*~ |
||||
*.swp |
||||
MANIFEST |
||||
dist/ |
@ -1,23 +0,0 @@ |
||||
language: go |
||||
go: |
||||
- 1.4.2 |
||||
|
||||
before_install: |
||||
# for g++4.8 and C++11 |
||||
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test |
||||
|
||||
# Set up go-ethereum |
||||
- sudo apt-get update -y -qq |
||||
- sudo apt-get install -yqq libgmp3-dev |
||||
- git clone --depth=10 https://github.com/ethereum/go-ethereum ${GOPATH}/src/github.com/ethereum/go-ethereum |
||||
# use canned dependencies from the go-ethereum repository |
||||
- export GOPATH=$GOPATH:$GOPATH/src/github.com/ethereum/go-ethereum/Godeps/_workspace/ |
||||
- echo $GOPATH |
||||
|
||||
install: |
||||
# need to explicitly request version 1.48 since by default we get 1.46 which does not work with C++11 |
||||
- sudo apt-get install -qq --yes --force-yes g++-4.8 |
||||
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 50 |
||||
- sudo apt-get install -qq wget cmake bash libboost-test1.48-dev libboost-system1.48-dev libboost-filesystem1.48-dev nodejs python-pip python-dev valgrind |
||||
- sudo pip install virtualenv -q |
||||
script: "./test/test.sh" |
@ -1,5 +0,0 @@ |
||||
language: go |
||||
go: |
||||
- 1.6 |
||||
- tip |
||||
|
@ -1,26 +0,0 @@ |
||||
# Compiled Object files, Static and Dynamic libs (Shared Objects) |
||||
*.o |
||||
*.a |
||||
*.so |
||||
|
||||
# Folders |
||||
_obj |
||||
_test |
||||
|
||||
# Architecture specific extensions/prefixes |
||||
*.[568vq] |
||||
[568vq].out |
||||
|
||||
*.cgo1.go |
||||
*.cgo2.c |
||||
_cgo_defun.c |
||||
_cgo_gotypes.go |
||||
_cgo_export.* |
||||
|
||||
_testmain.go |
||||
|
||||
*.exe |
||||
*.test |
||||
*.prof |
||||
.DS_Store |
||||
/vendor |
@ -1,6 +0,0 @@ |
||||
language: go |
||||
|
||||
go: |
||||
- tip |
||||
|
||||
script: go test -v ./ |
@ -1,16 +0,0 @@ |
||||
cmd/snappytool/snappytool |
||||
testdata/bench |
||||
|
||||
# These explicitly listed benchmark data files are for an obsolete version of |
||||
# snappy_test.go. |
||||
testdata/alice29.txt |
||||
testdata/asyoulik.txt |
||||
testdata/fireworks.jpeg |
||||
testdata/geo.protodata |
||||
testdata/html |
||||
testdata/html_x_4 |
||||
testdata/kppkn.gtb |
||||
testdata/lcet10.txt |
||||
testdata/paper-100k.pdf |
||||
testdata/plrabn12.txt |
||||
testdata/urls.10K |
@ -1,23 +0,0 @@ |
||||
# Compiled Object files, Static and Dynamic libs (Shared Objects) |
||||
*.o |
||||
*.a |
||||
*.so |
||||
|
||||
# Folders |
||||
_obj |
||||
_test |
||||
|
||||
# Architecture specific extensions/prefixes |
||||
*.[568vq] |
||||
[568vq].out |
||||
|
||||
*.cgo1.go |
||||
*.cgo2.c |
||||
_cgo_defun.c |
||||
_cgo_gotypes.go |
||||
_cgo_export.* |
||||
|
||||
_testmain.go |
||||
|
||||
*.exe |
||||
*.test |
@ -1 +0,0 @@ |
||||
/gotasks/specs |
@ -1,13 +0,0 @@ |
||||
language: go |
||||
|
||||
go: |
||||
- 1.6.2 |
||||
- tip |
||||
|
||||
allowed_failures: |
||||
- go: tip |
||||
|
||||
install: |
||||
- go get -d -v ./... && go install -race -v ./... |
||||
|
||||
script: go test -race -v ./... |
@ -1,8 +0,0 @@ |
||||
language: go |
||||
go: |
||||
- tip |
||||
|
||||
sudo: false |
||||
|
||||
script: |
||||
- go test -v |
@ -0,0 +1,9 @@ |
||||
// +build !windows appengine
|
||||
|
||||
package isatty |
||||
|
||||
// IsCygwinTerminal() return true if the file descriptor is a cygwin or msys2
|
||||
// terminal. This is also always false on this environment.
|
||||
func IsCygwinTerminal(fd uintptr) bool { |
||||
return false |
||||
} |
@ -1,8 +0,0 @@ |
||||
language: go |
||||
go: |
||||
- tip |
||||
before_install: |
||||
- go get github.com/mattn/goveralls |
||||
- go get golang.org/x/tools/cmd/cover |
||||
script: |
||||
- $HOME/gopath/bin/goveralls -repotoken lAKAWPzcGsD3A8yBX3BGGtRUdJ6CaGERL |
File diff suppressed because it is too large
Load Diff
@ -1,9 +0,0 @@ |
||||
language: go |
||||
|
||||
go: |
||||
- 1.4.3 |
||||
- 1.5.3 |
||||
- tip |
||||
|
||||
script: |
||||
- go test -v ./... |
@ -1,34 +0,0 @@ |
||||
// Copyright 2014 Google Inc. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
package uuid |
||||
|
||||
import "errors" |
||||
|
||||
func (u UUID) MarshalJSON() ([]byte, error) { |
||||
if len(u) != 16 { |
||||
return []byte(`""`), nil |
||||
} |
||||
var js [38]byte |
||||
js[0] = '"' |
||||
encodeHex(js[1:], u) |
||||
js[37] = '"' |
||||
return js[:], nil |
||||
} |
||||
|
||||
func (u *UUID) UnmarshalJSON(data []byte) error { |
||||
if string(data) == `""` { |
||||
return nil |
||||
} |
||||
if data[0] != '"' { |
||||
return errors.New("invalid UUID format") |
||||
} |
||||
data = data[1 : len(data)-1] |
||||
uu := Parse(string(data)) |
||||
if uu == nil { |
||||
return errors.New("invalid UUID format") |
||||
} |
||||
*u = uu |
||||
return nil |
||||
} |
@ -0,0 +1,83 @@ |
||||
// Copyright 2016 Google Inc. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
package uuid |
||||
|
||||
import ( |
||||
"errors" |
||||
"fmt" |
||||
) |
||||
|
||||
// MarshalText implements encoding.TextMarshaler.
|
||||
func (u UUID) MarshalText() ([]byte, error) { |
||||
if len(u) != 16 { |
||||
return nil, nil |
||||
} |
||||
var js [36]byte |
||||
encodeHex(js[:], u) |
||||
return js[:], nil |
||||
} |
||||
|
||||
// UnmarshalText implements encoding.TextUnmarshaler.
|
||||
func (u *UUID) UnmarshalText(data []byte) error { |
||||
if len(data) == 0 { |
||||
return nil |
||||
} |
||||
id := Parse(string(data)) |
||||
if id == nil { |
||||
return errors.New("invalid UUID") |
||||
} |
||||
*u = id |
||||
return nil |
||||
} |
||||
|
||||
// MarshalBinary implements encoding.BinaryMarshaler.
|
||||
func (u UUID) MarshalBinary() ([]byte, error) { |
||||
return u[:], nil |
||||
} |
||||
|
||||
// UnmarshalBinary implements encoding.BinaryUnmarshaler.
|
||||
func (u *UUID) UnmarshalBinary(data []byte) error { |
||||
if len(data) == 0 { |
||||
return nil |
||||
} |
||||
if len(data) != 16 { |
||||
return fmt.Errorf("invalid UUID (got %d bytes)", len(data)) |
||||
} |
||||
var id [16]byte |
||||
copy(id[:], data) |
||||
*u = id[:] |
||||
return nil |
||||
} |
||||
|
||||
// MarshalText implements encoding.TextMarshaler.
|
||||
func (u Array) MarshalText() ([]byte, error) { |
||||
var js [36]byte |
||||
encodeHex(js[:], u[:]) |
||||
return js[:], nil |
||||
} |
||||
|
||||
// UnmarshalText implements encoding.TextUnmarshaler.
|
||||
func (u *Array) UnmarshalText(data []byte) error { |
||||
id := Parse(string(data)) |
||||
if id == nil { |
||||
return errors.New("invalid UUID") |
||||
} |
||||
*u = id.Array() |
||||
return nil |
||||
} |
||||
|
||||
// MarshalBinary implements encoding.BinaryMarshaler.
|
||||
func (u Array) MarshalBinary() ([]byte, error) { |
||||
return u[:], nil |
||||
} |
||||
|
||||
// UnmarshalBinary implements encoding.BinaryUnmarshaler.
|
||||
func (u *Array) UnmarshalBinary(data []byte) error { |
||||
if len(data) != 16 { |
||||
return fmt.Errorf("invalid UUID (got %d bytes)", len(data)) |
||||
} |
||||
copy(u[:], data) |
||||
return nil |
||||
} |
@ -1,9 +0,0 @@ |
||||
*.[68] |
||||
*.a |
||||
*.out |
||||
*.swp |
||||
_obj |
||||
_testmain.go |
||||
cmd/metrics-bench/metrics-bench |
||||
cmd/metrics-example/metrics-example |
||||
cmd/never-read/never-read |
@ -1,14 +0,0 @@ |
||||
language: go |
||||
|
||||
go: |
||||
- 1.2 |
||||
- 1.3 |
||||
- 1.4 |
||||
- 1.5 |
||||
|
||||
script: |
||||
- ./validate.sh |
||||
|
||||
# this should give us faster builds according to |
||||
# http://docs.travis-ci.com/user/migrating-from-legacy/ |
||||
sudo: false |
@ -1,88 +0,0 @@ |
||||
# Created by https://www.gitignore.io |
||||
|
||||
### OSX ### |
||||
.DS_Store |
||||
.AppleDouble |
||||
.LSOverride |
||||
|
||||
# Icon must end with two \r |
||||
Icon
|
||||
|
||||
# Thumbnails |
||||
._* |
||||
|
||||
# Files that might appear on external disk |
||||
.Spotlight-V100 |
||||
.Trashes |
||||
|
||||
# Directories potentially created on remote AFP share |
||||
.AppleDB |
||||
.AppleDesktop |
||||
Network Trash Folder |
||||
Temporary Items |
||||
.apdisk |
||||
|
||||
|
||||
### Windows ### |
||||
# Windows image file caches |
||||
Thumbs.db |
||||
ehthumbs.db |
||||
|
||||
# Folder config file |
||||
Desktop.ini |
||||
|
||||
# Recycle Bin used on file shares |
||||
$RECYCLE.BIN/ |
||||
|
||||
# Windows Installer files |
||||
*.cab |
||||
*.msi |
||||
*.msm |
||||
*.msp |
||||
|
||||
# Windows shortcuts |
||||
*.lnk |
||||
|
||||
|
||||
### Linux ### |
||||
*~ |
||||
|
||||
# KDE directory preferences |
||||
.directory |
||||
|
||||
|
||||
### Go ### |
||||
# Compiled Object files, Static and Dynamic libs (Shared Objects) |
||||
*.o |
||||
*.a |
||||
*.so |
||||
|
||||
# Folders |
||||
_obj |
||||
_test |
||||
|
||||
# Architecture specific extensions/prefixes |
||||
*.[568vq] |
||||
[568vq].out |
||||
|
||||
*.cgo1.go |
||||
*.cgo2.c |
||||
_cgo_defun.c |
||||
_cgo_gotypes.go |
||||
_cgo_export.* |
||||
|
||||
_testmain.go |
||||
|
||||
*.exe |
||||
*.test |
||||
*.prof |
||||
|
||||
|
||||
### vim ### |
||||
[._]*.s[a-w][a-z] |
||||
[._]s[a-w][a-z] |
||||
*.un~ |
||||
Session.vim |
||||
.netrwhist |
||||
*~ |
||||
|
@ -1,29 +0,0 @@ |
||||
language: go |
||||
|
||||
go: |
||||
- 1.4.3 |
||||
- 1.6 |
||||
|
||||
os: |
||||
- linux |
||||
- osx |
||||
|
||||
matrix: |
||||
include: |
||||
- os: osx |
||||
go: 1.6 |
||||
env: |
||||
- GOFLAGS="-tags kqueue" |
||||
|
||||
env: |
||||
global: |
||||
- GOBIN=$HOME/bin |
||||
- PATH=$HOME/bin:$PATH |
||||
|
||||
install: |
||||
- go get -t -v ./... |
||||
|
||||
script: |
||||
- "(go version | grep -q 1.4) || go tool vet -all ." |
||||
- go install $GOFLAGS ./... |
||||
- go test -v -race $GOFLAGS ./... |
@ -1,5 +0,0 @@ |
||||
/.test |
||||
/otto/otto |
||||
/otto/otto-* |
||||
/test/test-*.js |
||||
/test/tester |
@ -1,4 +0,0 @@ |
||||
language: go |
||||
go: |
||||
- 1.3 |
||||
- 1.4 |
@ -1,7 +0,0 @@ |
||||
language: go |
||||
go: |
||||
- 1.5 |
||||
- tip |
||||
matrix: |
||||
allow_failures: |
||||
- go: tip |
@ -1 +0,0 @@ |
||||
_obj/ |
@ -1,10 +0,0 @@ |
||||
// Copyright 2014 The Go Authors. All rights reserved. |
||||
// Use of this source code is governed by a BSD-style |
||||
// license that can be found in the LICENSE file. |
||||
|
||||
// +build !gccgo |
||||
|
||||
#include "textflag.h" |
||||
|
||||
TEXT ·use(SB),NOSPLIT,$0 |
||||
RET |
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue