Skip to content

Improve author detection for compact declarations and dotted author names (#4229) - #5393

Open
DHRUV-1-star wants to merge 1 commit into
aboutcode-org:developfrom
DHRUV-1-star:fix-author-detection-4229
Open

DHRUV-1-star wants to merge 1 commit into
aboutcode-org:developfrom
DHRUV-1-star:fix-author-detection-4229

Conversation

@DHRUV-1-star

Copy link
Copy Markdown

Fixes #4229

Summary

Improves author detection when author declarations lack a space after the colon (e.g. // Author:Frankie.Chu) and normalizes dotted author names following an author tag.

Problem

In files like TM1637.cpp, lines such as:

//  Date:9 April,2012
//  Author:Frankie.Chu

…ames

Normalize compact 'Author:' declarations lacking whitespace after colon.

Normalize dotted author declarations in author context to support names like Frankie.Chu.

Add unit tests in test_copyrights_basic.py.

Update AUTHORS.rst and CHANGELOG.rst.

Fixes aboutcode-org#4229

Signed-off-by: Dhruv <DHRUV-1-star@users.noreply.github.com>

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Author not detected in C++ file

1 participant