Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UCX39-00069c-BQ for pgsql-www@arkaria.postgresql.org; Mon, 04 Mar 2013 15:11:35 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UCX38-0002aU-QC for pgsql-www@arkaria.postgresql.org; Mon, 04 Mar 2013 15:11:34 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UCX37-0002ZK-DS for pgsql-www@postgresql.org; Mon, 04 Mar 2013 15:11:33 +0000 Received: from smtprelay0218.b.hostedemail.com ([64.98.42.218] helo=smtprelay.b.hostedemail.com) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UCX35-00009X-KV for pgsql-www@postgresql.org; Mon, 04 Mar 2013 15:11:32 +0000 Received: from filter.hostedemail.com (b-bigip1 [10.5.19.254]) by smtprelay05.b.hostedemail.com (Postfix) with SMTP id AC44699BAC5; Mon, 4 Mar 2013 15:11:30 +0000 (UTC) X-Panda: scanned! X-Spam-Summary: 40, 2.5, 0, , d41d8cd98f00b204, alvherre@alvh.no-ip.org, :::::::::::::, RULES_HIT:355:379:599:601:967:973:988:989:1260:1277:1311:1312:1313:1314:1345:1358:1359:1437:1515:1516:1518:1519:1534:1542:1593:1594:1595:1596:1711:1730:1747:1777:1792:2198:2199:2393:2525:2553:2560:2563:2682:2685:2828:2859:2901:2933:2937:2939:2942:2945:2947:2951:2954:3022:3027:3138:3139:3140:3141:3142:3308:3354:3865:3867:3868:3869:3870:3871:3872:3873:3874:3934:3936:3938:3941:3944:3947:3950:3953:3956:3959:4250:4321:4605:4659:5007:6119:6261:7679:7903:8784:9025:9121:10004:10400:10848:10967:11232:11256:11257:11658:11914:12109:12517:12519:12679:12740, 0, RBL:none, CacheIP:none, Bayesian:0.5, 0.5, 0.5, Netcheck:none, DomainCache:0, MSF:not bulk, SPF:fn, MSBL:0, DNSBL:none, Custom_rules:0:0:0 X-Session-Marker: 616C76686572726540616C76682E6E6F2D69702E6F7267 X-Filterd-Recvd-Size: 3659 Received: from perhan.alvh.no-ip.org (unknown [190.95.28.201]) (Authenticated sender: alvherre@alvh.no-ip.org) by omf14.b.hostedemail.com (Postfix) with ESMTPA; Mon, 4 Mar 2013 15:11:30 +0000 (UTC) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 1E9626E02C; Mon, 4 Mar 2013 12:11:28 -0300 (CLST) Date: Mon, 4 Mar 2013 12:11:28 -0300 From: Alvaro Herrera To: Andres Freund Cc: Magnus Hagander , Tom Lane , Kevin Grittner , Peter Eisentraut , PostgreSQL WWW , Stephen Frost Subject: Re: gitweb is no longer a real-time view Message-ID: <20130304151127.GB9507@alvh.no-ip.org> References: <20130304020324.GE16142@tamriel.snowman.net> <2480.1362363162@sss.pgh.pa.us> <20130304023335.GH16142@tamriel.snowman.net> <20130304125013.GB3943@awork2.anarazel.de> <20130304143349.GX9507@alvh.no-ip.org> <20130304143852.GH3943@awork2.anarazel.de> <20130304145842.GZ9507@alvh.no-ip.org> <20130304150344.GK3943@awork2.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20130304150344.GK3943@awork2.anarazel.de> User-Agent: Mutt/1.5.21 (2010-09-15) Content-Transfer-Encoding: quoted-printable X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-www Precedence: bulk Sender: pgsql-www-owner@postgresql.org Andres Freund wrote: > 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: > >=20 > > > > FWIW I also use a bare mirror (same setup as Kevin). > > >=20 > > > I think that setup is fine as far as pulling goes, but you should push > > > directly from the individual branches. > >=20 > > 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. >=20 > > 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). >=20 > 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. Hm, there are no new local branches here; I fetch to the same branches as the other remote: git fetch -q anon-origin master:master REL9_2_STABLE:REL9_2_STABLE REL9_1_S= TABLE:REL9_1_STABLE REL9_0_STABLE:REL9_0_STABLE REL8_4_STABLE:REL8_4_STABLE= REL8_3_STABLE:REL8_3_STABLE Note this fails (which is what I want) when it's not a FF pull. So my local repository hasn't had any corruption. In fact, to observe the breakage, I had to do a "git fetch anon-origin master:anon-master". I guess there clearly weren't enough protections in the gitmaster server to prevent me from causing major breakage (hopefully there are now), but then I'm so chicken that I triple-check these things before pushing, so no major harm has been done by me to date, even though my setup may be theoretically dangerous. --=20 =C1lvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services --=20 Sent via pgsql-www mailing list (pgsql-www@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-www