addlicense icon indicating copy to clipboard operation
addlicense copied to clipboard

A program which ensures source code files have copyright license headers by scanning directory patterns recursively

Results 79 addlicense issues
Sort by recently updated
recently updated
newest added

Although not as prevalent as they used to be, we still have some `.htm` files (otherwise identical to HTML), so I figured I'd add support for those, too.

This adds support for the `.ru` extension, which is idiomatically used for `config.ru` files in the Rack ruby framework. This specifically requires adding an additional element to the `head` slice...

HashiCorp Nomad users occasionally use the (discouraged) `.nomad` extension for HCL-based configurations. Likewise, `.tfvars` is frequently used in the Terraform realm. Both of these file formats follow the same form...

This encompasses all `.ps1` files, as well as module manifests and data files using `.psd1` and `.psm1` extensions.

Hi, can `addlicense` support adding the license header to .txt, .patch and .tmpl files? Or is it intentional to not support these use cases? We want to use `addlicense` to...

On some runs, freuqnetly enough, this completely erases the existing code, and replaces it with license text. My guess is that there's perhaps a race condition somewhere in the code....

Signed-off-by: Tim 'mithro' Ansell

Ensure makefiles also get license headers.

This PR changes the default behavior of logging all skipped files to instead logging the skipped files only in verbose mode (with `-v` flag). ### Motivation When a ton of...

I used the command: ``` go get github.com/google/[email protected] ``` And the download started. However, it was interrupted by thiss error message: ``` build github.com/google/addlicense: cannot load io/fs: malformed module path...