Closed millisecond closed 7 years ago
Hi, sorry for not reviewing this before, thanks @fasterthanlime for picking it up.
Regarding #40 - The CI script does some work to move the code into the right path so that the gopkg.in package import works (also thanks to Amos), so don't worry about that - all the tests pass, so it's just that linter check that needs fixing. You can run the linter yourself to check locally:
go get -u github.com/golang/lint/golint
golint ./...
Thanks again for contributing!
Fixed the lint issue and it's still failing on some not-found thing. I'm also seeing that locally but on a different laptop than I authored it on. Not seeing why it would fail, but will check this weekend when I'm back on my main dev env.
Offending lines on this job seem to be:
./brotli_test.go:155: undefined: enc.CompressBufferDict
./brotli_test.go:166: undefined: dec.DecompressBufferDict
Yeah, but in the branch I'm pulling from those functions exist, here's the enc one: https://github.com/millisecond/brotli-go/blob/master/enc/encode.go#L182
Oh yeah I wasn't blaming you :) I think there still might be something wrong with the CI setup. Go is notoriously hard to set up right.. But I think Travis CI got some golang support recently? Not sure if that's usable with the way brotli-go is set up.
@fasterthanlime was correct, the CI setup was broken, possibly due to my introduction of GVM to build with newer versions of Go than Travis used to support. Some weirdness was happening with two different go paths, and the build directory not being in the active GOPATH. 🤕
I've removed my overrides, and the build script now uses the default behaviour for installing go. I'm closing and re-opening this PR to get Travis to start a new build. 🤞
Thanks again both of you, sorry for the broken CI build!
Hey guys, back in the saddle now. Thanks for taking that to the finish line!
I was able to move encoding changes to only modify encode_go but not seeing a parallel with decode. See that a decode_go.c structure might work, but beyond my C skills :)