Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:104174 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 6106 invoked from network); 5 Feb 2019 14:36:50 -0000 Received: from unknown (HELO mail-ot1-f66.google.com) (209.85.210.66) by pb1.pair.com with SMTP; 5 Feb 2019 14:36:50 -0000 Received: by mail-ot1-f66.google.com with SMTP id w25so4944452otm.13 for ; Tue, 05 Feb 2019 03:17:58 -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=DDZkOvEOHKBx+EXrc7rkyV5oeqx39QmVpMG5zs+wAQI=; b=cTl7c4YLJSSAEr1ORGrVtzuKtHPN+919tlrMC3y6P19N9+mYeP+K7j7s6fQx8RdaPZ e2Ycfn8WgNbOiB+DMcvMvOzBqXM7GY1S7zUatnwoF/PIrftiBWemIybqPvIF7rm9Q+Av yhxWjVjwwmM0tquMMHv4UirqQP1JFgtA6WYhFvln2BcLxcH15AF2GFGg2kIhQ+phI1Xj NdR/Xx30TBMl0z3eWKURbD8h3ZghLdyhzjBGaZqqOFeX8x0XbwM8I7kpjC2wh01Nk88K crDxtAmPtRnjSy1w1w4XCtMi4MXzUuE59mHq8Azuq4rKtHW7gUQ2eIt6Tow0e7HJJbOB KcKw== 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=DDZkOvEOHKBx+EXrc7rkyV5oeqx39QmVpMG5zs+wAQI=; b=OmwG7ecaHA3rbYZl/nJzWzNfq/gUiQosMfK8U7F0Zp0STeIB/UbKXdKStH5xjWIV9o JAEjlmL+Odb8vMW7HoFZwXwfvQWnMAG9afzxMr9lhtFCZ0iNJMpptM760jQ7FltaYyqX ASqvv5ESBH4aBmn0gmNZ3bwN9VWqY+OR/UrmOHNUQBPtRcb5feNRrKpYZ/LfJnq4e9VK uudr4mcYAIpmz4FQUP7XSB6JdhzvOvA47g16KCkXVKgZk2nABIB5qsas4KLTGOnI0mdc SczmDxyswTelS++gqMpLfayg26hOLUkV3FU/RLVzsH33z/4dd7S96hChtckXncOqd8g0 YAfw== X-Gm-Message-State: AHQUAub2ElFePc3FuuL64AC2McbbOnKpxt5Xtszl7o+nfhCFcHT+0VUx oEjqrkE5YebE+s0eGkUUB1kGwEm5hT/wD9d2JS0= X-Google-Smtp-Source: AHgI3IanJgOB8/+BvPUWr1M4Pdfmf7Nyz0OFpiapEiV9W9MRzLnx7jsdsFu+jjITADXgPNTOKet8W/JVbaBbXI8ZY5Q= X-Received: by 2002:a9d:7059:: with SMTP id x25mr2403186otj.35.1549365477482; Tue, 05 Feb 2019 03:17:57 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Tue, 5 Feb 2019 12:17:45 +0100 Message-ID: To: Derick Rethans Cc: Zeev Suraski , Nikita Popov , PHP internals Content-Type: multipart/alternative; boundary="000000000000e9a6e6058123c2ab" Subject: Re: [PHP-DEV] Simplify license headers From: peterkokot@gmail.com (Peter Kokot) --000000000000e9a6e6058123c2ab Content-Type: text/plain; charset="UTF-8" On Mon, 4 Feb 2019, 02:32 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 > The pull request with a quickfix [1] to sync the year ranges will be merged this weekend if everyone's ok with this... So now, only the LICENSE file optionally gets bumped the year ranges and that simplifies managing files significantly for the better. Thank you. [1] https://github.com/php/php-src/pull/3791 > --000000000000e9a6e6058123c2ab--