public inbox for [email protected]  
help / color / mirror / Atom feed
From: Andres Freund <[email protected]>
To: Alvaro Herrera <[email protected]>
Cc: Magnus Hagander <[email protected]>
Cc: Tom Lane <[email protected]>
Cc: Kevin Grittner <[email protected]>
Cc: Peter Eisentraut <[email protected]>
Cc: PostgreSQL WWW <[email protected]>
Cc: Stephen Frost <[email protected]>
Subject: Re: gitweb is no longer a real-time view
Date: Mon, 4 Mar 2013 16:03:44 +0100
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<CABUevEwfw24iF9-czueLSmdFQwck012qfVmLXcoKbG37xG56jQ@mail.gmail.com>
	<CABUevEzM2F8qAxVds9Me-41L5BqeEGO4DuosCQhC0C6v05HPUw@mail.gmail.com>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
List-Unsubscribe: <mailto:[email protected]?body=unsub%20pgsql-www>

On 2013-03-04 11:58:42 -0300, Alvaro Herrera wrote:
> Andres Freund wrote:
> > On 2013-03-04 11:33:49 -0300, Alvaro Herrera wrote:
> > > Andres Freund wrote:
> 
> > > FWIW I also use a bare mirror (same setup as Kevin).
> > 
> > I think that setup is fine as far as pulling goes, but you should push
> > directly from the individual branches.
> 
> From the individual repos you mean?  I don't like that very much,
> because when I back-patch something, I prefer to push all commits
> locally to the bare mirror repo before pushing them out together to
> gitmaster.  That way, if I notice a mistake at the last minute, I can
> still revoke everything and start afresh.

> One difference in my setup is that my bare mirror has two remotes, one
> from gitmaster and one from the anonymous mirror.  The latter fetches
> from cron every 5 minutes.  The other one only fetches when I invoke it
> manually (because it needs access to my passphrase-protected SSH key).

Well, then you may not use --mirror/remote.xxx.mirror mode since that a)
pushes all branches b) pushes new local branches c) forces updates.

I guess in your setup you could set --mirror with remote.anongit.mirror
so it only mirrors anongit but when pushing to ssh it doesnt...

Greetings,

Andres Freund

-- 
 Andres Freund	                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


-- 
Sent via pgsql-www mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-www



view thread (43+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
  Subject: Re: gitweb is no longer a real-time view
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox