HewlettPackard / py-spiffe

Python library for SPIFFE support
13 stars 15 forks source link

Add copyright to all files #83

Closed glaucimar closed 8 months ago

glaucimar commented 3 years ago

We need to add the text below to all files:

(C) Copyright 2021 Hewlett Packard Enterprise Development LP

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

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

raissonsouto commented 8 months ago

Regarding the longevity of this issue, is it still relevant? If so, I'd be happy to assist.

Could you provide more specific details? In the Python code, should I also include a Copyright comment in the tests? Should I place it in the beginning or in the end of the module docstring?

maxlambrecht commented 8 months ago

Hello @raissonsouto, thank you for offering your assistance.

The task at hand is still relevant. It involves adding Copyright notices to all .py files, excluding those within the proto directory and any __init__.py files, To streamline this process, I suggest utilizing an automated script to traverse the project's directory structure, appending the Copyright notice to each eligible Python file that lacks such a notice.