Skip to content

Remove "portions copyright" header normalizer#166

Merged
kezhenxu94 merged 1 commit intoapache:mainfrom
antgamdia:11218-remove-copyright-regex
Aug 16, 2023
Merged

Remove "portions copyright" header normalizer#166
kezhenxu94 merged 1 commit intoapache:mainfrom
antgamdia:11218-remove-copyright-regex

Conversation

@antgamdia
Copy link
Contributor

Following up on the changes performed at #142, this PR is removing another regex that is causing the whole copyright line to be removed by the normalizer (due to the .+$ match) if the line contains Portions Copyright.

closes apache/skywalking#11218

cc @kezhenxu94

Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
@kezhenxu94 kezhenxu94 added the bug Something isn't working label Aug 16, 2023
@kezhenxu94 kezhenxu94 added this to the 0.5.0 milestone Aug 16, 2023
@kezhenxu94
Copy link
Member

I'll cancel the 0.5.0 and re-initiate the release with this patch in

@kezhenxu94 kezhenxu94 merged commit 6b25292 into apache:main Aug 16, 2023
@antgamdia antgamdia deleted the 11218-remove-copyright-regex branch August 16, 2023 10:40
@wu-sheng
Copy link
Member

I'll cancel the 0.5.0 and re-initiate the release with this patch in

@kezhenxu94 I noticed 0.5.0 tag still exists for cancelled release. Would you replace it with the latest commit and initial a new release?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Using pattern with "copyright" always yields a (?i).*.* regex

3 participants