Ede Bittner wrote:
> Looking for the following link
> http://git.savannah.gnu.org/cgit/config.git/snapshot/config-191bcb948f7191c36eefe634336f5fc5c0c4c2be.tar.gz
> to build gnu-config/cci.20210814 conan package.

The cgit interface is very heavy and resource intensive.  The single
primary source control system can't keep up with the botnets and can't
support making snapshots.  Fortunately this is something you can do
yourself on your system.

The way to get a snapshot of a particular git hash is to clone the
repository and then use git-archive to create the tar file.  If you
only need the top of of the trunk then please use --depth=1 for a
shallow clone to help avoid downloading all of the history.

    git clone git://git.git.savannah.gnu.org/config.git
    cd config
    git archive --format=tar.gz 
--prefix=config-191bcb948f7191c36eefe634336f5fc5c0c4c2be 
191bcb948f7191c36eefe634336f5fc5c0c4c2be 
>../config-191bcb948f7191c36eefe634336f5fc5c0c4c2be.tar.gz

This uses the mirror collective which will always be more robust than
the single primary system.  Makes a local clone.  Then creates the
tar.gz file.

If you are doing this routinely then please maintain a local cache and
use git pull to update it.

    cd config
    git pull
    git archive --format=tar.gz 
--prefix=config-191bcb948f7191c36eefe634336f5fc5c0c4c2be 
191bcb948f7191c36eefe634336f5fc5c0c4c2be 
>../config-191bcb948f7191c36eefe634336f5fc5c0c4c2be.tar.gz

Using git pull is incremental and avoids transferring data again and
again and again redundantly and unnecessarily too! :-)

Bob

Reply via email to