Skip to content
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

Failure to unmarshal JSON for some dependencies #16

Open
phyber opened this issue Dec 2, 2021 · 0 comments
Open

Failure to unmarshal JSON for some dependencies #16

phyber opened this issue Dec 2, 2021 · 0 comments

Comments

@phyber
Copy link

phyber commented Dec 2, 2021

Hi,

While updating the net-mgmt/prometheus2 port to v2.31.1, I bumped into the following modules2tuple issue:

# Errors found during processing:
#       error unmarshalling: json: cannot unmarshal array into Go value of type apis.GithubRef, resp: [{"ref":"refs/tags/v1.11.0-alpha","node_id":"MDM6UmVmMTQxMjUyNTQ6cmVmcy90YWdzL3YxLjExLjAtYWxwaGE=","url":"https://api.github.com/repos/hashicorp/consul/git/refs/tags/v1.11.0-alpha","object":{"sha":"4d9b02b775338c99dc3fb4dd5fc913a5b4012e2f","type":"tag","url":"https://api.github.com/repos/hashicorp/consul/git/tags/4d9b02b775338c99dc3fb4dd5fc913a5b4012e2f"}},{"ref":"refs/tags/v1.11.0-beta1","node_id":"MDM6UmVmMTQxMjUyNTQ6cmVmcy90YWdzL3YxLjExLjAtYmV0YTE=","url":"https://api.github.com/repos/hashicorp/consul/git/refs/tags/v1.11.0-beta1","object":{"sha":"77cecd76e64ff780ffbf4915f8ecec5d10c924ad","type":"tag","url":"https://api.github.com/repos/hashicorp/consul/git/tags/77cecd76e64ff780ffbf4915f8ecec5d10c924ad"}},{"ref":"refs/tags/v1.11.0-beta2","node_id":"MDM6UmVmMTQxMjUyNTQ6cmVmcy90YWdzL3YxLjExLjAtYmV0YTI=","url":"https://api.github.com/repos/hashicorp/consul/git/refs/tags/v1.11.0-beta2","object":{"sha":"af0de3be0d8cd40d89375e8d2938f417fbd9e07a","type":"tag","url":"https://api.github.com/repos/hashicorp/consul/git/tags/af0de3be0d8cd40d89375e8d2938f417fbd9e07a"}},{"ref":"refs/tags/v1.11.0-beta3","node_id":"MDM6UmVmMTQxMjUyNTQ6cmVmcy90YWdzL3YxLjExLjAtYmV0YTM=","url":"https://api.github.com/repos/hashicorp/consul/git/refs/tags/v1.11.0-beta3","object":{"sha":"1a7b89c6cbb82ab497963846ce7e8fa39ca3b53a","type":"commit","url":"https://api.github.com/repos/hashicorp/consul/git/commits/1a7b89c6cbb82ab497963846ce7e8fa39ca3b53a"}}]

This is the modules.txt producing this error: modules.txt, and my version of modules2tuple is 2.2.2.

I haven't tried to dig into this yet, but will update the issue if I do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant