douju5933 2019-05-29 16:02
浏览 1133
已采纳

如何使用JFrog Artifactory将GitHub代理为Go Repository?

I want to use Go Remote repository caching/proxying Github. I have created Go remote repo github proxying https://github.com/ (Credentials added as mentioned in https://www.jfrog.com/confluence/display/RTF/Go+Registry#GoRegistry-RemoteRepositories).

When I run go get artifactory log shows following error:

2019-05-29 16:01:29,586 [http-nio-8081-exec-252] [ERROR] (o.a.a.g.r.GoResource:88) - Unsupported go repository request for 'github'```
  • 写回答

1条回答 默认 最新

  • dongshicuo4844 2019-06-24 19:00
    关注

    In Artifactory Go repositories, you can't resolve from a remote repository directly, packages has to be resolved from a virtual repo. Just include it in any Go virtual repository and you should be good to go.

    Also, why not use gocenter for Go packages? It's much more reliable IMO.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥100 set_link_state
  • ¥15 虚幻5 UE美术毛发渲染
  • ¥15 CVRP 图论 物流运输优化
  • ¥15 Tableau online 嵌入ppt失败
  • ¥100 支付宝网页转账系统不识别账号
  • ¥15 基于单片机的靶位控制系统
  • ¥15 真我手机蓝牙传输进度消息被关闭了,怎么打开?(关键词-消息通知)
  • ¥15 装 pytorch 的时候出了好多问题,遇到这种情况怎么处理?
  • ¥20 IOS游览器某宝手机网页版自动立即购买JavaScript脚本
  • ¥15 手机接入宽带网线,如何释放宽带全部速度