Closed JoshuaLuckers closed 5 years ago
I am pretty sure it happens because GitHUb detects that the text is not identical to the template.
GitHub scheduled it to be redetected. Sadly it did not seem to work and I've contacted GitHub Support about it.
Any news about this?
Support mailed me back:
If your repository is using a license that is listed on the Choose a License website and it's not displaying clearly at the top of the repository page, it may contain multiple licenses or other complexity. Our team wrote more abut this here: https://help.github.com/articles/licensing-a-repository/#detecting-a-license
My guess is that our systems are also detecting that COPYRIGHT file in the root: https://github.com/modxcms/revolution/blob/2.x/COPYRIGHT
Could you move that file into its own folder and see if that helps detect the LICENSE in the top right corner?
Ping @opengeek
Do we need both a copyright and a license?
@JoshuaLuckers Is it possible to check that on your fork?
I've experimented on my own repo (see last commits https://github.com/Alroniks/modx-foo-bar-extra/commits/master) and removing copyright file solves the issue. I've tried to repeat the full cycle with files in MODX repo: created copyright file at first, after created license file with some strings of text, after selected GPL v2 license from suggested by GitHub during editing the file, and nothing happened. But when I removed copyright file - license mark appeared.
Thanks for testing @Alroniks! If we remove the copyright file the copyright headers have to be modified again..
Would they? Why? The license say the same as the copyright doesn't it?
WTAF!?
@OptimusCrime in the file headers there are references to the LICENSE and COPYRIGHT file.
@opengeek Can we remove or move the COPYRIGHT file?
There is a view license tab now. I’m fine with the solution we have now.
Summary
As noted by @OptimusCrime in PR #13993 the repo is not showing the license being used.
More info about licensing a repo can be found here.
Step to reproduce
Check the tabs of this repo.
Observed behavior
No tab with the license being used.
Expected behavior
A tab showing the license being used.
Environment
GitHub