Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Our sdpx header file should probably be updated to year 2022 #1753

Closed
terriko opened this issue Jul 6, 2022 · 3 comments
Closed

Our sdpx header file should probably be updated to year 2022 #1753

terriko opened this issue Jul 6, 2022 · 3 comments
Labels
good first issue Good for newcomers

Comments

@terriko
Copy link
Contributor

terriko commented Jul 6, 2022

I have a little convenience file with a default copyright/SDPX header in it for folk to use when creating new files:

https://github.com/intel/cve-bin-tool/blob/main/spdx_header.txt

It currently says 2021; it would be more useful if it instead said 2022 so people could cut/paste from it without having to manually change the year.

I'm going to flag this as a beginner friendly bug since it's an easy one-line fix in a file that isn't even executed.

@terriko terriko added the good first issue Good for newcomers label Jul 6, 2022
@guzmanismel1
Copy link

guzmanismel1 commented Jul 6, 2022

sorry to ask this (am just a beginner) but what you want is to manually change the date of that line of code or make a program so it changes by itself with time?

@Will-Bo
Copy link

Will-Bo commented Jul 6, 2022

#1756
Submitted a PR with the year change.

@terriko
Copy link
Contributor Author

terriko commented Jul 7, 2022

sorry to ask this (am just a beginner) but what you want is to manually change the date of that line of code or make a program so it changes by itself with time?

Just the line of code is fine, although if someone wants to set up a github action that makes a new PR on Jan 1 every year to do the update, I wouldn't say no to that either!

terriko pushed a commit that referenced this issue Jul 11, 2022
* feat(gh action): update year in spdx header automatically

* feat(gh action): update year in spdx header automatically

* fix: change schedule
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants