-
Notifications
You must be signed in to change notification settings - Fork 181
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
rwynn/mgo module causes build error #186
Comments
Hi @chanpl, I would like to remove the The reason I did not change the import statements is that I would hope this PR gets merged and the fork is not necessary going in the future. Do you know why this could be failing in GoCenter? The go tooling does not have a problem with it so I'm curious why it doesn't work with GoCenter. One option for you until this gets sorted out would be to use a specific version of monstache before this change. It think that would be |
Hi @rwynn I am sorry that I don't know why that was failing in GoCenter, but I am asking, hopefully will be answered. It's also good to hear that you're planning to drop the replace. Since the root cause of error in GoCenter is still unknown, it might be failing again after merging. But this shouldn't a reason to block the merge :-) Thanks man, |
Hi @rwynn From JFrog's reply: jfrog/gocenter#7 I guess, we need to include "github.com/globalsign/mgo" in the go.mod. I also try to get the module locally, it returns the same error:
|
Do you mean change it to match I think it’s already pointed to globalsign since I didn’t change go.mod. |
@chanpl when you get a chance can you try to build |
Hi @rwynn, The latest commit in Actually, it didn't work at first because GoCenter only uploads commit hash for the first time. After that, they just detect new tags. Thanks for the help from JFrog, the latest commit of |
@chanpl please try the latest release. Thanks. |
Hi @rwynn |
Hi rwynn,
Our company's artifactory is recently pointing to GoCenter for better security and immutability. However, I found your own rwynn/mgo module has problem in publishing to GoCenter (See: https://gocenter.jfrog.com/github.com~2Frwynn~2Fmgo/versions). If this is not allowed by GoCenter, can we just use github.com/globalsign/mgo directly?
Basically, I'm asking to remove this line from go.mod:
replace github.com/globalsign/mgo v0.0.0-20181015135952-eeefdecb41b8 => github.com/rwynn/mgo v0.0.0-20190130173337-9b1257fb3190
The text was updated successfully, but these errors were encountered: