Closed amacaida closed 1 year ago
From https://copyright.universityofcalifornia.edu/faqs/#h
# Copyright (c) 2023 The Regents of the University of California
# All Rights Reserved
That works for the recipe as a whole, but if we want people to actually include the license it would make sense to put them at the top of the code. Maybe even include a link to the recipe
# Copyright (c) 2023 The Regents of the University of California
# All Rights Reserved
use os
.....
@VdotR please add the following license to the start of each script and script file in the recipes:
# Copyright (c) 2023 The Regents of the University of California
# All Rights Reserved
Just to make sure, script and script file includes all files that ends with '.py' and '.md'?
Add to the bottom of the recipe README.md.
Copyright (c) 2023 The Regents of the University of California
All Rights Reserved
Add to the top of all the scripts python or otherwise
# Copyright (c) 2023 The Regents of the University of California
# All Rights Reserved
Just created pull request #652
Sorry @VdotR I didn't catch this sooner -- the copyright shouldn't all say 2023; technically they should be the year that the content was written. The year indicates the year that the work was first published, effectively implying that the copyright doesn't cover the years prior to 2023.
To do it right: look for the creation date of each recipe and use that year for the copyright.
https://stackoverflow.com/questions/7551664/how-to-find-the-date-of-the-first-commit-of-files-in-git
Possibly use the git command in the link above and group the recipes by year, then VSCode search and replace the existing 2023 copyright with the correct year for those recipes?
@amacaida No worries I'll redo the task accordingly. I would try to write a python script first just as what I did for the current version of the issue, but i'll do it manually if I have to. Thanks for catching the error!
@amacaida Hi I added the license based on year of first commit at #655
Task should be completed #655
Issue from kc: can you also make sure all recipes have UCSD licenses?
Since it's a recipe, it should probably be the
uc_research_use_license