[MacPorts] #70652: libpostal: checksum mismatch

MacPorts noreply at macports.org
Sat Aug 31 00:14:01 UTC 2024


#70652: libpostal: checksum mismatch
---------------------------+----------------------
  Reporter:  barracuda156  |      Owner:  amake
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.10.1
Resolution:                |   Keywords:
      Port:  libpostal     |
---------------------------+----------------------

Comment (by amake):

 {{{
 % curl
 https://github.com/openvenues/libpostal/archive/v1.1/libpostal-1.1.tar.gz
 the given path has multiple possibilities: #<Git::Ref:0x00007f8c81ad5bf0>,
 #<Git::Ref:0x00007f8c81ad5650>%
 }}}

 I don't understand how GitHub resolves
 :user/:project/archive/:tag/:tarball but it seems that something has
 changed so that the URL currently constructed for the `github.tarball_from
 archive` case is ambiguous for this project/release.

 Looking at the links shown on the GitHub web interface, I find that
 customizing the URL to add `refs/tags` allows us to resolve the original
 file for which we have checksums: `github.master_sites
 ${github.homepage}/archive/refs/tags/${git.branch}`

 I'm not sure what the right thing to do here is. It seems like we could be
 forming more specific master_sites URLs.

-- 
Ticket URL: <https://trac.macports.org/ticket/70652#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list