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
CrazyMax
99ebc9c9db
Update Dockerfile handling to keep parser directives at the top
...
Signed-off-by: CrazyMax <google@crazymax.dev >
2021-08-09 12:50:07 -07:00
CrazyMax
5be3beef79
Add hcl extension
...
Signed-off-by: CrazyMax <google@crazymax.dev >
2021-08-09 12:45:59 -07:00
Will Norris
b431030b15
use text/template to avoid HTML escaping
...
Co-authored-by: Roy O'Young <roy2220@outlook.com >
Closes #57
2021-08-09 11:36:20 -07:00
Will Norris
058aeeb7be
build and publish release artifacts for git tags
2021-08-09 11:23:59 -07:00
Will Norris
366936ef00
tests: add unit tests for header and template funcs
...
Much of this is being tested with the existing file-based tests in
testdata/*, but this moves us toward a much more targetted and simpler
test structure.
2021-08-09 11:20:27 -07:00
Marc
ef04bb38a1
Merge pull request #82 from willnorris/docker
...
fix building docker image
2021-07-29 16:35:08 +01:00
Marc
0f8d403905
Merge pull request #81 from willnorris/actions
...
migrate CI to GitHub Actions
2021-07-29 07:38:33 +01:00
Will Norris
e59616150a
fix building docker image
...
Use go modules instead of dep. Use two stage build to build a minimal
(4 MB) application image.
Fixes #51 #71 #78
2021-07-27 23:25:45 -07:00