On Aug 8, 2012, at 20:43, Ryan Schmidt <[email protected]> wrote:
> > On Aug 8, 2012, at 19:02, Craig Miller <[email protected]> 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. The error is: fatal: dumb http transport does not support --depth I had to read MacPorts base to find out why it was adding the --depth argument: it does this when you don't specify a branch. You should always specify a branch when fetching from git, otherwise the build is not repeatable. _______________________________________________ macports-dev mailing list [email protected] http://lists.macosforge.org/mailman/listinfo/macports-dev
