[FFmpeg-trac] #7655(website:new): git shallow clone is not working
FFmpeg
trac at avcodec.org
Mon Jan 7 00:26:25 EET 2019
#7655: git shallow clone is not working
-------------------------------------+-----------------------------------
Reporter: milaxnuts | Owner:
Type: defect | Status: new
Priority: minor | Component: website
Version: unspecified | Resolution:
Keywords: git | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-----------------------------------
Comment (by milaxnuts):
yay, that is working ... but, whats wrong?
1. that server is slow -- 107.00 KiB/s versus 2.79 MiB/s -- 2 minutes
shallow vs 1 minute full clone
2. https makes me feel more secure -- is there a public login for ssh
access?
3. http is more common
one workaround to get a 'shallow clone' via https ...
{{{
$ wget https://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2
}}}
which is only 10 megabyte
done after 5 seconds at 1.95 MiB/s
con: i cant choose the clone depth
fix: use the latest stable release -- i am missing a ffmpeg-latest.tar.bz2
that redirects to ffmpeg-4.1.tar.bz2, for example
another workaround is to use microhub
{{{
$ git clone --depth=50 https://github.com/FFmpeg/FFmpeg.git ffmpeg
}}}
done after 20 seconds at 1.95 MiB/s
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7655#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list