Re: [fossil-users] Using fossil with Golang (go get)

2018-06-19 Thread Zack Scholl
Hi Carlo, Actually chiselapp.com is a special case. They included it specifically as a pre-defined VCS path [1]. So to get it work with your own fossil, you should add the meta tag. [1]: https://github.com/golang/go/blob/master/src/cmd/go/internal/get/vcs.go#L1009-L1015 On Tue, Jun 19, 2018

Re: [fossil-users] Using fossil with Golang (go get)

2018-06-19 Thread Carlo Miron
On Tue, Jun 19, 2018 at 8:54 AM, Mark Janssen (fossil) wrote: > Has someone managed to make `go get` work with `hydra.ecd.space`? `chiselapp.com` works out of the box, even without the `` trickery: $ GOPATH=/tmp/go go get chiselapp.com/user/C8E/repository/go $ /tmp/go/bin/go

Re: [fossil-users] Using fossil with Golang (go get)

2018-06-19 Thread Mark Janssen (fossil)
On 2018-06-18 23:42, Zack Scholl wrote: Hi Mark, The meta tag will not work for importing Go code. The first term needs to match the import path, e.g. "X" in the `go get X` command. And "http(s)://" is not allowed in the import path for `go get`. Is there a fossil variable similar to

Re: [fossil-users] Using fossil with Golang (go get)

2018-06-18 Thread Zack Scholl
Hi Mark, The meta tag will not work for importing Go code. The first term needs to match the import path, e.g. "X" in the `go get X` command. And "http(s)://" is not allowed in the import path for `go get`. Is there a fossil variable similar to "$baseurl" for the base URL without the

Re: [fossil-users] Using fossil with Golang (go get)

2018-06-18 Thread Mark Janssen (fossil)
On 2018-06-17 14:57, Zack Scholl wrote: All you need to do is update your "Header" skin (Admin -> Skins) to include a special meta tag that `go get` will fetch to interpret your fossil as a Go library/program. For example, if you have a fossil hosted at https://yourdomain.com/hello-world then