Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:104090 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 82017 invoked from network); 4 Feb 2019 04:51:50 -0000 Received: from unknown (HELO mail-oi1-f193.google.com) (209.85.167.193) by pb1.pair.com with SMTP; 4 Feb 2019 04:51:50 -0000 Received: by mail-oi1-f193.google.com with SMTP id m6so10220376oig.11 for ; Sun, 03 Feb 2019 17:32:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=A6eQNWw6hNVsvxhq9B/FFw/EkY65gvcftv4ps803J0A=; b=Q4T7vmSY7SyggQDi8ATKbs91d7pmvzZRH/NYNt/ElkfzqghQZAhPGZUa2LDvX26mYb HhlyynjqVa1Dzz8xDqjq28ERRtuyvqFm3eAe4dXsrp1C8XftftV0zr10TM3TA2FOiXD4 AHtyR0XTs+s8KzoFG16Y2S7NjVgMn1yELOoczdaARv1jG60RZgVWt1HPaCSD8meEFeRh 2sR4wKkRB8WV9mKhLS4YKK+1AZmt9EziTRAiQKJ8UKo5sS2EJWGNQopWN2NLiflPu9ad 8dczgmOhrKlCWgdbeVq6GokorKW14ooMtcFNOqoMNEebXAEMUbNSsocmh9P3+mDGQm/N KgQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=A6eQNWw6hNVsvxhq9B/FFw/EkY65gvcftv4ps803J0A=; b=d+m/bwS/CLTgMcLs6W7bqhKK+y6uS6mLoxW7WTNpmakpAvJqEUsZSXgQWcmnRVQF/L k2BW2cb40NXUon+Uux+3y0nXUUzLimk//juTJlYpd3o9v96+Qh1uu59U6n9R1coSAJOw QFYYB2GzbVKnRCB5VgcylNUSO29xYFaXutVrXmCdmgmTFV7w/5RLf6xmbe7skoTB2zCP LMb4XIn3XBe+wk6D8Tv90hYOWoaSHIAbMFOR3kUYXXrjMuDlK7wnOVGb1M6Y/LvwRKQk G8HxSZyqoJ8fFxxPcyd+BCUnW2ub+SyblqCuD4npX/RhoPnVkVygiiDDCLJJQ4ZIYYhF 3Dlg== X-Gm-Message-State: AHQUAubpi4rbzsUO1hWInoQNOhs8Ba5Yyj8+k4n3nD5UWN/EcP9CGuGD V8K2dxHAPKNQ1QroU0gNtLA0ll2z6Ea7YWMBiic= X-Google-Smtp-Source: ALg8bN4OquUn401vYoyQlwJ5Srj32lKX04MvVVFAWhLUNVB5qWPwwIVn6wQuw76yg4SpL2UuGXiHEEIoYduovkbX/k0= X-Received: by 2002:aca:d9d7:: with SMTP id q206mr25752168oig.202.1549243955728; Sun, 03 Feb 2019 17:32:35 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Mon, 4 Feb 2019 02:32:23 +0100 Message-ID: To: Derick Rethans Cc: Zeev Suraski , Nikita Popov , PHP internals Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] Simplify license headers From: peterkokot@gmail.com (Peter Kokot) On Wed, 30 Jan 2019 at 13:57, Derick Rethans wrote: > > On Mon, 28 Jan 2019, Zeev Suraski wrote: > > > > > > I would like to make two changes to this header: > > > > > > 1. Change "PHP Version 7" line to just "PHP", to avoid the necessity of updating this for > > > new major versions. I don't think the version information here is particularly useful to > > > anybody. > > > > I don't mind that much, but I don't see any issue with keeping it the way it is either. It does look nicer the way it is now IMHO, and the cost associated with changing it twice a decade is, well, not very substantial. > > > > > 2. Remove the "Copyright (c) 1997-2018 The PHP Group" line. Apart from requiring a > > > yearly update, this line is actually complete misinformation, because the PHP group > > > does *not* hold the copyright for the PHP source code. This would require a copyright > > > assignment agreement on behalf of all contributors, which we do not collect. > > > > > > We could also just drop the header entirely, I'm just proposing these two changes as > > > the path of least resistance towards getting the "annoying" parts removed. > > > > I'm no lawyer, but I do believe a case can be made for claiming that a > > person putting code into files with the header 'Copyright (c) XYZ', is > > in fact implicitly assigning copyright to XYZ. So while it's not as > > strong as an explicit copyright assignment, and while it was never > > tested in court (and hopefully never will be) - I do see value in > > keeping it. I certainly don't see a reason to change it after 20 > > years where it didn't seem to bother anybody, unless there's a strong > > reason to do that, which currently I don't see. > > It could be changed to "1997-present" though, in which case it doesn't > need updating once a year (and messing up history in VCS). > > cheers, > Derick > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > Hello, I've prepared quick pull request [1] that fixes the missed headers in source code files and additionally bumps or changes the year range on other places. Questions: 1.) What should "php -v" output regarding copyrights and year ranges? 2.) What should "man php" include under the COPYRIGHT section regarding the year ranges? 3.) Similarly, should there be a common pattern for places like phpinfo() output? Thanks. [1] https://github.com/php/php-src/pull/3791 -- Peter Kokot