Skip to content

Feature request: updating license text on files that already has a license header #173

@tomasaschan

Description

@tomasaschan

In case license headers have already been generated, but with incorrect content, or in cases where e.g. copyright owner should change (say, in the event of a handover of a project from one owner to another), it would be very useful to be able to rewrite the headers instead of just adding them where they are missing.

I propose a flag -force to enable this - so the default behavior stays the same, but if one passes -force one also gets changes in any file (matching selectors in other parameters, of course) where the current license headers do not match whatever parameters were passed.

If this sounds like something you'd accept, I can whip up a PR, but given that e.g. #60 (which was justified differently, but worked similarly) was closed without merging, I'd like some indication that it'll be accepted before I start working on the feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions