diff --git a/.github/workflows/docs-plantuml-check.yaml b/.github/workflows/docs-plantuml-check.yaml deleted file mode 100644 index b72047c..0000000 --- a/.github/workflows/docs-plantuml-check.yaml +++ /dev/null @@ -1,41 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. - -name: PlantUML SVG Diagrams - -on: - pull_request: - paths: - - 'docs/*.plantuml' - - 'docs/*.svg' - push: - branches: - - main - -jobs: - check-plantuml-svg-diagram-consistency: - name: Checking consistency of diagram files - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - - uses: actions/setup-java@v2 - with: - distribution: 'adopt' - java-version: '11' - - - run: make verify-docs \ No newline at end of file diff --git a/CHANGES.md b/CHANGES.md index 88f3fad..3fe19f2 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,33 @@ +## 0.3.0 + +- Dependency License + - Fix license check in go library testify (#93) + +- License Header + - `fix` command supports more languages: + - Add comment style for cmake language (#86) + - Add comment style for hcl (#89) + - Add mpl-2.0 header template (#87) + - Support fix license header for tcl files (#102) + - Add python docstring comment style (#100) + - Add comment style for makefile & editorconfig (#90) + - Support config license header comment style (#97) + - Trim leading and trailing newlines before rewrite license header cotent (#94) + - Replace already existing license header based on pattern (#98) + - [docs] add the usage for config the license header comment style (#99) + +- Project + - Obtain default github token in github actions (#82) + - Add tests for bare spdx license header content (#92) + - Add github action step summary for better experience (#104) + - Adds an option to the action to run in `fix` mode (#84) + - Provide `--summary` flag to generate the license summary file (#103) + - Add .exe suffix to windows binary (#101) + - Fix wrong file path and exclude binary files in src release (#81) + - Use t.tempdir to create temporary test directory (#95) + - Config: fix incorrect log message (#91) + - [docs] correct spelling mistakes (#96) + ## 0.2.0 - Dependency License diff --git a/Makefile b/Makefile index c809572..a6f34a6 100644 --- a/Makefile +++ b/Makefile @@ -85,7 +85,7 @@ clean: -rm -rf "$(RELEASE_SRC)"* .PHONY: verify -verify: clean license lint test verify-docs +verify: clean license lint test release-src: clean -mkdir $(RELEASE_SRC) diff --git a/docs/header_fix_logic.svg b/docs/header_fix_logic.svg index 7a718a7..647d359 100644 --- a/docs/header_fix_logic.svg +++ b/docs/header_fix_logic.svg @@ -1,2 +1,2 @@ -Apache/Skywalking-Eyes: Header fix process activity diagramsingleFileProcessStart of 'header fix'. Processing fileswithout proper headers file by file.End of 'header fix' processStart of single file processTry to fix license header of fileLook forAfter-pattern in file contentfileContent := contentPart1 + licenseHeader + contentPart2End of fixing license header for this fileAfter-pattern not foundfileContent :=ensureAfter+ licenseHeader +ensureBefore+ contentfileContent := licenseHeader + contentcomment_style_idis set for this language/file typeyesAfteris set in CommentStyleyespattern is foundyesnoensure_afteris setyesnononoapache/skywalking-eyes \ No newline at end of file +Apache/Skywalking-Eyes: Header fix process activity diagramsingleFileProcessStart of 'header fix'. Processing fileswithout proper headers file by file.End of 'header fix' processStart of single file processTry to fix license header of fileLook forAfter-pattern in file contentfileContent := contentPart1 + licenseHeader + contentPart2End of fixing license header for this fileAfter-pattern not foundfileContent :=ensureAfter+ licenseHeader +ensureBefore+ contentfileContent := licenseHeader + contentcomment_style_idis set for this language/file typeyesAfteris set in CommentStyleyespattern is foundyesnoensure_afteris setyesnononoapache/skywalking-eyes \ No newline at end of file