On Thu, Oct 17, 2013 at 9:53 PM, Remi Collet <[email protected]> wrote: > Le 18/10/2013 02:23, Christopher Jones a écrit : >> >> >> On 10/14/2013 04:34 AM, Anatol Belski wrote: >>> Hi, >>> >>> there are two improvements just implemented to the PECL website. >>> >>> I >>> >>> Every package is required to have LICENSE or COPYING to be present in >>> the root of the package. The goal is to enforce the conformance with at >>> least PHP and BSD licenses. Where by no explicit check for exact license >>> type is done, it's considered as a good practice to include the license. >>> Also, the licenses will be included into the windows binary packages. To >>> add that file to the tarball, just add a line like this to the root dir >>> in the package.xml >>> >>> <file name="LICENSE" role="doc" /> >> >> >> This change just blocked me from releasing OCI8 on PECL. OCI8 has >> traditionally had the license information >> (http://www.php.net/license/3_01.txt) mentioned appropriately in the >> source code and package.xml files. > > What is the cost for adding this file ? > >> I only recall limited discussion [1] around this topic and no >> discussion of hard enforcement. >> >> The upload form site shouldn't block valid uploads. It should do one >> of: >> >> 1. Only warn about a missing file > > Once again, this is enough for source distribution, not for binary > distribution. > > >> 2. Recognize the package.xml license, perhaps just a special case >> recognizing the PHP license: >> <license uri="http://www.php.net/license">PHP</license> >> (This would be my preference.) > > I don't think this is possible. > Which version of the License ? > >> 3. They can decide not to make distributions if they can't determine >> the license in a usable form for their use. > > Yes, this is the solution.
Am I understanding this correctly... If I don't care for Windows, and don't include a LICENSE file, then the peclweb package upload will still tell me to bug off and reject the package? Worst Idea Ever. If Windows needs it and it doesn't exist, then skip the build. Don't pretend to be the only platform out there and reject perfectly valid package that has worked just fine for over a decade now. -Hannes -- PECL development discussion Mailing List (http://pecl.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
