trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: February 2012

Re: [trinity-devel] git Help? Howto clone tde-packaging/arch?

From: "David C. Rankin" <drankinatty@...>
Date: Thu, 16 Feb 2012 09:22:26 -0600
On 02/16/2012 08:24 AM, Calvin Morrison wrote:
>> > I tried every incarnation of git clone based on
>> > http://www.trinitydesktop.org/wiki/bin/view/Developers/GIT and still couldn't
>> > get it to work - eg:
>> >
<snip>
>> > git clone http://drankin@.../scm/git/tde-packaging/
<snip> 	

> git clone http://scm.trinitydesktop.org/scm/git/tde-packaging
> 
> if you look on scm.trinitydesktop.org and select a repository,
> underneath it will give you some info like this:
> Name: 	tde-packaging
> Type: 	Git (git)
> Contact: 	kb9vqf@...
> Url: 	http://scm.trinitydesktop.org/scm/git/tde-packaging
> Checkout: git clone http://scm.trinitydesktop.org/scm/git/tde-packaging
> 
> use the checkout url :-)

Thanks Calvin!

08:38 nirvana:~/tdenew/git> git clone
http://drankin@.../scm/git/tde-packaging
Cloning into 'tde-packaging'...
remote: Counting objects: 18409, done
remote: Finding sources: 100% (18409/18409)
Receiving objects:  76% (14024/18409), 83.66 MiB | 39 KiB/s
Receiving objects:  98% (18091/18409), 98.16 MiB | 49 KiB/s
remote: Total 18409 (delta 8226), reused 18409 (delta 8226)
Receiving objects: 100% (18409/18409), 108.53 MiB | 57 KiB/s, done.
Resolving deltas: 100% (8226/8226), done.

  I cannot believe the only issue that kept it from working the first time was
the trailing '/'! Compare:

  Unsuccessful:

git clone http://drankin@.../scm/git/tde-packaging/

  Successful:

git clone http://drankin@.../scm/git/tde-packaging

  So is there no way to clone 'arch' alone, you have to pull the whole
tde-packaging tree? The size isn't that much, but the bandwidth is very slow.
Being able to clone a single distro's build scripts would eliminate over 50% of
the demand on tde-packaging cloning. Eg:

09:03 nirvana:~/tdenew/git/tde-packaging> for i in */; do echo "  $i"; du -hcs
$i; done
  arch/
30M     arch/
30M     total
  ark/
4.0K    ark/
4.0K    total
  debian/
53M     debian/
53M     total
  fedora/
8.0K    fedora/
8.0K    total
  mandriva/
11M     mandriva/
11M     total
  opensuse/
35M     opensuse/
35M     total
  redhat/
24M     redhat/
24M     total
  slackware/
4.0K    slackware/
4.0K    total
  ubuntu/
75M     ubuntu/
75M     total


-- 
David C. Rankin, J.D.,P.E.