-
Notifications
You must be signed in to change notification settings - Fork 399
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to Install on Ubuntu 20.04 #805
Comments
I can reproduce the issue with:
However I don't know enough of the internals of $ mkdir -p src/github.com/StackExcahnge Best, |
I've the same problem with |
I think the problem is that "go get" is grabbing the newest hexonet and vultr dependencies but we need the older ones. I don't know go modules well enough to know how to specify that the older modules should be used. Can someone help? Alternatively if we update the code to support the newest |
The issue doesn't happen when I use |
@tlimoncelli I already planned handing over responsibility for the dnscontrol module to team member as I don't come to it myself. I can't promise things, but I am in hope that all assigned hexonet github issues can be covered until end of Q4. Just for reference related to
I am also not familiar to go modules. our go-sdk dependency itself is at least not available/published as go module, we are just releasing it at github using tags and releases. Maybe this is already the origin of this issue?... no idea. I am not having updated insights about how dependencies are used in dnscontrol - I just remember that there was a specific config file / config entry in the vendors directory to specify the exact version (commit id or so). If this has changed to always use something like |
That's because you're not using the module URL (which needs to include the major version). This works:
See 24b7d06, 2f83aa9, and #595. P.S. I changed my username from @geek1011 to @pgaskin a few weeks ago, so I didn't get the original mention. |
? It's a missing |
Sorry... I shouldn't be allowed near a keyboard before coffee. I meant |
I've updated the docs. Could you take a look? (the change is on the web and in |
That looks good in general, but the |
Thanks for the help! |
When executing go get github.com/StackExchange/dnscontrol
Output:
# github.com/StackExchange/dnscontrol/providers/hexonet go/src/github.com/StackExchange/dnscontrol/providers/hexonet/domains.go:7:41: cannot use map[string]string literal (type map[string]string) as type map[string]interface {} in argument to n.client.Request go/src/github.com/StackExchange/dnscontrol/providers/hexonet/domains.go:13:41: cannot use map[string]string literal (type map[string]string) as type map[string]interface {} in argument to n.client.Request go/src/github.com/StackExchange/dnscontrol/providers/hexonet/nameservers.go:44:41: cannot use map[string]string literal (type map[string]string) as type map[string]interface {} in argument to n.client.Request go/src/github.com/StackExchange/dnscontrol/providers/hexonet/nameservers.go:97:31: cannot use cmd (type map[string]string) as type map[string]interface {} in argument to n.client.Request go/src/github.com/StackExchange/dnscontrol/providers/hexonet/records.go:171:23: cannot use cmd (type map[string]string) as type map[string]interface {} in argument to n.client.Request go/src/github.com/StackExchange/dnscontrol/providers/hexonet/records.go:187:23: cannot use cmd (type map[string]string) as type map[string]interface {} in argument to n.client.Request
# github.com/StackExchange/dnscontrol/providers/vultr go/src/github.com/StackExchange/dnscontrol/providers/vultr/vultrProvider.go:120:103: cannot use r.Priority (type *int) as type int in argument to api.client.DNSRecord.Create go/src/github.com/StackExchange/dnscontrol/providers/vultr/vultrProvider.go:193:35: cannot convert r.Priority (type *int) to type uint16 go/src/github.com/StackExchange/dnscontrol/providers/vultr/vultrProvider.go:196:50: cannot convert r.Priority (type *int) to type uint16 go/src/github.com/StackExchange/dnscontrol/providers/vultr/vultrProvider.go:242:3: cannot use priority (type int) as type *int in field value
/usr/bin/go version: go version go1.14.6 linux/amd64
Using https://golang.org/dl/go1.14.6.linux-amd64.tar.gz
The text was updated successfully, but these errors were encountered: