Skip to content

Conversation

@puneetmatharu
Copy link
Contributor

@puneetmatharu puneetmatharu commented Dec 15, 2025

Summary

  • The top-level LICENSE is duplicated and placed in a LICENSES/ directory as required by the reuse tool.
  • JSON files get a sidecar .license file.
  • Copyrights with two consecutive years (e.g. 2024-2025) get split up by the reuse tool (e.g. 2024, 2025); this is a known feature that seemingly can't be avoided.
  • Pre-commit hooks also include a trim-whitespace hook.

Table of changes

Any additions of 2025 come from adding the current year's date. Although the code isn't merged in 2025, the changes are made in 2025.

N.B. the table below is cropped horizontally in the GitHub UI; if you scroll to the right, you'll be able to see an additional "Notes" section with additional helpful info.

C.D. = creation date

File Previous copyright New copyright Notes
.github/workflows/pytorch.yml 2025 2025 Unchanged
.github/workflows/tensorflow.yml 2025 2025 Unchanged
LICENSES/Apache-2.0.txt
ML-Frameworks/pytorch-aarch64/examples/executor/model.py 2021-2023 2021-2025 Updated years. Changed 2024 and now with C.A.D.
ML-Frameworks/pytorch-aarch64/examples/gen_ai_utils/quant_configs/aarch64_cpu_channelwise.json.license 2024, 2025 Added copyright; C.D.
ML-Frameworks/pytorch-aarch64/examples/gen_ai_utils/quant_configs/aarch64_cpu_groupwise.json.license 2024, 2025 Added copyright; C.D.
ML-Frameworks/pytorch-aarch64/examples/utils/common.py 2021-2023 2021, 2023, 2025 Dropped 2022. No changes.
ML-Frameworks/pytorch-aarch64/examples/utils/image.py 2021-2023 2021-2025 Added 2024
ML-Frameworks/pytorch-aarch64/examples/utils/label.py 2021-2023 2021-2023, 2025
ML-Frameworks/pytorch-aarch64/examples/utils/nlp.py 2021-2023 2021, 2022, 2025
ML-Frameworks/pytorch-aarch64/examples/utils/vision_parser.py 2021-2022 2021, 2022, 2025
ML-Frameworks/pytorch-aarch64/examples/.gitignore 2025 Added
ML-Frameworks/pytorch-aarch64/examples/answer_questions.py 2021-2025 2021, 2022, 2024, 2025 No changes in 2023
ML-Frameworks/pytorch-aarch64/examples/classify_image.py 2021-2023 2021, 2023, 2025 No changes in 2022
ML-Frameworks/pytorch-aarch64/examples/detect_objects.py 2021-2023 2021, 2023, 2025 No changes in 2022
ML-Frameworks/pytorch-aarch64/examples/llama_vision_instruct.py 2025 2025 Unchanged
ML-Frameworks/pytorch-aarch64/examples/openimages-mlperf.json.license 2023, 2025 Created 2023
ML-Frameworks/pytorch-aarch64/examples/quantized_linear.py 2024-2025 2024, 2025 Unchanged
ML-Frameworks/pytorch-aarch64/examples/README.md 2021-2025 Added copyright
ML-Frameworks/pytorch-aarch64/examples/resnet_v1-50.yml 2021-2023 2021, 2023, 2025 No changes in 2022
ML-Frameworks/pytorch-aarch64/examples/run_unit_tests.sh 2025 2025 Unchanged
ML-Frameworks/pytorch-aarch64/examples/ssd_resnet34.py 2021 2021, 2025
ML-Frameworks/pytorch-aarch64/examples/ssd_resnet34.yml 2021-2023 2021-2023, 2025
ML-Frameworks/pytorch-aarch64/examples/test-examples.sh 2025 2025 Unchanged
ML-Frameworks/pytorch-aarch64/examples/transformers_llm_text_gen.py 2021-2025 2024, 2025 Created 2024.
ML-Frameworks/pytorch-aarch64/scripts/build-mlcommons.sh 2020-2023 2020, 2021, 2023-2025 Changed 2024. No changes in 2022.
ML-Frameworks/pytorch-aarch64/scripts/download-dataset.sh 2020, 2021, 2023, 2025 History. 2024 commit is rename.
ML-Frameworks/pytorch-aarch64/scripts/download-model.sh 2020-2023, 2025 History. 2024 commit is rename.
ML-Frameworks/pytorch-aarch64/.dockerignore 2024, 2025 History. GitHub thinks it was renamed from get-bazel.sh (obviously not).
ML-Frameworks/pytorch-aarch64/.gitignore 2024, 2025 History. Again, GitHub thinks it was renamed from get-bazel.sh (obviously not).
ML-Frameworks/pytorch-aarch64/bash_profile 2020 2020, 2024, 2025 Changed 2024.
ML-Frameworks/pytorch-aarch64/build-torch-ao-wheel.sh 2024-2025 2024, 2025 Unchanged
ML-Frameworks/pytorch-aarch64/build-wheel.sh 2024-2025 2024, 2025 Unchanged
ML-Frameworks/pytorch-aarch64/build.sh 2024-2025 2020-2025 History. Changed in 2020-2023 too.
ML-Frameworks/pytorch-aarch64/bump-sources.sh 2024-2025 2024, 2025 Unchanged
ML-Frameworks/pytorch-aarch64/CHANGELOG.md 2022-2025 Changed as early as 2022.
ML-Frameworks/pytorch-aarch64/cpu_info.sh 2021 2021, 2025 Change in 2024 is rename.
ML-Frameworks/pytorch-aarch64/Dockerfile 2020-2025 + 2022 Amazon 2020-2025 + 2022 Amazon
ML-Frameworks/pytorch-aarch64/dockerize.sh 2025 2024, 2025 GitHub thinks it was renamed from get-bazel.sh (obviously not).
ML-Frameworks/pytorch-aarch64/get-source.sh 2024-2025 2024, 2025 Unchanged
ML-Frameworks/pytorch-aarch64/README.md 2019-2025 History
ML-Frameworks/pytorch-aarch64/requirements.txt 2024, 2025 History
ML-Frameworks/pytorch-aarch64/welcome.txt.license 2024, 2025 welcome.txt History
ML-Frameworks/tensorflow-aarch64/examples/executor/model.py 2021-2023 2021-2023, 2025
ML-Frameworks/tensorflow-aarch64/examples/utils/common.py 2021-2023 2021, 2023, 2025 No changes in 2022.
ML-Frameworks/tensorflow-aarch64/examples/utils/image.py 2021-2023, 2025 2021-2023, 2025 Unchanged
ML-Frameworks/tensorflow-aarch64/examples/utils/label.py 2021-2023 2021-2023, 2025
ML-Frameworks/tensorflow-aarch64/examples/utils/nlp.py 2021 2021, 2025
ML-Frameworks/tensorflow-aarch64/examples/utils/nlp_parser.py 2021 2021, 2025
ML-Frameworks/tensorflow-aarch64/examples/utils/vision_parser.py 2022 2021, 2022, 2025 Originated from parser.py which was created in 2021.
ML-Frameworks/tensorflow-aarch64/examples/answer_questions.py 2021-2022 2021, 2022, 2025
ML-Frameworks/tensorflow-aarch64/examples/classify_image.py 2021-2023 2021, 2023, 2025 No changes in 2022.
ML-Frameworks/tensorflow-aarch64/examples/detect_objects.py 2021-2023 2021, 2023, 2025 No changes in 2022.
ML-Frameworks/tensorflow-aarch64/examples/README.md 2021-2023, 2025 History
ML-Frameworks/tensorflow-aarch64/examples/resnet_v1-50.yml 2022-2023 2021-2023, 2025 History.
ML-Frameworks/tensorflow-aarch64/examples/run_unit_tests.sh 2025 2025
ML-Frameworks/tensorflow-aarch64/examples/ssd_resnet34.yml 2021-2023 2021, 2023, 2025 No changes in 2022.
ML-Frameworks/tensorflow-aarch64/examples/test_examples.sh 2025 2025
ML-Frameworks/tensorflow-aarch64/.dockerignore 2025
ML-Frameworks/tensorflow-aarch64/.gitignore 2025
ML-Frameworks/tensorflow-aarch64/bash_profile 2020, 2025 2019, 2020, 2025 Missing change in 2019.
ML-Frameworks/tensorflow-aarch64/build-wheel.sh 2024-2025 2022, 2024, 2025 Originated from build-tensorflow-addons.sh; created in 2022.
ML-Frameworks/tensorflow-aarch64/build.sh 2024-2025 2019-2025 History.
ML-Frameworks/tensorflow-aarch64/bump-sources.sh 2025 2025
ML-Frameworks/tensorflow-aarch64/CHANGELOG.md 2022-2025 History.
ML-Frameworks/tensorflow-aarch64/Dockerfile 2020-2025 2020-2025
ML-Frameworks/tensorflow-aarch64/dockerize.sh 2024-2025 2024, 2025
ML-Frameworks/tensorflow-aarch64/get-source.sh 2024-2025 2024, 2025
ML-Frameworks/tensorflow-aarch64/README.md 2019-2025 History.
ML-Frameworks/tensorflow-aarch64/requirements.txt 2025
ML-Frameworks/tensorflow-aarch64/welcome.txt.license 2025 Added in 2025 but GitHub thinks renamed from ML-Frameworks/pytorch-aarch64/utils/helper.sh
ML-Frameworks/utils/git-utils.sh 2025 2025
.gitignore 2025
.pre-commit-config.yaml 2025 New file
CONTRIBUTING.md 2025 New file
README.md 2018-2022, 2024, 2025 History. No changes in 2023.
SECURITY.md 2025

