git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [ANNOUCNE] repo - The Multiple Git Repository Tool
@ 2008-10-22 15:42 Shawn O. Pearce
  2008-10-22 19:14 ` Junio C Hamano
  2008-10-22 19:55 ` Leo Razoumov
  0 siblings, 2 replies; 10+ messages in thread
From: Shawn O. Pearce @ 2008-10-22 15:42 UTC (permalink / raw)
  To: git

My "bundle related secret project" was released yesterday by Google
as part of the Android open source release event.  (I've mentioned
it before on-list in the context of a modified "git status" output.)

Google developed two tools, repo and Gerrit, and open sourced them
under the Apache License:

  http://android.git.kernel.org/?p=tools/repo.git
  http://android.git.kernel.org/?p=tools/gerrit.git

  git://android.git.kernel.org/tools/repo.git
  git://android.git.kernel.org/tools/gerrit.git

repo is a Python application to bind together Git repositories,
something like "git submodule", except it can track a project's
branch rather than a specific Git commit.  repo is also able to
natively import a tarball or zip file and use it to initialize a
repository from an upstream source, then apply git based changes
on top of that tarball.  In other words, repo is (more or less)
built to manage an OS distribution, in Git.

Gerrit is a web based code review system, forked off the open
sourced Rietveld code review system.  Gerrit runs on the highly
scaleable Google App Engine platform, but probably could be ported
to an open-source MySQL or PostgreSQL backend if people really
wanted to do that.


You can read some more of how Android has applied these tools to
its development process here:

  http://source.android.com/download
  http://source.android.com/submit-patches/workflow
  http://source.android.com/download/using-repo

Although the current tool documentation is only on the Android
site, both the repo and Gerrit tools are not specific to Android
and are designed to be applied to any project that wants to use a
similar process.


repo and Gerrit are actually developed with themselves.  You can
use repo to fetch repo:

  curl http://android.git.kernel.org/repo >~/bin/repo
  chomd a+x ~/bin/repo

  mkdir myrepo
  cd myrepo

  repo init -u git://android.git.kernel.org/tools/manifest.git
  repo sync


The "git status" output I was talking about before is the "repo
status" subcommand, e.g.:

  $ echo '# test' >>repo/repo   ; # modify a tracked file
  $ repo status
  project repo/                                   (*** NO BRANCH ***)
   -m     repo

-- 
Shawn.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [ANNOUCNE] repo - The Multiple Git Repository Tool
  2008-10-22 15:42 [ANNOUCNE] repo - The Multiple Git Repository Tool Shawn O. Pearce
@ 2008-10-22 19:14 ` Junio C Hamano
  2008-10-22 21:13   ` Shawn O. Pearce
  2008-10-22 19:55 ` Leo Razoumov
  1 sibling, 1 reply; 10+ messages in thread
From: Junio C Hamano @ 2008-10-22 19:14 UTC (permalink / raw)
  To: Shawn O. Pearce; +Cc: git

"Shawn O. Pearce" <spearce@spearce.org> writes:

> Google developed two tools, repo and Gerrit, and open sourced them
> under the Apache License:
>
>   http://android.git.kernel.org/?p=tools/repo.git
>   http://android.git.kernel.org/?p=tools/gerrit.git
>
>   git://android.git.kernel.org/tools/repo.git
>   git://android.git.kernel.org/tools/gerrit.git

Heh, very nice, with a very shallow history ;-)

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [ANNOUCNE] repo - The Multiple Git Repository Tool
  2008-10-22 15:42 [ANNOUCNE] repo - The Multiple Git Repository Tool Shawn O. Pearce
  2008-10-22 19:14 ` Junio C Hamano
@ 2008-10-22 19:55 ` Leo Razoumov
  2008-10-22 21:16   ` Shawn O. Pearce
  1 sibling, 1 reply; 10+ messages in thread
From: Leo Razoumov @ 2008-10-22 19:55 UTC (permalink / raw)
  To: Shawn O. Pearce; +Cc: git

On 10/22/08, Shawn O. Pearce <spearce@spearce.org> wrote:
> My "bundle related secret project" was released yesterday by Google
>  as part of the Android open source release event.  (I've mentioned
>  it before on-list in the context of a modified "git status" output.)
>
>  Google developed two tools, repo and Gerrit, and open sourced them
>  under the Apache License:
>
>   http://android.git.kernel.org/?p=tools/repo.git
>   http://android.git.kernel.org/?p=tools/gerrit.git
>
>   git://android.git.kernel.org/tools/repo.git
>   git://android.git.kernel.org/tools/gerrit.git
>
>  repo is a Python application to bind together Git repositories,
>  something like "git submodule", except it can track a project's
>  branch rather than a specific Git commit.  repo is also able to
>  natively import a tarball or zip file and use it to initialize a
>  repository from an upstream source, then apply git based changes
>  on top of that tarball.  In other words, repo is (more or less)
>  built to manage an OS distribution, in Git.
>  [..snip..]

Are there any plans to make repo an official git command (e.g.
git-repo) or merge its functionality with git-submodule?

