The documentation for the -f flags says: > The -f flag, valid only when -u is set, forces get -u not to verify that > each package has been checked out from the source control repository > implied by its import path. This can be useful if the source is a local fork > of the original.
However, you're not getting an error indicating a mismatch between source control repository and import path. You're getting an error indicating that go-get doesn't understand what VCS is in use (or maybe that it doesn't work, as in git or hg not being installed). The -u flag requests go-get to update the package to the latest version from source control, so it can't continue at that point. //jb > On 2 Oct 2017, at 09:15, alexandre.ferri...@gmail.com wrote: > > Bump -- this looks like a very basic misbehavior, the "-f" flag simply > ignored... any taker ? > > On Sunday, October 1, 2017 at 6:16:58 AM UTC+2, alexandre...@gmail.com wrote: > Hi, > > I'm trying to build quic-go (Go implementation of the QUIC protocol > https://github.com/lucas-clemente/quic-go ). > As per the project's instructions, the first step is: > > go get -t -u ./... > > But doing so results in a wealth of fatal errors like: > > package quic-go-master: directory "/home/alex/go/src/quic-go-master" is > not using a known version control system > > Reading the documentation (go help get) hints at the "-f" flag to disable VCS > checking. > However, "go get -t -u -f ./..." gives the very same errors. > > Thanks in advance for helping me out -- I'm stuck. > > -Alex > > -- > You received this message because you are subscribed to the Google Groups > "golang-nuts" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.