All of lore.kernel.org
 help / color / mirror / Atom feed
* Anybody home?
@ 2011-09-15  4:24 Joshua Stoutenburg
  2011-09-15  4:48 ` Michael Witten
  2011-09-15  7:15 ` Johannes Sixt
  0 siblings, 2 replies; 20+ messages in thread
From: Joshua Stoutenburg @ 2011-09-15  4:24 UTC (permalink / raw)
  To: Git List

Hey guys, I'm pretty stoked about git -- coming from subversion.

I'm having a hard time understanding clearly how to set up a git
server and configure my local machine to pull and push to it.

I've been reading the git book pdf.  But I think I must have missed
something.  I feel stranded.

Any help appreciated.  Many thanks.

-- Josh

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

* Re: Anybody home?
  2011-09-15  4:24 Anybody home? Joshua Stoutenburg
@ 2011-09-15  4:48 ` Michael Witten
  2011-09-15  5:04   ` Joshua Stoutenburg
  2011-09-15  7:15 ` Johannes Sixt
  1 sibling, 1 reply; 20+ messages in thread
From: Michael Witten @ 2011-09-15  4:48 UTC (permalink / raw)
  To: Joshua Stoutenburg; +Cc: Git List

On Thu, Sep 15, 2011 at 04:24, Joshua Stoutenburg <jehoshua02@gmail.com> wrote:
> Hey guys, I'm pretty stoked about git -- coming from subversion.
>
> I'm having a hard time understanding clearly how to set up a git
> server and configure my local machine to pull and push to it.
>
> I've been reading the git book pdf.  But I think I must have missed
> something.  I feel stranded.
>
> Any help appreciated.  Many thanks.

Could you please ask a specific question about a specific issue of confusion?

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

* Re: Anybody home?
  2011-09-15  4:48 ` Michael Witten
@ 2011-09-15  5:04   ` Joshua Stoutenburg
  2011-09-15  5:06     ` Joshua Stoutenburg
  2011-09-15 11:04     ` Jakub Narebski
  0 siblings, 2 replies; 20+ messages in thread
From: Joshua Stoutenburg @ 2011-09-15  5:04 UTC (permalink / raw)
  To: Michael Witten; +Cc: Git List

On Wed, Sep 14, 2011 at 9:48 PM, Michael Witten <mfwitten@gmail.com> wrote:
> On Thu, Sep 15, 2011 at 04:24, Joshua Stoutenburg <jehoshua02@gmail.com> wrote:
>> Hey guys, I'm pretty stoked about git -- coming from subversion.
>>
>> I'm having a hard time understanding clearly how to set up a git
>> server and configure my local machine to pull and push to it.
>>
>> I've been reading the git book pdf.  But I think I must have missed
>> something.  I feel stranded.
>>
>> Any help appreciated.  Many thanks.
>
> Could you please ask a specific question about a specific issue of confusion?
>

There seems to be a plethora of documentation on git from various sources.

See what I mean:
    http://git-scm.com/documentation
    http://progit.org/book/
    http://gitref.org/
    http://www.kernel.org/pub/software/scm/git/docs/gittutorial.html
    http://www.kernel.org/pub/software/scm/git/docs/everyday.html
    http://git-scm.com/course/svn.html
    http://hoth.entp.com/output/git_for_designers.html
    http://eagain.net/articles/git-for-computer-scientists/
    http://www.kernel.org/pub/software/scm/git/docs/user-manual.html
    http://www-cs-students.stanford.edu/~blynn/gitmagic/
    http://help.github.com/
    http://www.kernel.org/pub/software/scm/git/docs/
    http://refcardz.dzone.com/refcardz/getting-started-git

Which source makes the least amount of assumptions and offers all the
juicy details for configuring git on the server, and git on the local
machine, without any fluff?

I'm looking for a solid guide. Not a novel. Not a pamphlet.

Being new to git, I can't tell which source to go with.  Perhaps
someone with greater experience could point me in the right direction.

Thanks again.

--Josh

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

* Re: Anybody home?
  2011-09-15  5:04   ` Joshua Stoutenburg
@ 2011-09-15  5:06     ` Joshua Stoutenburg
  2011-09-15  5:21       ` Alexander Kostikov
                         ` (2 more replies)
  2011-09-15 11:04     ` Jakub Narebski
  1 sibling, 3 replies; 20+ messages in thread
