From: | Andres Freund <andres(at)2ndquadrant(dot)com> |
---|---|
To: | Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> |
Cc: | Magnus Hagander <magnus(at)hagander(dot)net>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Kevin Grittner <kgrittn(at)mail(dot)com>, Peter Eisentraut <peter_e(at)gmx(dot)net>, PostgreSQL WWW <pgsql-www(at)postgresql(dot)org>, Stephen Frost <sfrost(at)snowman(dot)net> |
Subject: | Re: gitweb is no longer a real-time view |
Date: | 2013-03-04 15:03:44 |
Message-ID: | 20130304150344.GK3943@awork2.anarazel.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-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
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2013-03-04 15:05:22 | Re: gitweb is no longer a real-time view |
Previous Message | Alvaro Herrera | 2013-03-04 14:58:42 | Re: gitweb is no longer a real-time view |