-
Notifications
You must be signed in to change notification settings - Fork 20
Conversation
Signed-off-by: Denys Smirnov <denys@sourced.tech>
Waiting for someone to enable CIs :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
And I guess at least 2 pages at documentation need to have paths updated as well?
@bzz Definitely. Also, still waiting for AppVeyor CI pass. |
Signed-off-by: Denys Smirnov <denys@sourced.tech>
JFYI Sorry for not noticing that earlier. Similar failures were rised as relevant in module migration in
|
@bzz |
I know, @dennwc and thought the same, it's just that a different opinion was expressed by @creachadair at src-d/enry#219 (comment) so I'm just sharing it here. Would be good to treat those uniformly somehow, given that there is no conceptual difference between these two. |
Well, we should probably not be using |
Agree! But I'm a bit confused - I'm not aware of anyone using |
Sorry, based on #118 (comment) I thought maybe you were saying our failures were due to that. If |
@@ -1,15 +1,15 @@ | |||
language: go | |||
go_import_path: gopkg.in/bblfsh/client-go.v3 | |||
go_import_path: github.com/bblfsh/go-client |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm sorry for digging this up - but @dennwc do you think we still need this for some reason, given GO111MODULE=on
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can try disabling it. The only reason to do this is to allow CI to pass in forks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, thank you for confirming - that is what I thought as well.
On the second thought - would not CI on forks still work, even without it, as GO111MODULE=on
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it should be able to infer the import path from go.mod
anyway, so you are right, it should work. Let me try to open a PR with it, we'll see if it fails or not on my fork.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😆 thank you for brave experiments!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
install: | ||
- | | ||
if [[ $TRAVIS_OS_NAME = linux ]]; then | ||
docker run --privileged -d -p 9432:9432 --name bblfshd bblfsh/bblfshd:$BBLFSHD_VERSION | ||
docker exec bblfshd bblfshctl driver install bblfsh/python-driver:$BBLFSH_PYTHON_VERSION | ||
fi | ||
- go get -v -t ./... | ||
- go mod download |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BTW, do you think this is necessary for correctness, or is it just an optimisation to warm up some FS cache between jobs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it's only to split the dependency download process and the test process. It will work if we remove it, but it will download everything during go test
.
Switch import paths from
gopkg.in
to GitHub and switch Dep to Go modules.This also bumps the client version to
v4
.