Commit Graph

137 Commits

Author SHA1 Message Date
Aleksandr Vodyanov
346c3a9fa5 Merge pull request '[DO-467] add new extensions for check' (#4) from feature/DO-467--add-check-license into master
Reviewed-on: https://git.avroid.tech/Tools/Addlicense/pulls/4
2024-05-21 18:35:23 +03:00
aleksandr.vodyanov
354e6707bb fix indents 2024-05-17 16:51:02 +03:00
aleksandr.vodyanov
683554886b up 2024-05-17 16:49:45 +03:00
aleksandr.vodyanov
73cc0f78f5 up 2024-05-17 15:12:04 +03:00
aleksandr.vodyanov
973d52fa7c up 2024-05-16 18:57:04 +03:00
aleksandr.vodyanov
fa159a0c77 up 2024-05-14 12:31:47 +03:00
aleksandr.vodyanov
33190ea6c3 up 2024-05-14 12:29:00 +03:00
aleksandr.vodyanov
b1009a7e71 up 2024-05-14 12:27:26 +03:00
aleksandr.vodyanov
97e873c729 up 2024-05-13 18:54:01 +03:00
aleksandr.vodyanov
20f7a4078b up 2024-05-13 18:37:26 +03:00
aleksandr.vodyanov
1e0ac53420 up 2024-05-13 18:35:03 +03:00
aleksandr.vodyanov
bc2ae7b9b2 add new extensions 2024-05-13 18:29:10 +03:00
Rustam Tagaev
608fc6cfa2 Merge pull request '[DO-169] replace image' (#3) from feature/DO-169/add_build into master
Reviewed-on: https://git.avroid.tech/Tools/Addlicense/pulls/3
2024-04-12 12:26:02 +03:00
Rustam Tagaev
3539bf429f add docker-hub-proxy for image 2024-04-11 17:57:31 +03:00
Rustam Tagaev
b2f784b874 Merge branch 'master' into feature/DO-169/add_build 2024-04-11 16:15:54 +03:00
Rustam Tagaev
8125693d34 replace image 2024-04-11 15:26:34 +03:00
Rustam Tagaev
67cac49ff0 Merge pull request '[DO-169] add amd64 for darwin' (#2) from feature/DO-169/add_build into master
Reviewed-on: https://git.avroid.tech/Tools/Addlicense/pulls/2
2024-04-10 19:15:00 +03:00
Rustam Tagaev
dde9294ada add amd64 for darwin 2024-04-10 19:13:15 +03:00
Rustam Tagaev
934ee84ed7 Merge pull request '[DO-169] add makefile and change golang version' (#1) from feature/DO-169/add_build into master
Reviewed-on: https://git.avroid.tech/Tools/Addlicense/pulls/1
2024-04-10 18:48:34 +03:00
Rustam Tagaev
20fad8f28c add makefile and change golang version 2024-04-10 18:47:03 +03:00
Stanislav Gabenov
65deee00fd [DO-169] Modify to add template with Avroid license 2024-04-10 14:47:27 +03:00
Marc
4caba19b7e Merge pull request #146 from sjswerdlow/j2Patch
Adding support for the j2 format.
2023-08-01 21:16:29 +01:00
sjswerdlow
183e474cde Adding support for the j2 format. See: https://tedboy.github.io/jinja2/templ5.html 2023-07-25 16:24:50 +00:00
Marc
b10ac1c128 Merge pull request #145 from pmeric/patch-1
Support *.BUILD files
2023-06-13 22:23:46 +01:00
Marc
ef92449ebb Merge branch 'master' into patch-1 2023-06-13 22:23:31 +01:00
Marc
729a481cea Merge pull request #144 from kupiakos/master
Add support for TOML configuration files
2023-06-13 22:20:20 +01:00
Peter Meric
e88333e754 Support *.BUILD files
bazel build files for external repos -- eg. used in conjunction with `http_archive` -- are often named <repo>.BUILD
2023-05-26 17:28:19 -04:00
Alyssa Haroldsen
5c8c44041a Add support for TOML configuration files
This is used in many contexts, including being the format used by
Cargo, the Rust package manager.
2023-04-11 19:14:34 -07:00
Jason Field
af4d9cf5dd fix(readme): Update the docs to show current year
The default for `year` is actually the current year, so this will update the documentation to reflect that
2023-01-28 13:40:28 -08:00
Marc
dc31ac9ffc Merge pull request #135 from XuehaiPan/fix-apache-spacing
fix: fix extra spacing in Apache License template
2023-01-18 13:27:11 +00:00
Xuehai Pan
66bad5e563 fix: fix extra spacing in Apache License template 2023-01-18 13:42:46 +08:00
Mike Verbanic
cfe103d3f1 update terraform to use hash as comment per recommended guidelines (#137)
* update terraform to use hash as comment per recommended guidelines (https://developer.hashicorp.com/terraform/language/syntax/configuration\#comments)

* update golanci-lint version in linter.yaml per PR #132
2023-01-16 09:07:57 -08:00
Omkar Ghanekar
53d978ad7e Add support for bazel BUILD files 2022-10-10 19:30:07 -07:00
Anuraag Agrawal
04bfe4ee9c Don't render extra space when year is not set 2022-08-26 08:00:37 -07:00
Muhammad Talal Anwar
09bb508a55 README: update usage options 2022-08-26 07:57:04 -07:00
Muhammad Talal Anwar
eadb73ac0d Only log skipped files in verbose mode 2022-08-26 07:57:04 -07:00
Will Norris
6c3d2501f2 docs: provide simple example in README 2022-07-30 09:21:50 -07:00
bryanloz-xilinx
d40d757b7c Update README.md
Previous documented command was providing docker folder mount option to addlicense as arguments... that was incorrect. Folder should be mounted before specifying the docker image to run.
2022-07-22 11:08:24 -07:00
Will Norris
13e73a7f8f chore: bump action versions
I think this should fix the unicode import error in https://github.com/google/addlicense/actions/runs/2198105433
2022-04-21 16:21:41 -07:00
Will Norris
8cfc1b5425 chore: fix govet error on trailing newline
conversation in golang/go#18085, but basically a single trailing newline
is a govet error, but two are not.
2022-04-21 16:21:41 -07:00
Ben Ford
758687b5e3 Add support for Puppet manifests (#92) 2022-04-20 13:21:18 -07:00
Will Norris
2b44b36759 feat: add support for cmake files
Co-authored-by: Sergii Baitala <sbaitala@gmail.com>
2021-11-15 07:55:21 -08:00
Will Norris
90da58c801 refactor: prep for additional licenseHeader logic
this refactors licenseHeader to make it easier to add additional logic
to determine prefix, beyond just file extension.
2021-11-15 07:55:21 -08:00
Carlos Boneti
fc41b40a66 Added .pl to the list of supported files (#98)
* Added .pl to the list of supported files

Includes support for Perl (.pl) file, treated in the same way as shell scripts.

* Adding .pl to the relevant test case
2021-10-27 18:51:01 -07:00
Will Norris
d1984d070c docs: update go install instructions
Fixes #96
2021-10-02 09:57:31 -07:00
Will Norris
944049f284 docs: update docker instructions to include GitHub container registry 2021-08-17 06:31:36 -07:00
Will Norris
2fe3ee9447 fix: use block-style comments for java, scala, kotlin
fixes #46
2021-08-14 14:09:22 -07:00
Sergii Baitala
9cc7ec3e36 Support WiX files 2021-08-10 10:04:08 -07:00
Will Norris
d43bb61fdf docs: reflect minimum go version in README 2021-08-09 12:52:40 -07:00
Will Norris
4f7a460357 support ignoring file or directories
use the doublestar library to support pattern matching of files or
directories to ignore. This replaces (and deprecates) the previous
-skip flag which only supported file extensions.
2021-08-09 12:52:40 -07:00