From: Joshua Stoutenburg @ 2011-09-15  5:06 UTC (permalink / raw)
  To: Michael Witten; +Cc: Git List

Also, I noticed the entire kernel.org website is down.  Any idea how
long it's been like that or when/if it will come back up?  What's
Linus up to?

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

* Re: Anybody home?
  2011-09-15  5:06     ` Joshua Stoutenburg
@ 2011-09-15  5:21       ` Alexander Kostikov
       [not found]       ` <CAGAhT3mo0qqU9WMgfM1vKjwMtjeb55LRG1QfEYhq7JwsBSGSEw@mail.gmail.com>
  2011-09-15 12:55       ` Ted Ts'o
  2 siblings, 0 replies; 20+ messages in thread
From: Alexander Kostikov @ 2011-09-15  5:21 UTC (permalink / raw)
  To: Joshua Stoutenburg; +Cc: Michael Witten, Git List

If you don't mind spending $12 on documentation here is IMHO very good
guide to git - http://peepcode.com/products/git-internals-pdf
It contains some videos as well.

On Wed, Sep 14, 2011 at 10:06 PM, Joshua Stoutenburg
<jehoshua02@gmail.com> wrote:
>
> Also, I noticed the entire kernel.org website is down.  Any idea how
> long it's been like that or when/if it will come back up?  What's
> Linus up to?
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

-- Alexander Kostikov

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

* Re: Anybody home?
       [not found]       ` <CAGAhT3mo0qqU9WMgfM1vKjwMtjeb55LRG1QfEYhq7JwsBSGSEw@mail.gmail.com>
@ 2011-09-15  5:37         ` Joshua Stoutenburg
  0 siblings, 0 replies; 20+ messages in thread
From: Joshua Stoutenburg @ 2011-09-15  5:37 UTC (permalink / raw)
  To: Alexander Kostikov; +Cc: Michael Witten, Git List

On Wed, Sep 14, 2011 at 10:19 PM, Alexander Kostikov
<alex.kostikov@gmail.com> wrote:
> If you don't mind spending $12 on documentation here is IMHO very good guide
> to git - http://peepcode.com/products/git-internals-pdf
> It contains some videos as well.

I'll definitely check it out.  Not really looking for videos though.
I like things that are quiet, skim-able, and searchable.

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

* Re: Anybody home?
  2011-09-15  4:24 Anybody home? Joshua Stoutenburg
  2011-09-15  4:48 ` Michael Witten
@ 2011-09-15  7:15 ` Johannes Sixt
  2011-09-15  7:48   ` Thomas Rast
  2011-09-15  9:01   ` Joshua Stoutenburg
  1 sibling, 2 replies; 20+ messages in thread
From: Johannes Sixt @ 2011-09-15  7:15 UTC (permalink / raw)
  To: Joshua Stoutenburg; +Cc: Git List

Am 9/15/2011 6:24, schrieb Joshua Stoutenburg:
> Hey guys, I'm pretty stoked about git -- coming from subversion.
> 
> I'm having a hard time understanding clearly how to set up a git
> server and configure my local machine to pull and push to it.
> 
> I've been reading the git book pdf.  But I think I must have missed
> something.  I feel stranded.

Reading your exchanges elsewhere in this thread, I think you missed that
you don't need a git server at all just to *use* git.

Even when you want to exchange your commits between two or three machines,
all you need is ssh access. There is no *git server* necessary. git is not
svn. ;-)

I thought I'd just mention this to help you streamline your search.

-- Hannes

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

* Re: Anybody home?
  2011-09-15  7:15 ` Johannes Sixt
@ 2011-09-15  7:48   ` Thomas Rast
  2011-09-15  9:42     ` Joshua Stoutenburg
  2011-09-15  9:01   ` Joshua Stoutenburg
  1 sibling, 1 reply; 20+ messages in thread
From: Thomas Rast @ 2011-09-15  7:48 UTC (permalink / raw)
  To: Joshua Stoutenburg; +Cc: Johannes Sixt, Git List

Johannes Sixt wrote:
> Even when you want to exchange your commits between two or three machines,
> all you need is ssh access. There is no *git server* necessary. git is not
> svn. ;-)

I'd even put this somewhat more bluntly.  My two-step advice on
switching from svn to git is:

1) forget *everything* you know from SVN
2) learn git as usual

I don't hang out on IRC as much any more, so maybe it got better.  But
90%[*] of SVN convert's problems seem to stem from some preconceived
notions they carried over from SVN.

