#!/usr/bin/env python3 # SPDX-FileCopyrightText: 2023 Blender Authors # # SPDX-License-Identifier: GPL-2.0-or-later """ The intent of this map is to be able to a single canonical author for every ``Name `` combination. """ __all__ = ( "sha1_authors_map", ) def sha1_authors_map() -> dict[bytes, tuple[str, ...]]: """ Return SHA1 to authors map. """ # Mapping from a commit hash to additional authors. # Fully overwrite authors gathered from git commit info. # Intended usage: Correction of info stored in git commit itself. # Note that the names of the authors here are assumed fully valid and usable as-is. return { # Format: {full_git_hash: (tuple, of, authors),}. # Author was: `blender `. b"ba3d49225c9ff3514fb87ae5d692baefe5edec30": ("Sergey Sharybin ", ), # Author was: `Author Name `. b"4b6a4b5bc25bce10367dffadf7718e373f81f299": ("Antonio Vazquez ", ), # Author was: `Campbell Barton `. b"584b96018a575d56e564a239dce0de572bf26c48": ("Lukasz Czyz ", ), # Author was: `Sergey Sharybin `. b"a76e69f5f75c06dda6d35113d80b6b65dcc94ea0": ("John Cox ", ), # Author was: `Henry Chang `. b"bd86e719ab917e455c728837b6de61d480d9b1df": ("Henry Chang <34479+henry-chang@noreply.localhost>", ), # Author was: `Aditya Y Jeppu `. b"72b3a3952891e4cb035df26b3a50eb3ddd7163f4": ("Aditya Giri <74224708+adityagiri3600@users.noreply.github.com>", ), }