The one-line SPDX-License-Identifier is becoming preferred over text blobs to reduce the slight variations that happen in text blobs (potentially significant rewording).
I got an error because "jq" was not installed. We can avoid that (or else it should be documented dev setup somewhere).
Maybe this debate was already settled, but I'm suggestion we make those changes. It looks like this would affect our other repos (same script to change).
TBD: Whether to change existing copyrights. I don't like touching existing copyrights, so I'd focus on fixing this for added files, but the project is new enough that updating copyrights from IBM to project authors, but be a good thing to do.
To Reproduce
Steps to reproduce the behavior:
Add a new file w/o copyright and license
Commit it
See the copyright/license header that was added (if you have jq)
Also you could just look in our existing files already added
Expected behavior
An open source community project should ideally have an open license and avoid individual person or company copyrights.
A per-file license might be a best practice, but it can be abbreviated to be succinct and consistent
New devs should not get "jq" not found errors when doing a commit (unless we add that to our contributing guide)
Screenshots / Code snippets
If applicable, add screenshots or code snippets to help explain your problem.
Set-up:
Bee version: [e.g. v0.0.3]
Model provider [e.g. watsonx]
Additional context
Add any other context about the problem here.
Feel free to have opinions on this. The current process was probably leveraged from other projects. There's more than one way.
Describe the bug
There are 3 (debatable) problems with automatic adding of copyright with copyright.sh.
Maybe this debate was already settled, but I'm suggestion we make those changes. It looks like this would affect our other repos (same script to change).
TBD: Whether to change existing copyrights. I don't like touching existing copyrights, so I'd focus on fixing this for added files, but the project is new enough that updating copyrights from IBM to project authors, but be a good thing to do.
To Reproduce Steps to reproduce the behavior:
Expected behavior
Screenshots / Code snippets If applicable, add screenshots or code snippets to help explain your problem.
Set-up:
Additional context Add any other context about the problem here.
Feel free to have opinions on this. The current process was probably leveraged from other projects. There's more than one way.