Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
S
Software Quality Assurance
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 10
    • Issues 10
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • id2
    • S
      Software
    • S
      services
  • FAIR
  • Software Quality Assurance
  • Issues
  • #59

Closed
Open
Opened Oct 16, 2020 by Hannes Fuchs@hfuchsOwner

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
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: id2/software/services/fair/software-quality-assurance#59