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

MacPorts noreply at macports.org
Thu Feb 25 04:47:46 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 mojca@…):

 I keep reading the git documentation and it seems to me that submodules
 are well-defined rather than arbitrary commits from the included third-
 party repository. (The question is: what if some port maintainers urgently
 need a different commit than what upstream envisioned?)

 Now it seems that once a user has a sufficiently recent `git` available
 (which is already the case for MacPorts), it could be enough to use
 {{{
 git clone --recursive ${git.url}
 }}}
 or rather: I don't currently see a problem with `"git submodule update
 --init"`. The question is then: are the any reasons why these steps
 shouldn't be executed by default? Or perhaps with something like
 {{{
 git.submodules yes
 }}}
 could trigger fetching the submodules.

 I tried to read your code, René, but I don't yet completely understand
 what you tried to do / which problems you were facing.

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


More information about the macports-tickets mailing list