Such as, "HEAD is the newest commit".  Or the whole centralized
vs. distributed you mentioned.



[*] 78% of all statistics were made up on the spot

-- 
Thomas Rast
trast@{inf,student}.ethz.ch

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

* Re: Anybody home?
  2011-09-15  7:15 ` Johannes Sixt
  2011-09-15  7:48   ` Thomas Rast
@ 2011-09-15  9:01   ` Joshua Stoutenburg
  2011-09-15  9:43     ` Carlos Martín Nieto
  2011-09-15 15:04     ` Scott Chacon
  1 sibling, 2 replies; 20+ messages in thread
From: Joshua Stoutenburg @ 2011-09-15  9:01 UTC (permalink / raw)
  To: Johannes Sixt; +Cc: Git List

> Reading your exchanges elsewhere in this thread, I think you missed that
> you don't need a git server at all just to *use* git.
>
> Even when you want to exchange your commits between two or three machines,
> all you need is ssh access. There is no *git server* necessary. git is not
> svn. ;-)
>
> I thought I'd just mention this to help you streamline your search.
>
> -- Hannes
>

I read the first four and a half chapters from the Pro Git book pdf.
So I think I understood that much.

But in my situation, I do need a server so that other developers can
access anytime over the internet.

I should have mentioned that.

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

* Re: Anybody home?
  2011-09-15  7:48   ` Thomas Rast
@ 2011-09-15  9:42     ` Joshua Stoutenburg
  2011-09-15 13:17       ` Martin Langhoff
  0 siblings, 1 reply; 20+ messages in thread
From: Joshua Stoutenburg @ 2011-09-15  9:42 UTC (permalink / raw)
  To: Joshua Stoutenburg; +Cc: Johannes Sixt, Git List

On Thu, Sep 15, 2011 at 12:48 AM, Thomas Rast <trast@student.ethz.ch> wrote:
> Johannes Sixt wrote:
>> Even when you want to exchange your commits between two or three machines,
>> all you need is ssh access. There is no *git server* necessary. git is not
>> svn. ;-)
>
> I'd even put this somewhat more bluntly.  My two-step advice on
> switching from svn to git is:
>
> 1) forget *everything* you know from SVN
> 2) learn git as usual
>
> I don't hang out on IRC as much any more, so maybe it got better.  But
> 90%[*] of SVN convert's problems seem to stem from some preconceived
> notions they carried over from SVN.
>
> Such as, "HEAD is the newest commit".  Or the whole centralized
> vs. distributed you mentioned.
>
>
>
> [*] 78% of all statistics were made up on the spot
>
> --
> Thomas Rast
> trast@{inf,student}.ethz.ch
>

How can I "learn git as usual"?

