[MacPorts] #68587: pg github: create new 1.1 version

MacPorts noreply at macports.org
Mon Oct 30 11:04:34 UTC 2023


#68587: pg github: create new 1.1 version
--------------------------+-----------------------
  Reporter:  jasonliu--   |      Owner:  (none)
      Type:  enhancement  |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.8.1
Resolution:               |   Keywords:  portgroup
      Port:  pg-github    |
--------------------------+-----------------------

Comment (by ryandesign):

 Austin, the default cannot be `releases` because many projects do not
 offer release downloads. Ports ''should'' use `releases` when a project
 offers them.

 The default should indeed be `archive`, since GitHub offers that
 automatically on behalf of all projects, but switching it would break all
 of the ports using the current default of `tarball`.

 I agree something needs to be done because I continue to see new ports
 created that use the obsolete `tarball` setting. I was planning to revise
 `port lint` to warn on ports that do not set `github.tarball_from`, and
 perhaps a second warning for those that set it to `tarball`. My only
 hesitation with the latter is the mongo-tools port where I deliberately
 use the `tarball` setting.

 I am against the extreme proliferation of new portgroups in recent years.
 I would favor a solution that allows the current portgroup to continue to
 be used. The solution would include adding the line `github.tarball_from
 tarball` to all existing ports that do not set that option so that they do
 not break but there is an additional wrinkle of ports that use the github
 portgroup indirectly, such as many ports that use the golang portgroup. yq
 is an example of that, picked at random.

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


More information about the macports-tickets mailing list