You are not logged in.

#1 2019-01-09 21:05:56

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 1,978
Website

[solved] Clone git source tree of an official Arch Linux package

The question has already been asked a while ago but the proposed solution does not seem to work any longer.

$ LANG=C git clone https://git.archlinux.org/svntogit/packages.git --single-branch -b packages/bash
Cloning into 'packages'...
fatal: unable to access 'https://git.archlinux.org/svntogit/packages.git/': The requested URL returned error: 504

How can I download the entire source tree of the bash *package*?

Last edited by schard (2019-01-09 21:32:04)


macro_rules! yolo { { $($tokens:tt)* } => { unsafe { $($tokens)* } }; }

Offline

#2 2019-01-09 21:21:14

loqs
Member
Registered: 2014-03-06
Posts: 17,323

Re: [solved] Clone git source tree of an official Arch Linux package

use the git protocol not the https protocol

git clone git://git.archlinux.org/svntogit/packages.git --single-branch --branch "packages/bash"
Cloning into 'packages'...
remote: Enumerating objects: 1210, done.
remote: Counting objects: 100% (1210/1210), done.
remote: Compressing objects: 100% (857/857), done.
remote: Total 1210 (delta 386), reused 1086 (delta 342)
Receiving objects: 100% (1210/1210), 237.06 KiB | 1.23 MiB/s, done.
Resolving deltas: 100% (386/386), done.

Offline

#3 2019-01-09 21:36:31

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: [solved] Clone git source tree of an official Arch Linux package

Works for me, but a 504 is a gateway timeout.


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#4 2019-01-09 21:44:55

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 1,978
Website

Re: [solved] Clone git source tree of an official Arch Linux package

eschwartz wrote:

Works for me, but a 504 is a gateway timeout.

I know. But using the git protocol instead of http works for me, too.


macro_rules! yolo { { $($tokens:tt)* } => { unsafe { $($tokens)* } }; }

Offline

Board footer

Powered by FluxBB