I don't think I was on Subversion long enough to permanently damage my
brain.  Only a few months (actually . . . that's probably enough).  I
never used it's branching, tagging or merging features.  Commit and
revert were the only that I used.  Regardless, I'm happy to forget
everything I know about Subversion.

I've watched Linus Torvalds tech talk on git:
http://www.youtube.com/watch?v=4XpnKHJAok8
I also read four and a half chapters of Pro Git pdf:
http://progit.org/ebook/progit.pdf
I read and understood git for computer scientists:
http://eagain.net/articles/git-for-computer-scientists/

So I have a pretty good understanding why git is THE superior source
code management choice.  And I have a basic understanding of how git
works.  I know how to install a *nix server and can survive on the
CLI.

Here's where I think I'm having some troubles, and maybe you can help
me identify any others:

I got confused in Chapter 5 of the Pro Git pdf book, trying to discern
what needs to be done on the server, and what needs to be done on the
work station.  The chapter seems to jump around a bit, and doesn't
follow a linear pattern.  Maybe I need to read it more carefully?

Also, I'm not clear on the best way to manage large numbers of git
users (like 12-24), who also may have permissions to other services as
well (ftp, databases, email, etc).  I have some hesitancy creating
each one manually on the CLI.

Finally, I'm not sure how to "learn git as usual".  Point me in the
right direction, please.

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

* Re: Anybody home?
  2011-09-15  9:01   ` Joshua Stoutenburg
@ 2011-09-15  9:43     ` Carlos Martín Nieto
  2011-09-15  9:51       ` Joshua Stoutenburg
  2011-09-15 10:54       ` Miles Bader
  2011-09-15 15:04     ` Scott Chacon
  1 sibling, 2 replies; 20+ messages in thread
From: Carlos Martín Nieto @ 2011-09-15  9:43 UTC (permalink / raw)
  To: Joshua Stoutenburg; +Cc: Johannes Sixt, Git List

[-- Attachment #1: Type: text/plain, Size: 1158 bytes --]

On Thu, 2011-09-15 at 02:01 -0700, Joshua Stoutenburg wrote:
> > Reading your exchanges elsewhere in this thread, I think you missed that
> > you don't need a git server at all just to *use* git.
> >
> > Even when you want to exchange your commits between two or three machines,
> > all you need is ssh access. There is no *git server* necessary. git is not
> > svn. ;-)
> >
> > I thought I'd just mention this to help you streamline your search.
> >
> > -- Hannes
> >
> 
> I read the first four and a half chapters from the Pro Git book pdf.
> So I think I understood that much.
> 
> But in my situation, I do need a server so that other developers can
> access anytime over the internet.

If the code shouldn't be made public, then you should take a look at
gitolite[0]. Otherwise, you can just host it on gitorious.org or
github.com

[0] https://github.com/sitaramc/gitolite

   cmn

> 
> I should have mentioned that.
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 



[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

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

* Re: Anybody home?
  2011-09-15  9:43     ` Carlos Martín Nieto
@ 2011-09-15  9:51       ` Joshua Stoutenburg
  2011-09-15 10:54       ` Miles Bader
  1 sibling, 0 replies; 20+ messages in thread
From: Joshua Stoutenburg @ 2011-09-15  9:51 UTC (permalink / raw)
  To: Carlos Martín Nieto; +Cc: Johannes Sixt, Git List

On Thu, Sep 15, 2011 at 2:43 AM, Carlos Martín Nieto <carlos@cmartin.tk> wrote:
> If the code shouldn't be made public, then you should take a look at
> gitolite[0]. Otherwise, you can just host it on gitorious.org or
> github.com
>
> [0] https://github.com/sitaramc/gitolite
>
>   cmn
>

Thank you.

This looks very useful.

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

* Re: Anybody home?
  2011-09-15  9:43     ` Carlos Martín Nieto
  2011-09-15  9:51       ` Joshua Stoutenburg
@ 2011-09-15 10:54       ` Miles Bader
  2011-09-15 11:34         ` Carlos Martín Nieto
  1 sibling, 1 reply; 20+ messages in thread
From: Miles Bader @ 2011-09-15 10:54 UTC (permalink / raw)
  To: Carlos Martín Nieto; +Cc: Joshua Stoutenburg, Johannes Sixt, Git List

Carlos Martín Nieto <carlos@cmartin.tk> writes:
> If the code shouldn't be made public, then you should take a look at
> gitolite[0]. Otherwise, you can just host it on gitorious.org or
> github.com

Hmm, of course if you're willing to pay, github will also host private
code (maybe useful if your devs love teh shiny......).

-miles

-- 
One of the lessons of history is that nothing is often a good thing to
do, and always a clever thing to say.  -- Will Durant

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

* Re: Anybody home?
  2011-09-15  5:04   ` Joshua Stoutenburg
  2011-09-15  5:06     ` Joshua Stoutenburg
@ 2011-09-15 11:04     ` Jakub Narebski
  1 sibling, 0 replies; 20+ messages in thread
From: Jakub Narebski @ 2011-09-15 11:04 UTC (permalink / raw)
  To: Joshua Stoutenburg; +Cc: Michael Witten, Git List

Couldn't you pick up less descriptive subject ;-) ?

Joshua Stoutenburg <jehoshua02@gmail.com> writes:
> On Wed, Sep 14, 2011 at 9:48 PM, Michael Witten <mfwitten@gmail.com> wrote:
>> On Thu, Sep 15, 2011 at 04:24, Joshua Stoutenburg <jehoshua02@gmail.com> wrote:

>>> I'm having a hard time understanding clearly how to set up a git
>>> server and configure my local machine to pull and push to it.

> There seems to be a plethora of documentation on git from various sources.
> 
> See what I mean:
>     http://git-scm.com/documentation
>     http://progit.org/book/
>     http://gitref.org/
>     http://www.kernel.org/pub/software/scm/git/docs/gittutorial.html
>     http://www.kernel.org/pub/software/scm/git/docs/everyday.html
>     http://git-scm.com/course/svn.html
>     http://hoth.entp.com/output/git_for_designers.html
>     http://eagain.net/articles/git-for-computer-scientists/
>     http://www.kernel.org/pub/software/scm/git/docs/user-manual.html
>     http://www-cs-students.stanford.edu/~blynn/gitmagic/
>     http://help.github.com/
>     http://www.kernel.org/pub/software/scm/git/docs/
>     http://refcardz.dzone.com/refcardz/getting-started-git
> 
> Which source makes the least amount of assumptions and offers all the
> juicy details for configuring git on the server, and git on the local
> machine, without any fluff?
> 
> I'm looking for a solid guide. Not a novel. Not a pamphlet.

I think that either "Pro Git" book, or "The Git Community Book"
would be a best source to learn about setting-up git server.

I think the simplest solution for git hosting management would be to
use gitolite (there are other git repository management software:
Gitosis, SCM Manager, Gitblit).

If you want to host something like GitHub, there are open source
solutions too: Gitorious, InDefero, Girocco + gitweb,...

HTH
-- 
Jakub Narębski

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

* Re: Anybody home?
  2011-09-15 10:54       ` Miles Bader
@ 2011-09-15 11:34         ` Carlos Martín Nieto
  2011-09-15 12:01           ` Joshua Stoutenburg
  0 siblings, 1 reply; 20+ messages in thread
From: Carlos Martín Nieto @ 2011-09-15 11:34 UTC (permalink / raw)
  To: Miles Bader; +Cc: Joshua Stoutenburg, Johannes Sixt, Git List

[-- Attachment #1: Type: text/plain, Size: 563 bytes --]

On Thu, 2011-09-15 at 19:54 +0900, Miles Bader wrote:
> Carlos Martín Nieto <carlos@cmartin.tk> writes:
> > If the code shouldn't be made public, then you should take a look at
> > gitolite[0]. Otherwise, you can just host it on gitorious.org or
> > github.com
> 
> Hmm, of course if you're willing to pay, github will also host private

Indeed, if you give them a bit of money they'll take care of everything
and you can have your private code there.

> code (maybe useful if your devs love teh shiny......).

Teh Shiny is powerful :)

   cmn


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

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

* Re: Anybody home?
  2011-09-15 11:34         ` Carlos Martín Nieto
@ 2011-09-15 12:01           ` Joshua Stoutenburg
  0 siblings, 0 replies; 20+ messages in thread
From: Joshua Stoutenburg @ 2011-09-15 12:01 UTC (permalink / raw)
  To: Carlos Martín Nieto; +Cc: Git List

On Thu, Sep 15, 2011 at 4:34 AM, Carlos Martín Nieto <carlos@cmartin.tk> wrote:
> On Thu, 2011-09-15 at 19:54 +0900, Miles Bader wrote:
>> Carlos Martín Nieto <carlos@cmartin.tk> writes:
>> > If the code shouldn't be made public, then you should take a look at
>> > gitolite[0]. Otherwise, you can just host it on gitorious.org or
>> > github.com
>>
>> Hmm, of course if you're willing to pay, github will also host private
>
> Indeed, if you give them a bit of money they'll take care of everything
> and you can have your private code there.
>
>> code (maybe useful if your devs love teh shiny......).
>
> Teh Shiny is powerful :)
>
>   cmn
>
>

