diff --git a/Godeps/Godeps.json b/Godeps/Godeps.json index 399b2c0345f..7057f3589f5 100644 --- a/Godeps/Godeps.json +++ b/Godeps/Godeps.json @@ -49,10 +49,6 @@ "ImportPath": "github.com/mitchellh/go-homedir", "Rev": "1f6da4a72e57d4e7edd4a7295a585e0a3999a2d4" }, - { - "ImportPath": "github.com/mtchavez/jenkins", - "Rev": "5a816af6ef21ef401bff5e4b7dd255d63400f497" - }, { "ImportPath": "github.com/syndtr/gosnappy/snappy", "Rev": "156a073208e131d7d2e212cb749feae7c339e846" diff --git a/Godeps/_workspace/src/github.com/mtchavez/jenkins/.gitignore b/Godeps/_workspace/src/github.com/mtchavez/jenkins/.gitignore deleted file mode 100644 index 836562412fe..00000000000 --- a/Godeps/_workspace/src/github.com/mtchavez/jenkins/.gitignore +++ /dev/null @@ -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 diff --git a/Godeps/_workspace/src/github.com/mtchavez/jenkins/.travis.yml b/Godeps/_workspace/src/github.com/mtchavez/jenkins/.travis.yml deleted file mode 100644 index 25a4cf32346..00000000000 --- a/Godeps/_workspace/src/github.com/mtchavez/jenkins/.travis.yml +++ /dev/null @@ -1,8 +0,0 @@ -go: - - 1.1 - - tip -install: - - go get github.com/onsi/ginkgo - - go get github.com/onsi/gomega -before_script: go test -i ./... -script: go test ./... diff --git a/Godeps/_workspace/src/github.com/mtchavez/jenkins/Makefile b/Godeps/_workspace/src/github.com/mtchavez/jenkins/Makefile deleted file mode 100644 index f05d467e031..00000000000 --- a/Godeps/_workspace/src/github.com/mtchavez/jenkins/Makefile +++ /dev/null @@ -1,11 +0,0 @@ -build: - go build jenkins.go - -run: - go run jenkins.go - -test: - go test -cover - -default: - go run jenkins.go diff --git a/Godeps/_workspace/src/github.com/mtchavez/jenkins/README.md b/Godeps/_workspace/src/github.com/mtchavez/jenkins/README.md deleted file mode 100644 index 409f9961235..00000000000 --- a/Godeps/_workspace/src/github.com/mtchavez/jenkins/README.md +++ /dev/null @@ -1,45 +0,0 @@ -Jenkins -================= - -Golang Jenkins hash - -[![Build Status](https://travis-ci.org/mtchavez/go-jenkins-hashes.png?branch=master)](https://travis-ci.org/mtchavez/go-jenkins-hashes) - -## Install - -`go get -u github.com/mtchavez/jenkins` - -## Usage - -Jenkins follows the [Hash32](http://golang.org/pkg/hash/#Hash32) interface from the Go standard library - -```go -// Create a new hash -jenkhash := New() - -// Write a string of bytes to hash -key := []byte("my-random-key") -length, err := jenkhash(key) - -// Get uint32 sum of hash -sum := jenkhash.Sum32() - -// Sum hash with byte string -sumbytes := jenkhash.Sum(key) -``` - -## Testing - -Uses [Ginkgo](http://onsi.github.io/ginkgo/) for testing. - -Run via `make test` which will run `go test -cover` - -## Documentation - -Docs on [godoc](http://godoc.org/github.com/mtchavez/jenkins) - -## License - -Written by Chavez - -Released under the MIT License: http://www.opensource.org/licenses/mit-license.php diff --git a/Godeps/_workspace/src/github.com/mtchavez/jenkins/jenkins.go b/Godeps/_workspace/src/github.com/mtchavez/jenkins/jenkins.go deleted file mode 100644 index 79667623cd7..00000000000 --- a/Godeps/_workspace/src/github.com/mtchavez/jenkins/jenkins.go +++ /dev/null @@ -1,48 +0,0 @@ -package jenkins - -import "hash" - -type jenkhash uint32 - -func New() hash.Hash32 { - var j jenkhash = 0 - return &j -} - -func (j *jenkhash) Write(key []byte) (int, error) { - hash := *j - - for _, b := range key { - hash += jenkhash(b) - hash += (hash << 10) - hash ^= (hash >> 6) - } - - hash += (hash << 3) - hash ^= (hash >> 11) - hash += (hash << 15) - - *j = hash - return len(key), nil -} - -func (j *jenkhash) Reset() { - *j = 0 -} - -func (j *jenkhash) Size() int { - return 4 -} - -func (j *jenkhash) BlockSize() int { - return 1 -} - -func (j *jenkhash) Sum32() uint32 { - return uint32(*j) -} - -func (j *jenkhash) Sum(in []byte) []byte { - v := j.Sum32() - return append(in, byte(v>>24), byte(v>>16), byte(v>>8), byte(v)) -} diff --git a/Godeps/_workspace/src/github.com/mtchavez/jenkins/jenkins_suite_test.go b/Godeps/_workspace/src/github.com/mtchavez/jenkins/jenkins_suite_test.go deleted file mode 100644 index ec3911ba30e..00000000000 --- a/Godeps/_workspace/src/github.com/mtchavez/jenkins/jenkins_suite_test.go +++ /dev/null @@ -1,13 +0,0 @@ -package jenkins - -import ( - . "github.com/onsi/ginkgo" - . "github.com/onsi/gomega" - - "testing" -) - -func TestJenkins(t *testing.T) { - RegisterFailHandler(Fail) - RunSpecs(t, "Jenkins Suite") -} diff --git a/Godeps/_workspace/src/github.com/mtchavez/jenkins/jenkins_test.go b/Godeps/_workspace/src/github.com/mtchavez/jenkins/jenkins_test.go deleted file mode 100644 index 1cc4484ef44..00000000000 --- a/Godeps/_workspace/src/github.com/mtchavez/jenkins/jenkins_test.go +++ /dev/null @@ -1,101 +0,0 @@ -package jenkins - -import ( - . "github.com/onsi/ginkgo" - . "github.com/onsi/gomega" - "hash" -) - -var _ = Describe("Jenkins", func() { - - var jhash hash.Hash32 - var key []byte - - BeforeEach(func() { - jhash = New() - key = []byte("Apple") - }) - - Describe("New", func() { - - It("returns jenkhash", func() { - var h *jenkhash - Expect(jhash).To(BeAssignableToTypeOf(h)) - }) - - It("initializes offset to 0", func() { - Expect(jhash.Sum32()).To(Equal(uint32(0))) - }) - }) - - Describe("Write", func() { - - It("returns key length", func() { - length, _ := jhash.Write(key) - Expect(length).To(Equal(5)) - }) - - It("has no error", func() { - _, err := jhash.Write(key) - Expect(err).To(BeNil()) - }) - - }) - - Describe("Reset", func() { - - It("sets back to 0", func() { - Expect(jhash.Sum32()).To(Equal(uint32(0))) - jhash.Write(key) - Expect(jhash.Sum32()).NotTo(Equal(uint32(0))) - jhash.Reset() - Expect(jhash.Sum32()).To(Equal(uint32(0))) - }) - - }) - - Describe("Size", func() { - - It("is 4", func() { - Expect(jhash.Size()).To(Equal(4)) - }) - - }) - - Describe("BlockSize", func() { - - It("is 1", func() { - Expect(jhash.BlockSize()).To(Equal(1)) - }) - - }) - - Describe("Sum32", func() { - - It("defaults to 0", func() { - Expect(jhash.Sum32()).To(Equal(uint32(0))) - }) - - It("sums hash", func() { - jhash.Write(key) - Expect(jhash.Sum32()).To(Equal(uint32(884782484))) - }) - - }) - - Describe("Sum", func() { - - It("default 0 hash byte returned", func() { - expected := []byte{0x41, 0x70, 0x70, 0x6c, 0x65, 0x0, 0x0, 0x0, 0x0} - Expect(jhash.Sum(key)).To(Equal(expected)) - }) - - It("returns sum byte array", func() { - jhash.Write(key) - expected := []byte{0x41, 0x70, 0x70, 0x6c, 0x65, 0x34, 0xbc, 0xb5, 0x94} - Expect(jhash.Sum(key)).To(Equal(expected)) - }) - - }) - -}) diff --git a/cmd/ipfs/.gobuilder.yml b/cmd/ipfs/.gobuilder.yml deleted file mode 100644 index 1209b6720ae..00000000000 --- a/cmd/ipfs/.gobuilder.yml +++ /dev/null @@ -1,15 +0,0 @@ ---- -build_matrix: - all: - windows: - build_tags: - - nofuse -artifacts: - README.md: dist/README.md - LICENSE: dist/LICENSE - install.sh: dist/install.sh -notify: - - type: dockerhub - target: U2FsdGVkX1/90hvy0xKfT+CndVAJxbKWohRxiTWUq/FCG/5noNAJlFrSl8HviHga75vIJayCFryz0p+KPxf/6lEDm9S3xV4R0HZAZd7XSXKq9WvHAz2Np2gPglKAL5A/voagmmUtfev4aTVVqzKBFg== - filter: success -no_go_fmt: true diff --git a/cmd/ipfs/equinox.yaml b/cmd/ipfs/equinox.yaml deleted file mode 100644 index 9e764e05c8b..00000000000 --- a/cmd/ipfs/equinox.yaml +++ /dev/null @@ -1,6 +0,0 @@ ---- -equinox-account: CHANGEME -equinox-secret: CHANGEME -equinox-app: CHANGEME -channel: stable -private-key: equinox-priv