You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 23, 2021. It is now read-only.
It is currently impossible to install a fork of a project.
For example, github.com/myitcv/gopherjs is a fork of github.com/gopherjs/gopherjs. The module at the path github.com/myitcv/gopherjs is github.com/gopherjs/gopherjs, that is to say, the former can only be used as a replace target for the latter.
Hence gobin currently fails:
failed to run go get -d github.com/myitcv/gopherjs: exit status 1
go: finding github.com/myitcv/gopherjs latest
go: github.com/myitcv/[email protected]: parsing go.mod: unexpected module path "github.com/gopherjs/gopherjs"
go: error loading module requirements
It should be possible to install the module that exists at path github.com/myitcv/gopherjs, perhaps via something like
Similarly, it would be nice to be able to support arbitrary dependency overrides. Say you want to install foo v1.0.0, but you know that there is a bug in bar v1.0.0. This might be made possible via something like:
if we support these require and replace augmentations then our caching strategy needs to change to be hash based, where the version, original go.mod (if there is one), additional replace and require directives all get hashed to give the build key
...
The text was updated successfully, but these errors were encountered:
It is currently impossible to install a fork of a project.
For example,
github.com/myitcv/gopherjs
is a fork ofgithub.com/gopherjs/gopherjs
. The module at the pathgithub.com/myitcv/gopherjs
isgithub.com/gopherjs/gopherjs
, that is to say, the former can only be used as areplace
target for the latter.Hence
gobin
currently fails:It should be possible to install the module that exists at path
github.com/myitcv/gopherjs
, perhaps via something likeSimilarly, it would be nice to be able to support arbitrary dependency overrides. Say you want to install
foo v1.0.0
, but you know that there is a bug inbar v1.0.0
. This might be made possible via something like:Things to consider above:
go.mod
(if there is one), additional replace and require directives all get hashed to give the build keyThe text was updated successfully, but these errors were encountered: