Skip to content

Conversation

petk
Copy link
Member

@petk petk commented Jul 29, 2019

Fixes https://bugs.php.net/bug.php?id=78349

The PCRE library is noted in short on two places:

  • README.REDIST.BINS
  • CONTRIBUTING.md

so contributors know where to send patches to upstream and users are
now also more familiar with its LICENSE and basic info. Other
documentation related files are not included since they might get
outdated soon. Links to upstream location is better way to note its
usage, their authors and its license.

P.S: LICENSE file is bundled from the upstream PCRE 10.33 release

The PCRE library is noted in short on two places:
- README.REDIST.BINS
- CONTRIBUTING.md

so contributors know where to send patches to upstream and users are
now also more familiar with its LICENSE and basic info. Other
documentation related files are not included since they might get
outdated soon. Links to upstream location is better way to note its
usage, their authors and its license.
@petk petk added the Bug label Jul 29, 2019
@theodorejb
Copy link
Contributor

The file should be spelled LICENSE, not LICENCE.

@petk
Copy link
Member Author

petk commented Jul 29, 2019

The file should be spelled LICENSE, not LICENCE.

Yes, good one. Renamed. The pcrelib otherwise uses non-American spelling for this file - LICENCE:
https://github.com/rurban/pcre

@nikic
Copy link
Member

nikic commented Jul 30, 2019

If PCRE uses the LICENCE spelling itself, it might be better to keep it, so this is just a file shipped without modification -- the filename reference in README.REDIST.BINS just needs to be consistent with that.

@petk
Copy link
Member Author

petk commented Jul 30, 2019

Hm, yes. Very true... I don't like this actually. Adding a new file "type" in the repo is not something I want to do (yes, that pedantic :). I was also thinking about adding a README.md file in the ext/pcre then with a short info about pcrelib directory and what it is etc. But the contributing file with its directory structure is enough from my point of view. I think php-src should aim more in the direction of using the system's pcre library if that is even possible. Case is here that php-src is still not so much optimal regarding the project root and all the files that are in it. But that is a topic for some other time...

If it's ok with everyone I would only update that README.REDIST.BINS with the latest pcre license content then...

@petk
Copy link
Member Author

petk commented Sep 8, 2019

Applied via a8c97f0 (update in README.REDIST.BINS only).

@petk petk closed this Sep 8, 2019
@petk petk deleted the bugfix/PHP-78349 branch September 8, 2019 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants