Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cOqrO-0002Fd-Hw for pgsql-committers@arkaria.postgresql.org; Wed, 04 Jan 2017 19:04:30 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cOqrO-0000D1-30 for pgsql-committers@arkaria.postgresql.org; Wed, 04 Jan 2017 19:04:30 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cOqrA-0008NI-Kw for pgsql-committers@postgresql.org; Wed, 04 Jan 2017 19:04:16 +0000 Received: from 173-164-140-181-sfba.hfc.comcastbusiness.net ([173.164.140.181] helo=fetter.org) by magus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cOqr7-0003AJ-1O for pgsql-committers@postgresql.org; Wed, 04 Jan 2017 19:04:16 +0000 Received: by fetter.org (Postfix, from userid 1000) id 33626E0407; Wed, 4 Jan 2017 11:04:07 -0800 (PST) Date: Wed, 4 Jan 2017 11:04:07 -0800 From: David Fetter To: Magnus Hagander Cc: Tom Lane , Andres Freund , Bruce Momjian , Heikki Linnakangas , pgsql-committers Subject: Re: pgsql: Update copyright for 2017 Message-ID: <20170104190407.GA13766@fetter.org> References: <20170103174103.GA1964@momjian.us> <20170103174914.GB1964@momjian.us> <6fe16c90-0987-00a1-804d-587e193f2574@iki.fi> <20170103180228.GC1964@momjian.us> <20170104080538.7x6avmzcvd6clrxz@alap3.anarazel.de> <21837.1483542310@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.7.1 (2016-10-04) X-Pg-Spam-Score: -0.9 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org On Wed, Jan 04, 2017 at 04:08:20PM +0100, Magnus Hagander wrote: > On Wed, Jan 4, 2017 at 4:05 PM, Tom Lane wrote: > > Andres Freund writes: > > > On 2017-01-03 13:02:28 -0500, Bruce Momjian wrote: > > >> Yeah, I was doing parallel pulls of different branches in git > > >> via shell script, and it seems the size of this commit showed > > >> me that doesn't work. Sorry. > > > > > Shouldn't you check the results of something like this before > > > pushing? Sorry for piling on, but that seems like a quite > > > critical step. > > > > Actually, my takeaway from this was "don't ever use git reset on > > the repo". That's actually not tenable. If we ever find something in our repo that we don't have full rights to, especially if it's something that would put roadblocks in front of people who'd like to make a proprietary fork, we have to be able to expunge it, not merely paper it over. > > "git revert" would have been much safer. Yeah, it would have meant that > > git blame on the 9.2 branch would have some useless noise, but how much > > does anyone still care about that? > > Possibly this time, but the generic answer is a lot harder. As above. > Except for like Andres says, always check *everything* before > pushing. I know I always push with -n and then do a git show on that > resulting set of commits just to make sure it's the one I want. It > doesn't take a lot of extra time after each commit, and it easily > finds things like this. Do we see a point in the future where all pushes to that repo require a reviewer separate from the author? The cost in hassle and aggravation is, to put it mildly, non-trivial, but it makes these kinds of mistakes a lot harder to make. Best, David. -- David Fetter http://fetter.org/ Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter Skype: davidfetter XMPP: david(dot)fetter(at)gmail(dot)com Remember to vote! Consider donating to Postgres: http://www.postgresql.org/about/donate -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers