PDA

View Full Version : Cloning from git


uncle_fungus
05-01-2008, 10:35 AM
This might be a really stupid question, but I can't work out for the life of me how to do it.

How do I clone the pts git repository to track changes?

Michael
05-01-2008, 01:43 PM
git-clone http://www.phorogit.com/repo/phoronix-test-suite.git

uncle_fungus
05-01-2008, 01:46 PM
http://www.phorogit.com/repo/phoronix-test-suite.git


Ah, that was the bit I was after. Am I just being blind, or is the repo address actually published somewhere?

Cheers

audi100quattro
05-06-2008, 07:32 PM
I had a hard time finding this url too... it should be found somewhere on this (http://www.phorogit.com/index.php?p=phoronix-test-suite.git) page methinks, like the fdo and kernel.org repos.

uncle_fungus
05-07-2008, 02:00 PM
Is anyone else pulling from git in a non-US timezone?

I'm in UTC+1, and git-pull doesn't recognise any changes to the git tree until at least 3-4 hours after the commits have been made.

Michael
05-07-2008, 02:01 PM
Try pulling now. Sometimes running git-update-server-info manually on the server fixes the problem.

uncle_fungus
05-07-2008, 02:11 PM
That's fixed it. Thanks.

uncle_fungus
05-10-2008, 10:16 PM
Michael, can you run git-update-server-info as I'm stuck several commits behind again?

[uncle_fungus@Iguana phoronix-test-suite]$ git-pull
Fetching refs/heads/master from http://www.phorogit.com/repo/phoronix-test-suite.git using http
Already up-to-date.
[uncle_fungus@Iguana phoronix-test-suite]$ git-log -1
commit 481d30d6b8c9697d54ebd004561e82e016268765
Author: Michael Larabel <michael@phx-laptop.(none)>
Date: Sat May 10 18:40:14 2008 -0400

Add another flac (SourceForge) mirror for encode-flac.At time of writing I'm 10 commits behind.

Edit: From http://git.or.cz/gitwiki/GitFaq#head-bbd07820198a9b8c6ec4fad4932341b64378a5f6

My HTTP repository has updates, which git clone misses. What happened?

If you push via SSH to the repository, you have to enable the post-update hook (chmod a+x hooks/post-update). If you "push" with rsync, you have to make sure to execute git-update-server-info _before_ pushing. HTTP is a "dumb" transport, which needs some help. This help is provided in the form of the file info/refs, which contains the current refs (names + commit names of the tips).

Michael
05-10-2008, 10:30 PM
Ran it again manually... I also redid the chmod on it, even though I believe I had done that before already.

uncle_fungus
05-10-2008, 11:05 PM
Thanks, that's worked for all the commits until 22.30 server-time, but I still can't pull the latest commit.

[uncle_fungus@Iguana phoronix-test-suite]$ git-pull
Fetching refs/heads/master from http://www.phorogit.com/repo/phoronix-test-suite.git using http
Already up-to-date.
[uncle_fungus@Iguana phoronix-test-suite]$ git-log -1
commit 072a90d2457b77d330cccb810dbfaf204e2634bb
Author: Michael Larabel <michael@phx-laptop.(none)>
Date: Sat May 10 22:27:53 2008 -0400

Fix for suite-info to work recursively when listing tests in a suite

Michael
05-10-2008, 11:09 PM
Just ran git-update-server-info again... I think I am done for the night anyways. I took care of a number of bugs, started some new features, and I don't believe there are any regressions (hopefully!) with this latest work.

deanjo
05-11-2008, 01:16 PM
Michael, what do you need for adding opensuse distro support? Just the dependicies?

Michael
05-11-2008, 01:20 PM
Michael, what do you need for adding opensuse distro support? Just the dependicies?

Yeah, basically...

Just a simple XML file of the dependencies: i.e. http://www.phorogit.com/index.php?p=phoronix-test-suite.git&b=ae364b88b1b996f18dd3674119acf8553f1a3e5b found in pts/distro-xml/

and then a script on how to install package(s) with that package management system:

http://www.phorogit.com/index.php?p=phoronix-test-suite.git&b=8b82842cab94c0409c922265b6faf6fec67b7116