[go: up one dir, main page]

Skip to content

Add support for dual-licensed projects

GitLab doesn't display the licenses in project header when dual-licensing. MIT/Apache-2.0 dual-licensing is popular in Rust's ecosystem. GitLab should support dual-licensed projects.

A dual licensed project will have two license files (e.g LICENSE-MIT and LICENSE-APACHE files). The licensee library appears to support dual licensed projects.

Example: https://gitlab.com/ricvelozo/brids-rs

Proposal

Show both licenses on the project page

Before After
Captura_de_tela_de_2018-06-08_22-26-10 Captura_de_tela_de_2018-06-08_22-28-21

Questions:

  • where does it link to?
  • what do we show when viewing one of the license files? do we show a link to the other license?

Links / references

https://github.com/benbalter/licensee/pull/203

Edited by James Ramsay (ex-GitLab)