git fetch.type

Bradley Giesbrecht pixilla at macports.org
Wed Aug 8 17:34:38 PDT 2012


On Aug 8, 2012, at 5:02 PM, Craig Miller wrote:

> I'm very new to MacPorts Portfile development.  I'm trying to setup a git fetch.type but am receiving errors during the fetch phase.  I've read through the docs, but seem to be doing something incorrectly.  Can anyone point me to a Portfile that uses git as a fetch.type for reference?
> 
> A git clone using the url specified in git.url works on the command line.  I'm not sure what I'm missing.


$ REPO=/opt/local/var/macports/sources/rsync.macports.org/release/ports
$ find $REPO -maxdepth 3 -name Portfile -exec echo {} \; -exec grep -i -E -- "git\.|fetch\.type.*git" {} \; | grep -B1 -v /Portfile

You may need to adjust your REPO path.


Regards,
Bradley Giesbrecht (pixilla)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2763 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20120808/feb2d73e/attachment.p7s>


More information about the macports-dev mailing list