Skip to content

Stop using Licensee gem in license detection

Toon Claes requested to merge toon-no-more-licensee into master

What does this MR do and why?

It removes the use of the Licensee gem when parsing the license information of a repository. It instead uses all repo license data provided by Gitaly.

We cannot remove the Licensee gem completely as it also used to provide templates to add a LICENSE through the web UI.

Related to: gitaly!4198 (merged)

Closes: #341126 (closed)

How to set up and validate locally

  • Validate adding a license through Web Editor still works
  • Validate the license is correctly detected on existing repositories

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Toon Claes

Merge request reports