Skip to content

[Feature]: Allow custom license header for app codeΒ #194

@eriksven

Description

@eriksven

Description

Among other things, the pre-commit task checks that all relevant files in the repoisoty contain the license header defined in license-header.txt . For the files provided by Eclipse Velocitas project that are not touched by a user of the template this might be ok. However, for the application in app/src a developer most likely wants to set another copyright notice or even other license.
So there should be a way to do this without having the pre-commit check failing or rewriting the license header to header from Eclipse Velocitas project.

Suggested Solution

Allow the definition of a second license file which is only enforced for files in app/src.

Alternatives

  • Disable the license check at all, at least for the app directory
  • Enable the license check only for *.py files and thus only for the application. This assumes that the repository does not contain any other *.py files maintained by the Eclipse Velocitas team.

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    πŸ“‹ Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions