Steps to replicate:
- Run mw toolhub tools list -vv
What happens?:
level=trace msg="mwcli: PersistentPreRun" Error: json: cannot unmarshal array into Go struct field Tool.results.author of type string
What should have happened instead?:
A list of toolforge tools are returned
Environment
Go
go version
go version go1.18 windows/amd64
mwcli
go version mw
go1.16.9
mw version -vv
level=trace msg="mwcli: PersistentPreRun" mw version 0.13.1 ( 2022-04-28T08:07:30Z ) https://gitlab.wikimedia.org/repos/releng/cli/-/releases level=debug msg="GitCommit: d6ab571\n\t\t\tGitBranch: HEAD\n\t\t\tGitState: clean\n\t\t\tGitSummary: v0.13.1\n\t\t\tBuildDate: 2022-04-28T08:07:30Z\n\t\t\tVersion: 0.13.1\n\t\t\t"
mw config show:
level=trace msg="mwcli: PersistentPreRun" { "dev_mode": "docker", "telemetry": "yes", "_timer_last_emmited_event": "2022-05-21T15:47:38Z", "_timer_last_update_checked": "2022-05-21T15:47:38Z" }
mw update -vv:
level=trace msg="mwcli: PersistentPreRun" level=debug msg="Current version is: 0.13.1\nLatest available is: 0.13.1" No update available