nifty-gui / nifty-gui

Your Open Source Java OpenGL GUI. Interactive user interfaces for games or similar applications. LWJGL, JOGL, JME or Java2d rendering.
http://nifty-gui.github.io/nifty-gui/
Other
246 stars 78 forks source link

[BUG] GitHub not accepting/identifying the LICENSE #483

Open hoijui opened 4 years ago

hoijui commented 4 years ago

Same problem as with artemis-odb here.

if GitHub detects more then one LICENSE file, it decides to not know which is the projects proper license. Their recommendation is, to have only one license file, and put the more complex situation somewhere else (for example the README).

void256 commented 4 years ago

Thanks for the information!

If I understand the problem correctly, then GitHub doesn't understand our "license.txt" and prefers a "LICENSE" file in the root of our source tree. Simply renaming our existing "license.txt" file to "LICENSE" should make GitHub happy then. Can you confirm?

Besides that I'm not aware of other "LICENSE" files in our project. So I suppose your remark concerning multiple "LICENSE" files does not really apply here?

hoijui commented 4 years ago

you have LICENSE.others.md and license.txt in the source root. GitHub detects them both as LICENSE files, even though it shows license.txt when you click on the View license text, right above the green Clone or download button. So you would have to remove the LICENSE.others.md file, for it to work properly. :/ GitHub suggest doing this, and writing about the licenses of others in your README. I personally am not so thrilled about it, but well... For my own, affected projects, I am adding SPDX license identifiers in the source files and the README.