@puneetmatharu puneetmatharu changed the title Make project REUSE compliant Make project REUSE compliant + add pre-commit hooks Dec 15, 2025
@puneetmatharu
Copy link
Contributor Author

N.B. I only need one reviewer (first-come-first-served basis); just so happens that both are likely familiar with making such changes.

Copy link
Contributor

@nSircombe nSircombe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've had a read through, and posted a few comments / questions.

@puneetmatharu puneetmatharu force-pushed the add-reuse-compliance branch 3 times, most recently from 348df01 to 06eb981 Compare December 19, 2025 08:50
Copy link
Contributor

@nSircombe nSircombe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are a lot of year changes. Many of which I understand, but not all.

I think this is going to be very difficult to review that these in this form.
Do you think we could have a summary table in the PR for all the files having year changes, from what to what and why?

# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# SPDX-FileCopyrightText: Copyright 2021-2025 Arm Limited and affiliates.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this one appears to have gained the year 2024?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was missing changes in 2024.

# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# SPDX-FileCopyrightText: Copyright 2021, 2022, 2024, 2025 Arm Limited and affiliates.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This appears to have lost the year 2023

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# SPDX-FileCopyrightText: Copyright 2021, 2023, 2025 Arm Limited and affiliates.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has lost the year 2022 - is this one that shouldn't carry the year 2022?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# SPDX-FileCopyrightText: Copyright 2021, 2024, 2025 Arm Limited and affiliates.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this has gained 2024

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Patched! Change in 2024 was a rename.

# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# SPDX-FileCopyrightText: Copyright 2022, 2024, 2025 Arm Limited and affiliates.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this have 2022? I didn't think it was that old.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well spotted -- removed! (GitHub thought the file, incorrectly, came from get-bazel.sh)

@puneetmatharu
Copy link
Contributor Author

@nSircombe have updated the PR body. Full table of copyright changes and reasoning where appropriate

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.

2 participants