SPDX license list import Rake task
- Tier: Ultimate
- Offering: GitLab Self-Managed
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 approval 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=productionTo perform this task in the offline environment,
an outbound connection to licenses.json should be
allowed.