--Leo--

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [ANNOUCNE] repo - The Multiple Git Repository Tool
  2008-10-22 19:14 ` Junio C Hamano
@ 2008-10-22 21:13   ` Shawn O. Pearce
  2008-10-22 23:16     ` Junio C Hamano
  0 siblings, 1 reply; 10+ messages in thread
From: Shawn O. Pearce @ 2008-10-22 21:13 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git

Junio C Hamano <gitster@pobox.com> wrote:
> "Shawn O. Pearce" <spearce@spearce.org> writes:
> 
> > Google developed two tools, repo and Gerrit, and open sourced them
> > under the Apache License:
> >
> >   http://android.git.kernel.org/?p=tools/repo.git
> >   http://android.git.kernel.org/?p=tools/gerrit.git
> >
> >   git://android.git.kernel.org/tools/repo.git
> >   git://android.git.kernel.org/tools/gerrit.git
> 
> Heh, very nice, with a very shallow history ;-)

Yea, well, some of our history messages are downright messy and/or
contain information we don't want to disclose to the public.  Its
apparently "normal" for Google to just drop history when it opens
a code base.  :-\

The repo and Gerrit histories are short enough that I might
be able to go through them and clean them up some (remove any
comments revealing Google secrets) and publish the history under a
different repository.  Folks can always graft it behind the (now)
real repository.

I can't promise anything, but I'll talk to my co-contributors and
consider doing this in the near future.

-- 
Shawn.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [ANNOUCNE] repo - The Multiple Git Repository Tool
  2008-10-22 19:55 ` Leo Razoumov
@ 2008-10-22 21:16   ` Shawn O. Pearce
  0 siblings, 0 replies; 10+ messages in thread
From: Shawn O. Pearce @ 2008-10-22 21:16 UTC (permalink / raw)
  To: Leo Razoumov; +Cc: git

Leo Razoumov <slonik.az@gmail.com> wrote:
> On 10/22/08, Shawn O. Pearce <spearce@spearce.org> wrote:
> >
> >  Google developed two tools, repo and Gerrit, and open sourced them
> >  under the Apache License:
> >
> >   http://android.git.kernel.org/?p=tools/repo.git
> >   http://android.git.kernel.org/?p=tools/gerrit.git
> >
> >   git://android.git.kernel.org/tools/repo.git
> >   git://android.git.kernel.org/tools/gerrit.git
> >
> >  repo is a Python application to bind together Git repositories,
> >  something like "git submodule",
> 
> Are there any plans to make repo an official git command (e.g.
> git-repo) or merge its functionality with git-submodule?

I currently do not plan on asking Junio to consider making repo part
of git.  However, I am also not adverse to it if repo development
slows down and there is sufficient community interest.

-- 
Shawn.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [ANNOUCNE] repo - The Multiple Git Repository Tool
  2008-10-22 21:13   ` Shawn O. Pearce
@ 2008-10-22 23:16     ` Junio C Hamano
  2008-10-22 23:17       ` Shawn O. Pearce
  2008-10-23  0:45       ` [ANNOUCNE] repo - The Multiple Git Repository Tool David Symonds
  0 siblings, 2 replies; 10+ messages in thread
From: Junio C Hamano @ 2008-10-22 23:16 UTC (permalink / raw)
  To: Shawn O. Pearce; +Cc: git

"Shawn O. Pearce" <spearce@spearce.org> writes:

> Junio C Hamano <gitster@pobox.com> wrote:
>> "Shawn O. Pearce" <spearce@spearce.org> writes:
>> 
>> > Google developed two tools, repo and Gerrit, and open sourced them
>> > under the Apache License:
>> >
>> >   http://android.git.kernel.org/?p=tools/repo.git
>> >   http://android.git.kernel.org/?p=tools/gerrit.git
>> >
>> >   git://android.git.kernel.org/tools/repo.git
>> >   git://android.git.kernel.org/tools/gerrit.git
>> 
>> Heh, very nice, with a very shallow history ;-)
>
> Yea, well, some of our history messages are downright messy and/or
> contain information we don't want to disclose to the public.  Its
> apparently "normal" for Google to just drop history when it opens
> a code base.  :-\

Yeah, I understand that would be a norm for anybody who wasn't originally
open.  I was just teasing, not really complaining ;-)

By the way, are you still in need of a folding bookshelf from Target?

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [ANNOUCNE] repo - The Multiple Git Repository Tool
  2008-10-22 23:16     ` Junio C Hamano
@ 2008-10-22 23:17       ` Shawn O. Pearce
  2008-10-22 23:46         ` [OT] Amazon wishlist (was Re: [ANNOUCNE] repo - The Multiple Git Repository Tool) Junio C Hamano
  2008-10-23  0:45       ` [ANNOUCNE] repo - The Multiple Git Repository Tool David Symonds
  1 sibling, 1 reply; 10+ messages in thread
From: Shawn O. Pearce @ 2008-10-22 23:17 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git

Junio C Hamano <gitster@pobox.com> wrote:
> 
> By the way, are you still in need of a folding bookshelf from Target?

If you saw my wife's book collection, and the space we have, you'd
understand my need for bookshelves...  sadly we only have one.
Why do you ask?

-- 
Shawn.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [OT] Amazon wishlist (was Re: [ANNOUCNE] repo - The Multiple Git Repository Tool)
  2008-10-22 23:17       ` Shawn O. Pearce