Unfamiliar with the term "Teh Shiny". Had to look it up.  Found this:
http://www.claassen.net/geek/blog/2009/09/teh-shiny.html

I think I have a tendency to avoid "Teh Shiny" because it ruins all the fun.

I think I could easily figure out how to host my own repos, save some
money, and have my own "Teh Shiny".

If I didn't care about saving money, and had a project that needed a
repo immediately, I'd probably give in and pay a little.

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

* Re: Anybody home?
  2011-09-15  5:06     ` Joshua Stoutenburg
  2011-09-15  5:21       ` Alexander Kostikov
       [not found]       ` <CAGAhT3mo0qqU9WMgfM1vKjwMtjeb55LRG1QfEYhq7JwsBSGSEw@mail.gmail.com>
@ 2011-09-15 12:55       ` Ted Ts'o
  2 siblings, 0 replies; 20+ messages in thread
From: Ted Ts'o @ 2011-09-15 12:55 UTC (permalink / raw)
  To: Joshua Stoutenburg; +Cc: Michael Witten, Git List

On Wed, Sep 14, 2011 at 10:06:58PM -0700, Joshua Stoutenburg wrote:
> Also, I noticed the entire kernel.org website is down.  Any idea how
> long it's been like that or when/if it will come back up?  What's
> Linus up to?

