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
$ go build -mod=vendor
build github.com/microsoft/azure-devops-go-api/azuredevops: cannot load github.com/microsoft/azure-devops-go-api/azuredevops: open /home/dg/tmp/wtf/vendor/github.com/microsoft/azure-devops-go-api/azuredevops: no such file or directory
go.mod requires github.com/microsoft/azure-devops-go-api but vendor contains github.com/Microsoft/azure-devops-go-api:
$ ls -d ./vendor/github.com/**/azure-devops-go-api
./vendor/github.com/Microsoft/azure-devops-go-api/
Renaming vendor/github.com/Microsoft to vendor/github.com/microsoft reveals another build issue:
# github.com/wtfutil/wtf/modules/devto
modules/devto/widget.go:17:13: undefined: devto.ListedArticle
# github.com/wtfutil/wtf/modules/azuredevops
modules/azuredevops/widget.go:36:14: cannot use cli (type *build.Client) as type build.Client in assignment
modules/azuredevops/widget.go:55:16: cannot convert nil to type build.Client
--- modules/azuredevops/widget.go.orig 2019-10-11 19:16:00 UTC+++ modules/azuredevops/widget.go@@ -13,7 +13,7 @@ import (
type Widget struct {
view.TextWidget
- cli azrBuild.Client+ cli *azrBuild.Client
settings *Settings
displayBuffer string
ctx context.Context
$ less patch-modules_devto_widget.go
--- modules/devto/widget.go.orig 2019-10-11 19:16:00 UTC+++ modules/devto/widget.go@@ -14,7 +14,7 @@ import (
type Widget struct {
view.KeyboardWidget
view.ScrollableWidget
- articles []devto.ListedArticle+ articles []devto.Article
settings *Settings
err error
}
@@ -59,7 +59,7 @@ func (widget *Widget) Refresh() {
widget.articles = nil
widget.SetItemCount(0)
} else {
- var displayArticles []devto.ListedArticle+ var displayArticles []devto.Article
var l int
if len(articles) < widget.settings.numberOfArticles {
l = len(articles)
It seems that vendored versions of azure-devops-go-api and devto-api-go are older than expected by the source, could you please update vendored dependencies?
The text was updated successfully, but these errors were encountered:
When building with
-mod=govendor
:go.mod requires
github.com/microsoft/azure-devops-go-api
but vendor containsgithub.com/Microsoft/azure-devops-go-api
:Renaming
vendor/github.com/Microsoft
tovendor/github.com/microsoft
reveals another build issue:which requires two files to be patched:
It seems that vendored versions of
azure-devops-go-api
anddevto-api-go
are older than expected by the source, could you please update vendored dependencies?The text was updated successfully, but these errors were encountered: