[Bug 263161] ports-mgmt/modules2tuple: Unable to unmarshal to apis.GithubRef

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 08 Apr 2022 19:58:31 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263161

            Bug ID: 263161
           Summary: ports-mgmt/modules2tuple: Unable to unmarshal to
                    apis.GithubRef
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: dmgk@freebsd.org
          Reporter: dor.bsd@xm0.uk
             Flags: maintainer-feedback?(dmgk@freebsd.org)
          Assignee: dmgk@freebsd.org

Created attachment 233081
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=233081&action=edit
ports-mgmt/modules2tuple: Unmarshall apis.GithubRef errors

Hi,

Recently, modules2tuple has been having issues unmarshalling some Github API
responses for net-mgmt/prometheus2.

apis.GithubRef appears to expect a string, but it looks like sometimes it can
encounter an array and not know what to do.  I've attached a couple of errors
I've seen recently, both when trying to build newer versions of the
net-mgmt/prometheus2 port.  Each error mentions the hashicorp/consul module.
I'm not sure why this dependency seems to be special.

-David

-- 
You are receiving this mail because:
You are the assignee for the bug.