diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5b0e6c5fca..890c82a115 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,4 +1,4 @@ -# SPDX-FileCopyrightText: Copyright (c) 2023-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-FileCopyrightText: Copyright (c) 2022-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: Apache-2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/ci/scripts/documentation_checks.sh b/ci/scripts/documentation_checks.sh index 4db5a35589..0d1860c446 100755 --- a/ci/scripts/documentation_checks.sh +++ b/ci/scripts/documentation_checks.sh @@ -1,5 +1,5 @@ #!/bin/bash -# SPDX-FileCopyrightText: Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-FileCopyrightText: Copyright (c) 2022-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: Apache-2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/ci/scripts/download_kafka.py b/ci/scripts/download_kafka.py index 85edfbfa47..2ba0625ac3 100644 --- a/ci/scripts/download_kafka.py +++ b/ci/scripts/download_kafka.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# SPDX-FileCopyrightText: Copyright (c) 2023-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-FileCopyrightText: Copyright (c) 2022-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: Apache-2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/ci/scripts/gitutils.py b/ci/scripts/gitutils.py index d3eb6e384a..ead1d7ea96 100755 --- a/ci/scripts/gitutils.py +++ b/ci/scripts/gitutils.py @@ -202,7 +202,7 @@ def add_files(*files_to_add): @staticmethod def get_file_add_date(file_path): """Return the date a given file was added to git""" - date_str = _git("log", "--follow", "--format=%as", "--", file_path, "|", "tail", "-n 1") + date_str = _run_cmd(f"git log --follow --format=%as -- {file_path} | tail -n 1") return datetime.datetime.strptime(date_str, "%Y-%m-%d") @staticmethod diff --git a/docs/source/devcontainer.md b/docs/source/devcontainer.md index d6e7bd58a3..ae9f3a80da 100644 --- a/docs/source/devcontainer.md +++ b/docs/source/devcontainer.md @@ -1,5 +1,5 @@