Guys,
I suck at git. How do I clone:
http://git.trinitydesktop.org/cgit/tde-packaging/tree/arch
On 02/15/2012 07:21 PM, David C. Rankin wrote:
Guys,
I suck at git. How do I clone:
Well, I just ended up using wget -r on the plain urls, but I would still like to know how to use git for this. 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:
git clone http://drankin@scm.trinitydesktop.org/scm/git/tde-packaging/arch git clone http://drankin@scm.trinitydesktop.org/scm/git/tde-packaging/tree/arch git clone http://drankin@scm.trinitydesktop.org/scm/git/tde-packaging/ git clone http://drankin@scm.trinitydesktop.org/scm/git/arch
also tried without the username...
What's the trick?
On 16 February 2012 09:19, David C. Rankin drankinatty@suddenlinkmail.com wrote:
On 02/15/2012 07:21 PM, David C. Rankin wrote:
Guys,
I suck at git. How do I clone:
Well, I just ended up using wget -r on the plain urls, but I would still like to know how to use git for this. 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:
git clone http://drankin@scm.trinitydesktop.org/scm/git/tde-packaging/arch git clone http://drankin@scm.trinitydesktop.org/scm/git/tde-packaging/tree/arch git clone http://drankin@scm.trinitydesktop.org/scm/git/tde-packaging/ git clone http://drankin@scm.trinitydesktop.org/scm/git/arch
also tried without the username...
What's the trick?
-- David C. Rankin, J.D.,P.E.
To unsubscribe, e-mail: trinity-devel-unsubscribe@lists.pearsoncomputing.net For additional commands, e-mail: trinity-devel-help@lists.pearsoncomputing.net Read list messages on the web archive: http://trinity-devel.pearsoncomputing.net/ Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
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@pearsoncomputing.net Url: http://scm.trinitydesktop.org/scm/git/tde-packaging Checkout: git clone http://scm.trinitydesktop.org/scm/git/tde-packaging
use the checkout url :-)
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.trinitydesktop.org/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@pearsoncomputing.net 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.trinitydesktop.org/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.trinitydesktop.org/scm/git/tde-packaging/
Successful:
git clone http://drankin@scm.trinitydesktop.org/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
On 16 February 2012 10:22, David C. Rankin drankinatty@suddenlinkmail.com wrote:
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.trinitydesktop.org/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@pearsoncomputing.net 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.trinitydesktop.org/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.trinitydesktop.org/scm/git/tde-packaging/
Successful:
git clone http://drankin@scm.trinitydesktop.org/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.
yes essentially this is one of the worst things about git.
On 02/16/2012 09:24 AM, Calvin Morrison wrote:
So is there no way to clone 'arch' alone, you have to pull the whole
tde-packaging tree?
< snip >
yes essentially this is one of the worst things about git.
Bummer. Quoting the cmake master:
"Remind me again, why we replaced svn with git? :)"
On 16 February 2012 10:34, David C. Rankin drankinatty@suddenlinkmail.com wrote:
On 02/16/2012 09:24 AM, Calvin Morrison wrote:
So is there no way to clone 'arch' alone, you have to pull the whole
tde-packaging tree?
< snip >
yes essentially this is one of the worst things about git.
Bummer. Quoting the cmake master:
"Remind me again, why we replaced svn with git? :)"
-- David C. Rankin, J.D.,P.E.
Some top google results:
http://thinkvitamin.com/code/why-you-should-switch-from-subversion-to-git/
On 02/16/2012 09:41 AM, Calvin Morrison wrote:
Bummer. Quoting the cmake master:
"Remind me again, why we replaced svn with git? :)"
-- David C. Rankin, J.D.,P.E.
Some top google results:
http://thinkvitamin.com/code/why-you-should-switch-from-subversion-to-git/
And you drank the Koolaid didn't you :)
I see the advantages argued, but I'm not sure on balance how the hit due to the change is outweighed by what git does for tde. I'm sure it works out, I just don't know enough comparatively to see it. Regardless, we have git now, we will just make due with what it provides. At some point in the future, if the distro build dirs grow in size, it might be worth configuring them as individual modules under tde-packaging to allow individual cloning.
On 16 February 2012 10:55, David C. Rankin drankinatty@suddenlinkmail.com wrote:
On 02/16/2012 09:41 AM, Calvin Morrison wrote:
Bummer. Quoting the cmake master:
"Remind me again, why we replaced svn with git? :)"
-- David C. Rankin, J.D.,P.E.
Some top google results:
http://thinkvitamin.com/code/why-you-should-switch-from-subversion-to-git/
And you drank the Koolaid didn't you :)
I see the advantages argued, but I'm not sure on balance how the hit due to the change is outweighed by what git does for tde. I'm sure it works out, I just don't know enough comparatively to see it. Regardless, we have git now, we will just make due with what it provides. At some point in the future, if the distro build dirs grow in size, it might be worth configuring them as individual modules under tde-packaging to allow individual cloning.
-- David C. Rankin, J.D.,P.E.
Right on I drink koolaid all day. It's delicious :p
But yes we could do that eventually. though I am confused why opensuse is taking 30Mb of data.... :o I mean all that should be in the repositoriees is a few build files right?
I can't see it growing ridiculously out of size
Calvin Calvin
On Thu, Feb 16, 2012 at 4:58 PM, Calvin Morrison mutantturkey@gmail.com wrote:
On 16 February 2012 10:55, David C. Rankin drankinatty@suddenlinkmail.com wrote:
On 02/16/2012 09:41 AM, Calvin Morrison wrote:
Bummer. Quoting the cmake master:
"Remind me again, why we replaced svn with git? :)"
-- David C. Rankin, J.D.,P.E.
Some top google results:
http://thinkvitamin.com/code/why-you-should-switch-from-subversion-to-git/
And you drank the Koolaid didn't you :)
I see the advantages argued, but I'm not sure on balance how the hit due to the change is outweighed by what git does for tde. I'm sure it works out, I just don't know enough comparatively to see it. Regardless, we have git now, we will just make due with what it provides. At some point in the future, if the distro build dirs grow in size, it might be worth configuring them as individual modules under tde-packaging to allow individual cloning.
-- David C. Rankin, J.D.,P.E.
Right on I drink koolaid all day. It's delicious :p
But yes we could do that eventually. though I am confused why opensuse is taking 30Mb of data.... :o I mean all that should be in the repositoriees is a few build files right?
I can't see it growing ridiculously out of size
Calvin Calvin
If we get submodules in tde-packaging we will be able to clone arch and other distos package builnding instructions without having to pull others...