[OT] github (?) question

2009-06-26 Thread Laurent PETIT
Hi, this is an OT question, but since Rich encouraged git gurus here on the
ml to on help non gurus, then I ask :-)

By just surfing on github website, I find a cloned repository of
clojure-contrib, e.g. clone done by user XXX.

From the main page of this repo, I can see who else cloned XXX's repo, who
else watches XXX's repo.

But what I would like to do is see whether XXX's repo is a clone of another
repo, and go up the chain to the real master repo.

Is this possible from the UI of github, or do I have to clone XXX's repo,
invoke some git command on my clone, ... and repeat the operation at each
node of the cloning graph ?


Thanks in advance,

(Of course, for clojure-contrib I guess that Rich's repo is the master, but
still it's rather a guess than an evidence provided by the tools to me).

-- 
Laurent

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---



Re: [OT] github (?) question

2009-06-26 Thread Alex Combas
Yes Rich Hickey's git repository for clojure and clojure-contrib are the
main development repositorys.

http://github.com/richhickey/clojure/tree/master
http://github.com/richhickey/clojure-contrib/tree/master

The reason why git has no big flashing sign pointing to his repositorys is
because git is a *distributed* version control system.
In git's eyes every repository of clojure is just as good as every other
repository, git would be perfectly happy to pull push and branch
and merge from anyone's repository, so If you want to know which is the main
development branch then you need to either find the link on the
clojure.org website or else make an educated guess.

Best regards,
Alex



On Fri, Jun 26, 2009 at 12:48 AM, Laurent PETIT laurent.pe...@gmail.comwrote:

 Hi, this is an OT question, but since Rich encouraged git gurus here on the
 ml to on help non gurus, then I ask :-)

 By just surfing on github website, I find a cloned repository of
 clojure-contrib, e.g. clone done by user XXX.

 From the main page of this repo, I can see who else cloned XXX's repo, who
 else watches XXX's repo.

 But what I would like to do is see whether XXX's repo is a clone of another
 repo, and go up the chain to the real master repo.

 Is this possible from the UI of github, or do I have to clone XXX's repo,
 invoke some git command on my clone, ... and repeat the operation at each
 node of the cloning graph ?


 Thanks in advance,

 (Of course, for clojure-contrib I guess that Rich's repo is the master, but
 still it's rather a guess than an evidence provided by the tools to me).

 --
 Laurent

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---



Re: [OT] github (?) question

2009-06-26 Thread Mike Hinchey
On the Source tab, the fork of link tells you - that is, Rich's don't have
that line, so it is the root.  On the Network Members tab, it shows a tree
of the forks, with Rich at the root.

You can browse all of the data in a repository through the website, so you
shouldn't have to clone.  And you only need to Fork (a github concept, not
git), if you want to push something different to your own public clone.

Ultimately, what matters to GIT is the sha1 commit keys, which tell you a
commit/tree is identical to another or not.  I don't think you can tell
about clones other than by looking at the sha1s or the Fork graphs that
github draws.  The forks graph only tells you about the clones that github
knows about.

And as Alex says, being the root doesn't really mean master, authoritative,
or best.

-Mike

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---



Re: [OT] github (?) question

2009-06-26 Thread Laurent PETIT
Hello,

OK, I thought that the graph of cloned repositories was oriented, but it
seems I was wrong :)

Still, I don't see the fork of link, so maybe the person that created its
clone did not do it via the fork functionality of github, but rather did it
from its [desk/lap]top, and pushed his repo on his personal space at github
?

More specifically, I'm talking about
http://github.com/kevinoneill/clojure-contrib/tree/master , where I don't
see any fork of link.

Can you explain that to me ?

Regards,

-- 
Laurent

2009/6/26 Mike Hinchey hinche...@gmail.com

 On the Source tab, the fork of link tells you - that is, Rich's don't
 have that line, so it is the root.  On the Network Members tab, it shows a
 tree of the forks, with Rich at the root.

 You can browse all of the data in a repository through the website, so you
 shouldn't have to clone.  And you only need to Fork (a github concept, not
 git), if you want to push something different to your own public clone.

 Ultimately, what matters to GIT is the sha1 commit keys, which tell you a
 commit/tree is identical to another or not.  I don't think you can tell
 about clones other than by looking at the sha1s or the Fork graphs that
 github draws.  The forks graph only tells you about the clones that github
 knows about.

 And as Alex says, being the root doesn't really mean master, authoritative,
 or best.

 -Mike


 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---



Re: [OT] github (?) question

2009-06-26 Thread Christophe Grand
Hi Laurent,

kevinoneill repos were mirrors of google-code's SVN.

On Fri, Jun 26, 2009 at 10:47 AM, Laurent PETIT laurent.pe...@gmail.comwrote:

 Hello,

 OK, I thought that the graph of cloned repositories was oriented, but it
 seems I was wrong :)

 Still, I don't see the fork of link, so maybe the person that created its
 clone did not do it via the fork functionality of github, but rather did it
 from its [desk/lap]top, and pushed his repo on his personal space at github
 ?

 More specifically, I'm talking about
 http://github.com/kevinoneill/clojure-contrib/tree/master , where I don't
 see any fork of link.

 Can you explain that to me ?

 Regards,

 --
 Laurent

 2009/6/26 Mike Hinchey hinche...@gmail.com

 On the Source tab, the fork of link tells you - that is, Rich's don't
 have that line, so it is the root.  On the Network Members tab, it shows a
 tree of the forks, with Rich at the root.

 You can browse all of the data in a repository through the website, so you
 shouldn't have to clone.  And you only need to Fork (a github concept, not
 git), if you want to push something different to your own public clone.

 Ultimately, what matters to GIT is the sha1 commit keys, which tell you a
 commit/tree is identical to another or not.  I don't think you can tell
 about clones other than by looking at the sha1s or the Fork graphs that
 github draws.  The forks graph only tells you about the clones that github
 knows about.

 And as Alex says, being the root doesn't really mean master,
 authoritative, or best.

 -Mike







 



