Open nikhilmat opened 7 years ago
Is it possible to remove this flag and use the upstream gcfg
Unfortunately there was a reason this flag was introduced, and so the answer is no.
Currently, I've had to make these same changes in my consuming application's vendor directory and be careful when updating godep to maintain the changes.
Same.
Relatedly, any thoughts on using a tool like godep to manage the dependencies?
I'm dissatisfied with practically all solutions, but of course I am also dissatisfied with not using them. If anything, I'd go for the official go dep
tool (not to confuse with godep
). However as I have many things on my plate right now I'd need someone to assist on this. Most notably I need to get a sense of the disadvantages of using go dep
.
Hi @nikhilmat @shlomi-noach can I ask what updates did you guys update in your dependency management file (for me: go.mod
to overcome this issue? I am currently importing gh-ost
as a go-library as well, and is facing the exact same issue.
github.com/github/gh-ost/go/base
vendor/github.com/github/gh-ost/go/base/context.go:811:7: undefined: gcfg.RelaxedParserMode
vendor/github.com/github/gh-ost/go/base/context.go:812:14: undefined: gcfgscanner.RelaxedScannerMode
Is quite urgent for the build I am about to make, hope to get some clarity on this 😃
Hello!
While trying to consume
gh-ost
as a go library, I included it in an application that is usinggodep
to manage the dependencies. Whengh-ost
is pulled in, it ignores the project'svendor
directory and installs the dependencies needed bygh-ost
into the top level vendor directory in the consuming application. A while back there were some modifications to thegcfg
library checked in to this repo to add theRelaxedParserMode
(https://github.com/github/gh-ost/commit/4774b67ffdc6e87837ca1a2d413fe416f938eeba#diff-a44ddd65a1cbf0f5ef8b69bde1953565). Whengodep
resolvesgcfg
the upstream version, I get the following compiler error because this flag is not present:Any ideas on how best to proceed here? Is it possible to remove this flag and use the upstream
gcfg
? Currently, I've had to make these same changes in my consuming application's vendor directory and be careful when updatinggodep
to maintain the changes. Relatedly, any thoughts on using a tool likegodep
to manage the dependencies?