It's down for maintenance after a security breach.

     https://lwn.net/Articles/458099/

						- Ted

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

* Re: Anybody home?
  2011-09-15  9:42     ` Joshua Stoutenburg
@ 2011-09-15 13:17       ` Martin Langhoff
  0 siblings, 0 replies; 20+ messages in thread
From: Martin Langhoff @ 2011-09-15 13:17 UTC (permalink / raw)
  To: Joshua Stoutenburg; +Cc: Johannes Sixt, Git List

On Thu, Sep 15, 2011 at 5:42 AM, Joshua Stoutenburg
<jehoshua02@gmail.com> wrote:
> I got confused in Chapter 5 of the Pro Git pdf book, trying to discern
> what needs to be done on the server, and what needs to be done on the
> work station

OK - some hints:

1 - For private code, or public code where you value the service, you
can use the commercial services out there, that's easy

2 - For public/foss code, with low/simple service expectations, you
can get free hosting

3 - For a private setup... the normal thing is to use git over ssh, so
the server should be reachable by your users, and your users need an
ssh account. You will want to setup a group ("gituser") and create a
directory ("/git") owned by that group, writable by the group, with
sticky group mode.

 To create a new project repo, ssh into the server and say git
--git-dir /git/fooproject init --shared . It will be empty -- on a
user workstation create your first commit, and push it into the (so
far empty) repo with git push git+ssh://hostname/git/fooproject master
.

On the server you can add a gitweb or cgit install for browsability.

If you want to allow anonymous users to access your git repos in
readonly mode, you can setup the git "service", with xinetd. That
allows you to tell people "git clone git://hostname/fooproject" .

Careful when configuring network services if the host is public, you
don't want to serve git://host/etc/shadow :-)

This is what most "git servers" do -- it works in your company
network, it also works for a public FOSS project with anon readers and
a handful of ssh-authenticated committers.

(For a project using a more distributed model of
one-developer-one-repo, you follow the same setup but perhaps make
per-developer directories.)

4 - You _can_ do git over http, instead of ssh, but I suspect the
setup is more involved. In any case, others will have to fill in.

> Also, I'm not clear on the best way to manage large numbers of git
> users (like 12-24), who also may have permissions to other services as
> well (ftp, databases, email, etc).  I have some hesitancy creating
> each one manually on the CLI.

CLI is generally fine :-) if you contract a hosting server that gives
you email/db/ftp and has a webbased admin UI, all you need
"additional" is to ensure you can manage ssh accounts with ease.

cheers,


m
-- 
 martin.langhoff@gmail.com
 martin@laptop.org -- Software Architect - OLPC
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff

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

* Re: Anybody home?
  2011-09-15  9:01   ` Joshua Stoutenburg
  2011-09-15  9:43     ` Carlos Martín Nieto
@ 2011-09-15 15:04     ` Scott Chacon
  2011-09-15 21:00       ` Joshua Stoutenburg
  1 sibling, 1 reply; 20+ messages in thread
From: Scott Chacon @ 2011-09-15 15:04 UTC (permalink / raw)
  To: Joshua Stoutenburg; +Cc: Johannes Sixt, Git List

Hey,

On Thu, Sep 15, 2011 at 2:01 AM, Joshua Stoutenburg
<jehoshua02@gmail.com> wrote:
>> Reading your exchanges elsewhere in this thread, I think you missed that
>> you don't need a git server at all just to *use* git.
>>
>> Even when you want to exchange your commits between two or three machines,
>> all you need is ssh access. There is no *git server* necessary. git is not
>> svn. ;-)
>>
>> I thought I'd just mention this to help you streamline your search.
>>
>> -- Hannes
>>
>
> I read the first four and a half chapters from the Pro Git book pdf.
> So I think I understood that much.
>
> But in my situation, I do need a server so that other developers can
> access anytime over the internet.
>
> I should have mentioned that.

I guess I'm confused.  The fourth chapter of the Pro Git book is
entirely about setting up your own Git server, including basically
step by step instructions on Gitolite and Gitosis, in addition to
simply running your own ssh-based server plus gitweb.  It is like 20
pages long - how is this not exactly what you're asking for?

