-
Notifications
You must be signed in to change notification settings - Fork 159
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
[vconone] Notice people to update year #14588
base: master
Are you sure you want to change the base?
Conversation
5e84e6c
to
1ba8653
Compare
@@ -45,5 +61,14 @@ TEST(vconone, copyright) | |||
{ | |||
auto str = vconone::get_copyright(); | |||
|
|||
int year = 2024; | |||
|
|||
if (year < get_current_year()){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should it fail the test? I am worried that production CI fails from this small problem.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or, what if, we make CI fail if it's not updated until Feburary of each year.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Currently, printing warning is almost nothing because it's not printed unless verbose
keyword is on for ./nncc test
But I am not sure this can work. ONE-DCO-Signed-off-by: Dayoung Lee <dayoung.lee@samsung.com>
1ba8653
to
3b19e64
Compare
@dayo09 , maybe post an issue to get opinions from others. |
@@ -45,5 +62,15 @@ TEST(vconone, copyright) | |||
{ | |||
auto str = vconone::get_copyright(); | |||
|
|||
int year = 2024; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO: Get this year properly from get_copyright function
But I am not sure this can work.
ONE-DCO-Signed-off-by: Dayoung Lee dayoung.lee@samsung.com