Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 961 Bytes

spdx.md

File metadata and controls

24 lines (18 loc) · 961 Bytes
stage group info
none
unassigned
To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#assignments

SPDX license list import (PREMIUM ONLY)

GitLab provides a Rake task for uploading a fresh copy of the SPDX license list to a GitLab instance. This list is needed for matching the names of License Compliance policies.

To import a fresh copy of the PDX license list, run:

# omnibus-gitlab
sudo gitlab-rake gitlab:spdx:import

# source installations
bundle exec rake gitlab:spdx:import RAILS_ENV=production

To perform this task in the offline environment, an outbound connection to licenses.json should be allowed.