Scott

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

* Re: Anybody home?
  2011-09-15 15:04     ` Scott Chacon
@ 2011-09-15 21:00       ` Joshua Stoutenburg
  0 siblings, 0 replies; 20+ messages in thread
From: Joshua Stoutenburg @ 2011-09-15 21:00 UTC (permalink / raw)
  To: Scott Chacon; +Cc: Git List

On Thu, Sep 15, 2011 at 8:04 AM, Scott Chacon <schacon@gmail.com> wrote:
> Hey,
>
> On Thu, Sep 15, 2011 at 2:01 AM, Joshua Stoutenburg
> <jehoshua02@gmail.com> wrote:
>>> Reading your exchanges elsewhere in this thread, I think you missed that
>>> you don't need a git server at all just to *use* git.
>>>
>>> Even when you want to exchange your commits between two or three machines,
>>> all you need is ssh access. There is no *git server* necessary. git is not
>>> svn. ;-)
>>>
>>> I thought I'd just mention this to help you streamline your search.
>>>
>>> -- Hannes
>>>
>>
>> I read the first four and a half chapters from the Pro Git book pdf.
>> So I think I understood that much.
>>
>> But in my situation, I do need a server so that other developers can
>> access anytime over the internet.
>>
>> I should have mentioned that.
>
> I guess I'm confused.  The fourth chapter of the Pro Git book is
> entirely about setting up your own Git server, including basically
> step by step instructions on Gitolite and Gitosis, in addition to
> simply running your own ssh-based server plus gitweb.  It is like 20
> pages long - how is this not exactly what you're asking for?
>
> Scott
>

Scott -- the man himself!

I've been reading the pdf version of the excellent Pro Git book:
http://progit.org/ebook/progit.pdf

In the pdf version, Chapter 5 covers "Git on the Server". I was a
little confused at section 5.2, "Getting Git on a Server".

I was expecting a process very similar to installing on a work station
(sections 2.4, "Installing Git", and 2.5, "First-Time Git Setup"),
with differences pertaining to the server. But this section (5.2)
didn't talk about that and seemed to assume I already installed Git on
the server. Instead, this section explains how to create a bare
repository and Section 5.2.1 explains how to put the bare repository
on the server.

So I jumped ahead to section 5.4, "Setting Up the Server", hoping to
find the process I was expecting. For the most part it was there. But
I was left pondering how tedious it would be to manage a couple dozen
git users.

So I read sections 5.7 "Gitosis" and 5.8 "Gitolite". It sounds like
these two tools do the same thing. Since I'm not sure what makes them
different, I wasn't sure which one would fit my needs.

Then, I heard about Gitorious and would like to give that a spin. The
idea of installing a single piece of software that does everything
seems more appealing than installing and configuring multiple pieces
of software.

I'll return to the books for now and do the best I can.

I'm running the Git server in a VirtualBox VM server and keep
snapshots after significant changes. So if I break anything, it will
be a couple clicks to recover.

Thanks for everyone's help.

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

end of thread, other threads:[~2011-09-15 21:00 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-15  4:24 Anybody home? Joshua Stoutenburg
2011-09-15  4:48 ` Michael Witten
2011-09-15  5:04   ` Joshua Stoutenburg
2011-09-15  5:06     ` Joshua Stoutenburg
2011-09-15  5:21       ` Alexander Kostikov
     [not found]       ` <CAGAhT3mo0qqU9WMgfM1vKjwMtjeb55LRG1QfEYhq7JwsBSGSEw@mail.gmail.com>
2011-09-15  5:37         ` Joshua Stoutenburg
2011-09-15 12:55       ` Ted Ts'o
2011-09-15 11:04     ` Jakub Narebski
2011-09-15  7:15 ` Johannes Sixt
2011-09-15  7:48   ` Thomas Rast
2011-09-15  9:42     ` Joshua Stoutenburg
2011-09-15 13:17       ` Martin Langhoff
2011-09-15  9:01   ` Joshua Stoutenburg
2011-09-15  9:43     ` Carlos Martín Nieto
2011-09-15  9:51       ` Joshua Stoutenburg
2011-09-15 10:54       ` Miles Bader
2011-09-15 11:34         ` Carlos Martín Nieto
2011-09-15 12:01           ` Joshua Stoutenburg
2011-09-15 15:04     ` Scott Chacon
2011-09-15 21:00       ` Joshua Stoutenburg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.