git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* how to use two bare repositories?
@ 2008-04-11 22:22 Oliver Kullmann
  2008-04-11 23:17 ` Junio C Hamano
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Oliver Kullmann @ 2008-04-11 22:22 UTC (permalink / raw)
  To: git

Hi,

I have the following problem:

We use a public repository, a bare repository A,
used with push and pull via ssh.
A is only to be used by the core developer group.

Now I want to create another public repository B,
from which anonymous pull is possible via http.
So B should be another bare repository.

The problem is now that it seems not to be possible
to update B:

1. pulling from A is not possible since B is bare;
2. fetching from A seems to work, checking the content of
   B via gitk seems to indicate that B has been updated
 --- however pulling from B doesn't work: The newly
 fetched changes are not transported to a repository
 which pulls from B ???

Hope somebody can shed light on this behaviour.

Thanks!

Oliver

^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: how to use two bare repositories?
@ 2008-04-11 23:44 Oliver Kullmann
  2008-04-12  0:12 ` Junio C Hamano
  2008-04-12  0:42 ` しらいしななこ
  0 siblings, 2 replies; 8+ messages in thread
From: Oliver Kullmann @ 2008-04-11 23:44 UTC (permalink / raw)
  To: git

Sorry, by error I didn't post this message to the
list, but it might be interesting for somebody,
so here the copy.

----- Forwarded message from Oliver Kullmann <O.Kullmann@swansea.ac.uk> -----

X-Original-To: csoliver@cs-svr1.swan.ac.uk
Delivered-To: csoliver@cs-svr1.swan.ac.uk
Date: Sat, 12 Apr 2008 00:40:38 +0100
From: Oliver Kullmann <O.Kullmann@swansea.ac.uk>
To: Junio C Hamano <gitster@pobox.com>
Subject: Re: how to use two bare repositories?
In-Reply-To: <7v7if4ouan.fsf@gitster.siamese.dyndns.org>
User-Agent: Mutt/1.5.9i

On Fri, Apr 11, 2008 at 04:17:52PM -0700, Junio C Hamano wrote:
> Oliver Kullmann <O.Kullmann@swansea.ac.uk> writes:
> 
> > Now I want to create another public repository B,
> > from which anonymous pull is possible via http.
> > So B should be another bare repository.
> >
> > The problem is now that it seems not to be possible
> > to update B:
> >
> > 1. pulling from A is not possible since B is bare;
> > 2. fetching from A seems to work, checking the content of
> >    B via gitk seems to indicate that B has been updated
> >  --- however pulling from B doesn't work
> 
> The usual answer when you see a word "http" mentioned is...
> 
> 	how are you arranging update-server-info to be run whenever B is
> 	updated?

Aha, I see: So first I fetch, and then I run update-server-info.
Just tried it out, and it worked. Thanks!

(By the way, since B is updated anyway only by my package-building
script, it's no problem to run update-server-info then (by the script).)

----- End forwarded message -----

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

end of thread, other threads:[~2008-04-12  0:56 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-11 22:22 how to use two bare repositories? Oliver Kullmann
2008-04-11 23:17 ` Junio C Hamano
2008-04-11 23:19 ` Jean-Luc Herren
2008-04-11 23:23 ` Oliver Kullmann
  -- strict thread matches above, loose matches on Subject: below --
2008-04-11 23:44 Oliver Kullmann
2008-04-12  0:12 ` Junio C Hamano
2008-04-12  0:42 ` しらいしななこ
2008-04-12  0:55   ` Junio C Hamano

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).