[MacPorts] #50708: Base should support fetching git submodules (git submodule update)
MacPorts
noreply at macports.org
Wed Feb 24 23:32:54 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@…):
Do you man the following free text in `github-1.0.tcl`?
{{{
# Some projects' tag- or commit-based distfiles will not contain all the
# necessary files, if the project uses git submodules. If available, use a
# distfile from "releases" or "downloads" instead, as described above. If
the
# project does not provide those, encourage the project's developers to
provide
# releases. Until they do, fetch from git instead of from a distfile, and
add a
# post-fetch block to fetch the submodules:
#
# fetch.type git
#
# post-fetch {
# system -W ${worksrcpath} "git submodule update --init"
# }
}}}
I would need to study this a bit more. After reading the first answer from
http://stackoverflow.com/questions/1777854/git-submodules-specify-a
-branch-tag I'm even more confused about whether or not the commit is
fixed or not and whether that depends on the version of git being used by
developers.
(And perhaps also double-check the situation in SVN.)
--
Ticket URL: <https://trac.macports.org/ticket/50708#comment:5>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list