[go: up one dir, main page]

Skip to content

Bug: LICENSE.TXT license declaration is showing up as the wrong license value in the Project information panel

Summary

Users declare licenses for their projects via the LICENSE.TXT file in GitLab. Users are required to copy and paste the license text, which is saved in the LICENSE.TXT file and propagated to the Project information side drawer. We should read from the license file and propagate the correct license name in the Project information side drawer.

Currently, we are inaccurately showing the license name, even though it has been properly declared by the user via the LICENSE.TXT file.

image.png

Steps to reproduce

  1. Reference this public project
  2. Note that the license is GPLv3 only in the LICENSE.TXT
  3. Reference the project information drawer and see that the license is being displayed as GNU General Public License v3.0 or later, when it should be GPLv3 only.

Example Projects

What is the current bug behavior?

GitLab is not matching the license name to the license that is declared in the LICENSE.TXT file.

What is the expected correct behavior?

GitLab is able to accurately match the license name to the license that is declared in the LICENSE.TXT file.

Relevant logs and/or screenshots

image.png

Edited by John Crowley