-- 
Professional: http://cgrand.net/ (fr)
On Clojure: http://clj-me.blogspot.com/ (en)

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---



Re: [OT] github (?) question

2009-06-26 Thread CHEN Cheng

On Fri, Jun 26, 2009 at 10:47:02AM +0200, Laurent PETIT wrote:
 Hello,
 
 OK, I thought that the graph of cloned repositories was oriented, but it
 seems I was wrong :)
 
 Still, I don't see the fork of link, so maybe the person that created its
 clone did not do it via the fork functionality of github, but rather did it
 from its [desk/lap]top, and pushed his repo on his personal space at github
 ?
 
 More specifically, I'm talking about
 http://github.com/kevinoneill/clojure-contrib/tree/master , where I don't
 see any fork of link.
 
 Can you explain that to me ?

To understand that, you need to know how github fork of works.
I have no idea either, but here is my guess:

Github decides which repo forked of by section '[remote origin]'
in file .git/config.

Generally, if you git clone git://git-repo, the origin is recorded
into this section. However, not all repos have the section. For example:
$ mkdir repo_a
$ git init
$ cd ../repo_b
$ git push ../repo_a master
In this case, repo_a/.git/config has no '[remote origin]' section.

Without this section, github has no idea where this repo forked of,
and consequently, the fork of link is not shown.

 
 Regards,
 
 -- 
 Laurent
 
 2009/6/26 Mike Hinchey hinche...@gmail.com
 
  On the Source tab, the fork of link tells you - that is, Rich's don't
  have that line, so it is the root.  On the Network Members tab, it shows a
  tree of the forks, with Rich at the root.
 
  You can browse all of the data in a repository through the website, so you
  shouldn't have to clone.  And you only need to Fork (a github concept, not
  git), if you want to push something different to your own public clone.
 
  Ultimately, what matters to GIT is the sha1 commit keys, which tell you a
  commit/tree is identical to another or not.  I don't think you can tell
  about clones other than by looking at the sha1s or the Fork graphs that
  github draws.  The forks graph only tells you about the clones that github
  knows about.
 
  And as Alex says, being the root doesn't really mean master, authoritative,
  or best.
 
  -Mike
 
 
  
 
 
  

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---



Re: [OT] github (?) question

2009-06-26 Thread Bruce Williams

Near the name of the repository it should say what repo it was forked  
from, if any. You can just follow the chain up.

The Network diagram is also useful when trying to discover the  
canonical repo -- or the most up-to-date one.

Cheers,
Bruce

On Jun 26, 2009, at 12:48 AM, Laurent PETIT laurent.pe...@gmail.com  
wrote:

 Hi, this is an OT question, but since Rich encouraged git gurus here  
 on the ml to on help non gurus, then I ask :-)

 By just surfing on github website, I find a cloned repository of  
 clojure-contrib, e.g. clone done by user XXX.

 From the main page of this repo, I can see who else cloned XXX's  
 repo, who else watches XXX's repo.

 But what I would like to do is see whether XXX's repo is a clone of  
 another repo, and go up the chain to the real master repo.

 Is this possible from the UI of github, or do I have to clone XXX's  
 repo, invoke some git command on my clone, ... and repeat the  
 operation at each node of the cloning graph ?


 Thanks in advance,

 (Of course, for clojure-contrib I guess that Rich's repo is the  
 master, but still it's rather a guess than an evidence provided by  
 the tools to me).

 -- 
 Laurent

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---



Re: [OT] github (?) question

2009-06-26 Thread Laurent PETIT
Thanks all, Christophe gave the explanation.

-- 
Laurent

2009/6/26 Bruce Williams br...@codefluency.com


 Near the name of the repository it should say what repo it was forked
 from, if any. You can just follow the chain up.

 The Network diagram is also useful when trying to discover the
 canonical repo -- or the most up-to-date one.

 Cheers,
 Bruce

 On Jun 26, 2009, at 12:48 AM, Laurent PETIT laurent.pe...@gmail.com
 wrote:

  Hi, this is an OT question, but since Rich encouraged git gurus here
  on the ml to on help non gurus, then I ask :-)
 
  By just surfing on github website, I find a cloned repository of
  clojure-contrib, e.g. clone done by user XXX.
 
  From the main page of this repo, I can see who else cloned XXX's
  repo, who else watches XXX's repo.
 
  But what I would like to do is see whether XXX's repo is a clone of
  another repo, and go up the chain to the real master repo.
 
  Is this possible from the UI of github, or do I have to clone XXX's
  repo, invoke some git command on my clone, ... and repeat the
  operation at each node of the cloning graph ?
 
 
  Thanks in advance,
 
  (Of course, for clojure-contrib I guess that Rich's repo is the
  master, but still it's rather a guess than an evidence provided by
  the tools to me).
 
  --
  Laurent
 
  


 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---