[MacPorts] #50708: Base should support fetching git submodules (git submodule update)

MacPorts noreply at macports.org
Thu Feb 25 10:37:38 PST 2016


#50708: Base should support fetching git submodules (git submodule update)
----------------------+--------------------------------
  Reporter:  mojca@…  |      Owner:  macports-tickets@…
      Type:  defect   |     Status:  new
  Priority:  Normal   |  Milestone:
 Component:  base     |    Version:  2.3.4
Resolution:           |   Keywords:
      Port:           |
----------------------+--------------------------------

Comment (by cal@…):

 Submodules are always referenced using a well-defined commit. Checking out
 a different commit in a submodule isn't supported.

 For Github, we usually prefer HTTP downloads instead of fetching with git.
 It would be nice if that also worked for repositories with submodules.

 See Homebrew's approach of resources and "install resource" calls for the
 target directories (this example is with git trees, but this also works
 with HTTP tarballs):
 https://github.com/Homebrew/homebrew/blob/master/Library/Formula/v8.rb#L86-L92

-- 
Ticket URL: <https://trac.macports.org/ticket/50708#comment:8>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list