git repository fixtures used by go-git
src-d / go-git-fixtures Goto Github PK
View Code? Open in Web Editor NEWseveral git fixtures to run go-git tests
License: Apache License 2.0
several git fixtures to run go-git tests
License: Apache License 2.0
git repository fixtures used by go-git
Let's add Travis CI to go-git-fixtures.
Trying to install with go get
I get this error:
$ go get -v gopkg.in/src-d/go-git-fixtures.v3
Fetching https://gopkg.in/src-d/go-git-fixtures.v3?go-get=1
Parsing meta tags from https://gopkg.in/src-d/go-git-fixtures.v3?go-get=1 (status code 200)
get "gopkg.in/src-d/go-git-fixtures.v3": found meta tag get.metaImport{Prefix:"gopkg.in/src-d/go-git-fixtures.v3", VCS:"git", RepoRoot:"https://gopkg.in/src-d/go-git-fixtures.v3"} at https://gopkg.in/src-d/go-git-fixtures.v3?go-get=1
gopkg.in/src-d/go-git-fixtures.v3 (download)
# cd .; git clone https://gopkg.in/src-d/go-git-fixtures.v3 /home/robin/go/src/gopkg.in/src-d/go-git-fixtures.v3
Cloning into '/home/robin/go/src/gopkg.in/src-d/go-git-fixtures.v3'...
error: RPC failed; curl 56 GnuTLS recv error (-9): A TLS packet with unexpected length was received.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
package gopkg.in/src-d/go-git-fixtures.v3: exit status 128
Trying it manually it also fails:
$ git clone https://gopkg.in/src-d/go-git-fixtures.v3 /home/robin/go/src/gopkg.in/src-d/go-git-fixtures.v3
Cloning into '/home/robin/go/src/gopkg.in/src-d/go-git-fixtures.v3'...
remote: Enumerating objects: 255, done.
error: RPC failed; curl 56 GnuTLS recv error (-9): A TLS packet with unexpected length was received.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
Any ideas?
Moved from: src-d/go-git#239
Add documentation to package.
IMHO, either if it is just a fixtures package, public methods should be documented to ease the path of anybody trying to submit a tested feature.
#15 attempted to fix this, but what it does is resort to the one in the go path. If you're exclusively using go modules, you won't have it on go path.
We need to statically embed the data in go code.
fixtures.Init
searches for the data
directory in vendor and gopath. When used with go modules it can not find it.
We need to rewrite this line to make it works: https://github.com/src-d/go-git-fixtures/blob/master/fixtures.go#L281
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.