Skip to content

Conversation

@dayo09
Copy link
Contributor

@dayo09 dayo09 commented Jan 23, 2025

But I am not sure this can work.

ONE-DCO-Signed-off-by: Dayoung Lee dayoung.lee@samsung.com

@dayo09 dayo09 force-pushed the 0123-vconone-update branch from 5e84e6c to 1ba8653 Compare January 23, 2025 11:56

int year = 2024;

if (year < get_current_year()){
Copy link
Contributor Author

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.

Copy link
Contributor Author

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.

Copy link
Contributor Author

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>
@dayo09 dayo09 force-pushed the 0123-vconone-update branch from 1ba8653 to 3b19e64 Compare January 23, 2025 12:06
@seanshpark
Copy link
Contributor

@dayo09 , maybe post an issue to get opinions from others.
IMHO, making build fail if year is not updated seems OK to me :)

{
auto str = vconone::get_copyright();

int year = 2024;
Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants