[MacPorts] #60802: gopls downloads things at build time
MacPorts
noreply at macports.org
Mon Aug 10 06:17:21 UTC 2020
#60802: gopls downloads things at build time
-------------------------+----------------------
Reporter: ryandesign | Owner: ra1nb0w
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.2
Resolution: | Keywords:
Port: gopls |
-------------------------+----------------------
Comment (by ra1nb0w):
Replying to [comment:6 danieltrautmann]:
> Can you check if it is possible to use the GitHub URL
`github.com/mvdan/xurls` in the `go.vendors` option? I guess `lock` should
be `v2.2.0`.
we need to respect the hierarchy and this is done with the url therefore I
can't use the true source without moving back to the name used on the
dependency declaration.
> Also there is a tool called `go2port`, which is available as port, which
can generate the portfile based on the Go module. For now it seems that it
doesn't support these package names either (there is an open issue), but
someone already made a pull request for that. Maybe you can checkout is
fork and see if it works. https://github.com/amake/go2port/pull/3
Tried and seems it doesn't work and unfortunately gopls is contained in
another repository with many bins (see go-tools). The other option is to
use a custom pre-build or pre-fetch but I didn't found a way that worked
well.
--
Ticket URL: <https://trac.macports.org/ticket/60802#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list