Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Y8bi3-00020x-Me for pgsql-hackers@arkaria.postgresql.org; Tue, 06 Jan 2015 21:30:39 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Y8bi2-0007mZ-VN for pgsql-hackers@arkaria.postgresql.org; Tue, 06 Jan 2015 21:30:39 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Y8bi1-0007mP-Oo for pgsql-hackers@postgresql.org; Tue, 06 Jan 2015 21:30:37 +0000 Received: from cronos.madness.at ([2a02:16a8:dc41::10]) by makus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1Y8bhy-0005Rj-R0 for pgsql-hackers@postgresql.org; Tue, 06 Jan 2015 21:30:35 +0000 Received: from mastermind.kaltenbrunner.cc ([2001:470:7a2d::22]) by cronos.madness.at with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1Y8bho-0000wD-Ta; Tue, 06 Jan 2015 22:30:28 +0100 Message-ID: <54AC53EF.5050202@kaltenbrunner.cc> Date: Tue, 06 Jan 2015 22:30:23 +0100 From: Stefan Kaltenbrunner User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Alvaro Herrera CC: Bruce Momjian , David Fetter , Michael Paquier , PostgreSQL mailing lists Subject: Re: Updating copyright notices to 2015 for PGDG References: <20150103214537.GF26414@fetter.org> <20150106151917.GB13684@momjian.us> <54AC3B8B.2020902@kaltenbrunner.cc> <20150106205411.GB17824@momjian.us> <20150106211230.GR1457@alvh.no-ip.org> In-Reply-To: <20150106211230.GR1457@alvh.no-ip.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On 01/06/2015 10:12 PM, Alvaro Herrera wrote: > Bruce Momjian wrote: >> On Tue, Jan 6, 2015 at 08:46:19PM +0100, Stefan Kaltenbrunner wrote: >>>> I will run the script today. I didn't do it earlier because I want to >>>> be current on reading community email before doing it. >>> >>> hmm is it intentional that the commit also changed other files? >>> >>> looks like the commited patch added newlines to various files that had >>> none before for example: >> >> Specifically, these files had no newline after the last line in the >> file. > > I don't think we have any files that require not to have a trailing > newline. Do we need an explicit check against it? Seems doubtful, but > then if the need arises, we will break it each year and who knows if > anybody will be vigilant enough to notice. Stefan caught it this time, > but who would normally skim 18000 lines of supposedly mechanical diff > looking for issues? (How did you catch this in the first place?) yeah while the trailing newline thingy does not seem to be a real issue it still caught my eye when I was glancing at the diff (I was basically scrolling through it when I noticed this) > > This makes me wonder however how wise it is to update the copyright > notices in every single file in the repo. Why do we need this? Why not > abolish the practice and live forever with most files having copyright > 2015? (Only new files would have newer years in their copyright > notices, I guess.) Does this provide us with any kind of protection, > and if so against what, and how does it protect us? Since we have a > very clean git history which shows us the exact provenance of every > single line of source code, and we have excellent mail archives that > show where each line came from for all development in the last decade, > this single line of (C) boilerplate in each file seems completely > pointless. I dont know why it is really needed but maybe for the files that have identical copyrights one could simple reference to the COPYRIGHT file we already have in the tree? Stefan -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers