git fetch.type

Ryan Schmidt ryandesign at macports.org
Wed Aug 8 18:43:56 PDT 2012


On Aug 8, 2012, at 19:02, Craig Miller <craig.miller at spatialminds.com> 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.
> 
> In case someone is willing to take a closer look my Portfile is attached.

I'm not sure why it doesn't work for this particular git repository.

Can you use a normal distfile instead?

http://sourceforge.net/projects/witty/files/wt/

That's usually preferred over fetching from git.



More information about the macports-dev mailing list