ansible / mazer

Experimental Ansible Galaxy Content Manager
GNU General Public License v3.0
114 stars 18 forks source link

Support license list in galaxy.yml #198

Closed alikins closed 5 years ago

alikins commented 5 years ago

Need to implement changing 'license' value from a single string item to being either a string item that is valid spdx id, or a list of string items that are valid spdx items.

license A one or many licenses of a collection.

To specify a common license (e.g. MIT or 3-Clause BSD) a valid SPDX license identifier should be used.

license: "MIT"

For multiple licenses user should specify them in a list

license:

  • BSD-3-Clause
  • MIT

For custom license user should use license_file attribute to specify a location of a custom license file. A custom license file should be included in a package during build process.