kumquat-buildroot/support/download
Yann E. MORIN ebe6154ff4 support/download: fix the git helper
When switching the git helper over to a shell script, a special case was
not carried over: in case the remote has the required reference, we
attempt a shallow clone, using --depth 1. However, this is not supported
when the remote is accessed with the http protocol.

Therefore, the download fails.

What happened before the conversion to a shell script was that the helper
in the Makefile would fallback to doing a full-clone.

This is the case and behaviour that were lost in the conversion.

To avoid making the script too complex, we only attempt a full clone if
needed. And we decide that a full clone is needed by default; we decide
it is unnecessary if the remote has the needed reference *and* the
shallow clone was successful.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-07-08 23:26:48 +02:00
..
bzr support/download: fix the bzr helper 2014-07-08 10:53:39 +02:00
check-hash manual: add documentation about packages' hashes 2014-07-04 23:39:26 +02:00
cp pkg-infra: don't use DL_DIR as scratchpad for temporary downloads 2014-07-04 23:28:13 +02:00
cvs pkg-infra: don't use DL_DIR as scratchpad for temporary downloads 2014-07-04 23:28:13 +02:00
git support/download: fix the git helper 2014-07-08 23:26:48 +02:00
hg pkg-infra: don't use DL_DIR as scratchpad for temporary downloads 2014-07-04 23:28:13 +02:00
scp pkg-infra: don't use DL_DIR as scratchpad for temporary downloads 2014-07-04 23:28:13 +02:00
svn pkg-infra: don't use DL_DIR as scratchpad for temporary downloads 2014-07-04 23:28:13 +02:00
wget pkg-infra: don't use DL_DIR as scratchpad for temporary downloads 2014-07-04 23:28:13 +02:00