@ 2008-10-22 23:46         ` Junio C Hamano
  2008-10-22 23:52           ` Shawn O. Pearce
  0 siblings, 1 reply; 10+ messages in thread
From: Junio C Hamano @ 2008-10-22 23:46 UTC (permalink / raw)
  To: Shawn O. Pearce; +Cc: git

"Shawn O. Pearce" <spearce@spearce.org> writes:

> Junio C Hamano <gitster@pobox.com> wrote:
>> 
>> By the way, are you still in need of a folding bookshelf from Target?
>
> If you saw my wife's book collection, and the space we have, you'd
> understand my need for bookshelves...  sadly we only have one.
> Why do you ask?

Because I stumbled across:

  http://www.amazon.com/gp/registry/registry.html?ie=UTF8&type=wishlist&id=1XF91IZ5VXGTQ

recalled that you moved recently, thought perhaps it might be a good
idea to send you a housewarming gift, but was not sure if this list really
belonged to the person I thought.

Crazy people claim to be somebody else while wishing for something the
person they are disguising as never would.  Once I looked for and found a
Linus Torvalds who wanted a bunch of mysql+php books ;-)

I was on Amazon's wishlist page because recently somebody asked me about
it, probably after reading http://gitster.livejournal.com/ (where I
mentioned I recently created one for myself without mentioning its URL --
the page has since been updated with one).

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [OT] Amazon wishlist (was Re: [ANNOUCNE] repo - The Multiple Git Repository Tool)
  2008-10-22 23:46         ` [OT] Amazon wishlist (was Re: [ANNOUCNE] repo - The Multiple Git Repository Tool) Junio C Hamano
@ 2008-10-22 23:52           ` Shawn O. Pearce
  0 siblings, 0 replies; 10+ messages in thread
From: Shawn O. Pearce @ 2008-10-22 23:52 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git

Junio C Hamano <gitster@pobox.com> wrote:
> "Shawn O. Pearce" <spearce@spearce.org> writes:
> > Junio C Hamano <gitster@pobox.com> wrote:
> >> 
> >> By the way, are you still in need of a folding bookshelf from Target?
> >
> > If you saw my wife's book collection, and the space we have, you'd
> > understand my need for bookshelves...  sadly we only have one.
> > Why do you ask?
> 
> Because I stumbled across:
> 
>   http://www.amazon.com/gp/registry/registry.html?ie=UTF8&type=wishlist&id=1XF91IZ5VXGTQ
> 
> recalled that you moved recently, thought perhaps it might be a good
> idea to send you a housewarming gift, but was not sure if this list really
> belonged to the person I thought.

Heh, that's very kind.  Yes, it is actually my list, but I never use
it so I often forget I put things onto it.  I think I actually use
it as a way to bookmark something I'm looking at on Amazon, and then
never wind up going back to because I just didn't get around to it.

Last year my thoughtful wife bought my birthday gift from my Amazon
wish list.  It was a DVD set that I had wanted, but many months
before my birthday I had viewed the entire series through Netflix
and totally forgot it was on an Amazon wish list.  She had no clue
and wound up purchasing the DVDs for me anyway.  :)
 
> Crazy people claim to be somebody else while wishing for something the
> person they are disguising as never would.  Once I looked for and found a
> Linus Torvalds who wanted a bunch of mysql+php books ;-)

Hah!  Amazon is dangerous that way.  Looking things up by name.
Email is usually slightly more unique...
 
-- 
Shawn.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [ANNOUCNE] repo - The Multiple Git Repository Tool
  2008-10-22 23:16     ` Junio C Hamano
  2008-10-22 23:17       ` Shawn O. Pearce
@ 2008-10-23  0:45       ` David Symonds
  1 sibling, 0 replies; 10+ messages in thread
From: David Symonds @ 2008-10-23  0:45 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: Shawn O. Pearce, git

On Wed, Oct 22, 2008 at 4:16 PM, Junio C Hamano <gitster@pobox.com> wrote:

> By the way, are you still in need of a folding bookshelf from Target?

Weirdest aside *ever* on the Git ML, at least from my memory.


Dave.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2008-10-23  0:46 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-22 15:42 [ANNOUCNE] repo - The Multiple Git Repository Tool Shawn O. Pearce
2008-10-22 19:14 ` Junio C Hamano
2008-10-22 21:13   ` Shawn O. Pearce
2008-10-22 23:16     ` Junio C Hamano
2008-10-22 23:17       ` Shawn O. Pearce
2008-10-22 23:46         ` [OT] Amazon wishlist (was Re: [ANNOUCNE] repo - The Multiple Git Repository Tool) Junio C Hamano
2008-10-22 23:52           ` Shawn O. Pearce
2008-10-23  0:45       ` [ANNOUCNE] repo - The Multiple Git Repository Tool David Symonds
2008-10-22 19:55 ` Leo Razoumov
2008-10-22 21:16   ` Shawn O. Pearce

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).