From 1622459e37ed5c908dc602bb4c77b8e7191a8bbe Mon Sep 17 00:00:00 2001 From: Pierre Sassoulas Date: Sat, 12 Mar 2022 08:45:17 +0100 Subject: Simplify hard to maintain copyright notice (#1441) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Simplify hard to maintain copyright notice git is the source of truth for the copyright, copyrite (the tool) was taking exponentially longer with each release, and it's polluting the code with sometime as much as 50 lines of names. * Add a pre-commit hook to check the copyright notice * Fix the existing file so they have a notice * Fix the spacing after the copyright notice * Add a script to generate the CONTRIBUTORS.txt Co-authored-by: Daniƫl van Noord <13665637+DanielNoord@users.noreply.github.com> --- tbump.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tbump.toml') diff --git a/tbump.toml b/tbump.toml index f2e6ba92..b9f7adb6 100644 --- a/tbump.toml +++ b/tbump.toml @@ -29,8 +29,8 @@ name = "Upgrade changelog changelog" cmd = "python3 script/bump_changelog.py {new_version}" [[before_commit]] -name = "Upgrade copyrights" -cmd = "pip3 install copyrite;copyrite --contribution-threshold 1 --change-threshold 3 --backend-type git --aliases=.copyrite_aliases . --jobs=8" +name = "Upgrade the contributors list" +cmd = "python3 script/create_contributor_list.py" [[before_commit]] name = "Apply pre-commit" -- cgit v1.2.1