[MacPorts] #63972: Request to add a Port for the Codegroup CLI Program

MacPorts noreply at macports.org
Wed Nov 17 19:14:49 UTC 2021


#63972: Request to add a Port for the Codegroup CLI Program
------------------------+--------------------
  Reporter:  RobK88     |      Owner:  (none)
      Type:  request    |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.7.1
Resolution:             |   Keywords:
      Port:  codegroup  |
------------------------+--------------------

Comment (by kencu):

 When this gets to the stage of a pull request, there will be some minor
 fixes suggested. master_sites is usually just a URL to the directory where
 the source file is stored, not the full URL to the file (I didn't know
 that would work, actually). To force the source file name to be what you
 want instead of the one that MacPorts will automatically generate
 ($name-$version.$extension) you override the defaults with $distname,
 which then gets made into a final filename of $distname.$extension .

 There are hundreds of idiosyncracies like that in MacPorts that make it
 harder for people to get started writing Portfiles, but make it easier for
 people who already know how to write Portfiles. That kind of decision-
 making has led to a rather high bar being set for new contributors to
 MacPorts.

 For homebrew, for example, you would just do "brew create FULL_URL" to
 your source, and your formula is done. The URL to the file is just the
 full simple URL, no confusion, anyone can see what it is. Less flexible in
 ways, mirroring distfiles is harder, etc -- but much simpler for new
 contributors to understand.

 Design choices -- ups and downs to them.

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


More information about the macports-tickets mailing list