Need help (Apply License)
I tried to use the Apply License functionality, but I don't get it running.
Config:
# OPTIONAL, to determine for which files the license header should be with the file
comment in file:
- '[a-z]+\.py$'
- '.*\.js$'
- '.*\.scss$'
# MANDATORY, to add a description of the whole software to the header
description: 'DataHub Stakeholder View developed within the Helmholtz DataHub Initiative by GFZ and UFZ.'
# OPTIONAL, to skip over files for applying the license header
# usually the things in .gitignore
ignore paths:
- '.idea/.*'
- '.sqa/.*'
- 'venv/.*'
- 'stakeholderview/.*/assets/.*'
- 'stakeholderview/static/stakeholderview/eqmonitor/src/js/data/.*'
# MANDATORY, to set scopes for multiple licenses in a project
licenses:
# MANDATORY, all files, that do not go into another scope, go here
default:
# MANDATORY, the copyright holder of the file that the header is applied to,
# additionally it is used for the entry in the README.md
copyright: 'asdf'
# MANDATORY, unique identifier used for licenses
spdx-identifier: 'HEESIL-1.0-or-later'
error:
config for "apply-license" is not valid
Key 'licenses' error:
Key 'default' error:
Key 'spdx-identifier' error:
valid_spdx_identifier('HEESIL-1.0-or-later') should evaluate to True
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information