php-pds / skeleton

Standard PHP package skeleton.
Creative Commons Attribution Share Alike 4.0 International
2.32k stars 167 forks source link

License rules do not respect the LGPL #28

Closed Bilge closed 7 years ago

Bilge commented 7 years ago

In light of these poorly-researched rules you should not be making rules about licenses at all. That is, rather than attempting to make amends, simply remove any rules regarding licensing because you cannot construct such rules in a useful manner, particularly when you spare no effort to research the subject.

pmjones commented 7 years ago

Hi @Bilge --

According to the GNU how-to the license should be named COPYING

Yes; I see the GNU how-to uses the phrasing "usually" and "should" for that recommendation. The filename LICENSE is therefore not prohibited by the how-to.

GitHub's license-detection software

Noted; however, this publication tries to be non-tooling-specific.

rather than attempting to make amends, simply remove any rules regarding licensing

Hard to make that happen, per the research, which shows LICENSE files occurring at a high rate.

But, and contra your preference, there might be a way to add a "MAY" clause to the LICENSE rule, specifically allowing for 2 files when particular licenses "MUST" be in 2 files.

Bilge commented 7 years ago

Hard to make that happen, per the research, which shows LICENSE files occurring at a high rate.

This makes absolutely no sense. You have proven no relevant research has been conducted, you have merely pulled some stats and observed some usage patterns. Putting that aside, the reason you should be removing all rules about licensing is because there are no meaningful rules to be applied to licenses because they are freestyle text. Turning empirical patterns into rules doesn't add any value, it just tells those who are conforming to continue and those who are not to become conformist. Such an attitude has no place in licensing.

pmjones commented 7 years ago

you have merely pulled some stats and observed some usage patterns

Yes, that's correct.

there are no meaningful rules to be applied to licenses because they are freestyle text

Also correct. For what it's worth, the publication says nothing about the text of the license, only that the file must be named "LICENSE".

Such an attitude has no place in licensing.

The publication isn't about "licensing" per se, only about PHP package skeletons.

(FWIW, I do appreciate your prior support on other topics.)

Bilge commented 7 years ago

(FWIW, I do appreciate your prior support on other topics.)

I don't know what you're talking about as I've never supported this effort, but if you're not inclined to remove licensing rules there's no value to this discussion, and for that reason, I'm closing it.

Revisor commented 7 years ago

For what it's worth, I think "COPYING" is a really bad name for a license file and I see no reason why a file named "LICENSE" couldn't contain the text of a GPL. If it's a two-part license (what would be the reason for this?), the first part can still be in the file called LICENSE.

OdinVex commented 1 year ago

Apparently the validator only looks for the first license-like file it can encounter and assumes that is the license for everything. Some of us use COPYING and LICENSE, not to mention some files are being mistaken for licensing. The desire to match by regex for licenses instead of using the pre-determined defacto of COPYING and LICENSE (etc) is baffling.