History log of /rk3399_ARM-atf/.husky/pre-commit.copyright (Results 1 – 6 of 6)
Revision Date Author Comments
# 48461ec9 19-Jan-2024 Manish Pandey <manish.pandey2@arm.com>

Merge "style(hooks): copyright year check as per author email" into integration


# 93d1f4bc 14-Apr-2023 Akshay Belsare <akshay.belsare@amd.com>

style(hooks): copyright year check as per author email

Add a check in pre-commit hook to check the
- copyright header is present for the authors organisation.
- the copyright year for the copyright

style(hooks): copyright year check as per author email

Add a check in pre-commit hook to check the
- copyright header is present for the authors organisation.
- the copyright year for the copyright header is updated.

The author email id is parsed to get the organization. Depending upon
the parsed info, the copyright header for the organization is checked
if its present in the file(s) or not.
If the copyright header is present in the file(s) then the copyright
year is checked.

If the copyright header is not present or the copyright year in the
header is not updated it is highlighted to the author
which the user then needs to incorporate in the change accordingly.

To enable this check, the case statement in
.husky/pre-commit.copyright needs to be modified to add the domain
from the email id and corresponding copyright header of the
organisation.

Change-Id: I4dedb68248b3dae997d887dd380155fe326d071d
Signed-off-by: Akshay Belsare <akshay.belsare@amd.com>

show more ...


# bde9280d 15-Mar-2023 Manish V Badarkhe <manish.badarkhe@arm.com>

Merge "style(hooks): adds Arm copyright style fix" into integration


# 6bb49c87 15-Mar-2023 Maksims Svecovs <maksims.svecovs@arm.com>

style(hooks): adds Arm copyright style fix

Adds a check to pre-commit hook that makes sure "Arm" is written in a
correct case and not "arm" or "ARM". Same as a copyright-year check, the
hook will fi

style(hooks): adds Arm copyright style fix

Adds a check to pre-commit hook that makes sure "Arm" is written in a
correct case and not "arm" or "ARM". Same as a copyright-year check, the
hook will fix the issue and prompt user to stage the fix.

Change-Id: I39db148d6621d542193f3ee703bddc23c7e8dc27
Signed-off-by: Maksims Svecovs <maksims.svecovs@arm.com>

show more ...


# ff5cfa58 10-Feb-2023 Joanna Farley <joanna.farley@arm.com>

Merge "feat(git-hooks): add pre-commit hook" into integration


# cf9346cb 09-Feb-2023 Maksims Svecovs <maksims.svecovs@arm.com>

feat(git-hooks): add pre-commit hook

Adds a pre-commit git hook to keep track of copyright year.
Checks staged files for Arm copyright header and suggests a change if
the year is outdated. Works wit

feat(git-hooks): add pre-commit hook

Adds a pre-commit git hook to keep track of copyright year.
Checks staged files for Arm copyright header and suggests a change if
the year is outdated. Works with both single-year format and
from_year-to_year format.

Signed-off-by: Maksims Svecovs <maksims.svecovs@arm.com>
Change-Id: If81a0b9f5e047ec0ac401c7cf1792b9da6644926

show more ...