-
Notifications
You must be signed in to change notification settings - Fork 193
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
fix deepcopy/sets generate of new year and remove YEAR field #91
Conversation
/cc @sttts |
/lgtm |
@sttts pick to openshift fork please. |
@deads2k we don't have boilerplate headers with YEARs. |
This is a bit wrong-- new files should get the new year, but old files should not change. Additionally, this appears to just modify the generated output instead of fixing the generator? |
I don't disagree. But is this a regression? I would prefer to get CI fixed first and do a proper fix in a follow-up. A quick look at the generator suggests that the code is pretty dumb just replacing the YEAR. We would have to write to a temporary file and do a fuzzy comparison. |
Doesn't look like a regression. We had the same in 2017: #24 |
Agree - this sucks, but it's not on anyone's plate right now, and is not a trivial fix. /lgtm |
Need to also regenerate sets ? |
Travis thinks so. @fisherxu can you update sets as well? |
@fisherxu can you merge both PRs so that CI is happy? One alone won't be green ;) |
@sttts sure, have done :) |
Lgtm. Maybe squash the two generation commits. |
@fisherxu I fear this conflicts with kubernetes/kubernetes#57656 |
@sttts yes, I have seen at kubernetes/kubernetes#59172 , we can wait kubernetes/kubernetes#57656 merge first. |
@sttts No problem, I can help take a look for the failed CItests :) |
@fisherxu fixing the path calculation right now. We don't want to hard-coded kube packages there. |
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Remove YEAR field of all generated files and fix kubernetes boilerplate checker **What this PR does / why we need it**: Remove YEAR field of all generated files and fix kubernetes boilerplate checker xref: [remove YEAR fileds in gengo #91](kubernetes/gengo#91) **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes [#gengo/issues/24](kubernetes/gengo#24) **Special notes for your reviewer**: /cc @thockin @lavalamp @sttts **Release note**: ```release-note NONE ```
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Remove YEAR field of all generated files and fix kubernetes boilerplate checker **What this PR does / why we need it**: Remove YEAR field of all generated files and fix kubernetes boilerplate checker xref: [remove YEAR fileds in gengo #91](kubernetes/gengo#91) **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes [#gengo/issues/24](kubernetes/gengo#24) **Special notes for your reviewer**: /cc @thockin @lavalamp @sttts **Release note**: ```release-note NONE ``` Kubernetes-commit: e40ffd71972b820aeed283946e880aa2479f8524
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Remove YEAR field of all generated files and fix kubernetes boilerplate checker **What this PR does / why we need it**: Remove YEAR field of all generated files and fix kubernetes boilerplate checker xref: [remove YEAR fileds in gengo #91](kubernetes/gengo#91) **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes [#gengo/issues/24](kubernetes/gengo#24) **Special notes for your reviewer**: /cc @thockin @lavalamp @sttts **Release note**: ```release-note NONE ``` Kubernetes-commit: e40ffd71972b820aeed283946e880aa2479f8524
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Remove YEAR field of all generated files and fix kubernetes boilerplate checker **What this PR does / why we need it**: Remove YEAR field of all generated files and fix kubernetes boilerplate checker xref: [remove YEAR fileds in gengo #91](kubernetes/gengo#91) **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes [#gengo/issues/24](kubernetes/gengo#24) **Special notes for your reviewer**: /cc @thockin @lavalamp @sttts **Release note**: ```release-note NONE ``` Kubernetes-commit: e40ffd71972b820aeed283946e880aa2479f8524
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Remove YEAR field of all generated files and fix kubernetes boilerplate checker **What this PR does / why we need it**: Remove YEAR field of all generated files and fix kubernetes boilerplate checker xref: [remove YEAR fileds in gengo #91](kubernetes/gengo#91) **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes [#gengo/issues/24](kubernetes/gengo#24) **Special notes for your reviewer**: /cc @thockin @lavalamp @sttts **Release note**: ```release-note NONE ``` Kubernetes-commit: e40ffd71972b820aeed283946e880aa2479f8524
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Remove YEAR field of all generated files and fix kubernetes boilerplate checker **What this PR does / why we need it**: Remove YEAR field of all generated files and fix kubernetes boilerplate checker xref: [remove YEAR fileds in gengo #91](kubernetes/gengo#91) **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes [#gengo/issues/24](kubernetes/gengo#24) **Special notes for your reviewer**: /cc @thockin @lavalamp @sttts **Release note**: ```release-note NONE ``` Kubernetes-commit: e40ffd71972b820aeed283946e880aa2479f8524
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Remove YEAR field of all generated files and fix kubernetes boilerplate checker **What this PR does / why we need it**: Remove YEAR field of all generated files and fix kubernetes boilerplate checker xref: [remove YEAR fileds in gengo #91](kubernetes/gengo#91) **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes [#gengo/issues/24](kubernetes/gengo#24) **Special notes for your reviewer**: /cc @thockin @lavalamp @sttts **Release note**: ```release-note NONE ``` Kubernetes-commit: e40ffd71972b820aeed283946e880aa2479f8524
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Remove YEAR field of all generated files and fix kubernetes boilerplate checker **What this PR does / why we need it**: Remove YEAR field of all generated files and fix kubernetes boilerplate checker xref: [remove YEAR fileds in gengo #91](kubernetes/gengo#91) **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes [#gengo/issues/24](kubernetes/gengo#24) **Special notes for your reviewer**: /cc @thockin @lavalamp @sttts **Release note**: ```release-note NONE ``` Kubernetes-commit: e40ffd71972b820aeed283946e880aa2479f8524
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Remove YEAR field of all generated files and fix kubernetes boilerplate checker **What this PR does / why we need it**: Remove YEAR field of all generated files and fix kubernetes boilerplate checker xref: [remove YEAR fileds in gengo #91](kubernetes/gengo#91) **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes [#gengo/issues/24](kubernetes/gengo#24) **Special notes for your reviewer**: /cc @thockin @lavalamp @sttts **Release note**: ```release-note NONE ``` Kubernetes-commit: e40ffd71972b820aeed283946e880aa2479f8524
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Remove YEAR field of all generated files and fix kubernetes boilerplate checker **What this PR does / why we need it**: Remove YEAR field of all generated files and fix kubernetes boilerplate checker xref: [remove YEAR fileds in gengo #91](kubernetes/gengo#91) **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes [#gengo/issues/24](kubernetes/gengo#24) **Special notes for your reviewer**: /cc @thockin @lavalamp @sttts **Release note**: ```release-note NONE ``` Kubernetes-commit: e40ffd71972b820aeed283946e880aa2479f8524
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Remove YEAR field of all generated files and fix kubernetes boilerplate checker **What this PR does / why we need it**: Remove YEAR field of all generated files and fix kubernetes boilerplate checker xref: [remove YEAR fileds in gengo #91](kubernetes/gengo#91) **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes [#gengo/issues/24](kubernetes/gengo#24) **Special notes for your reviewer**: /cc @thockin @lavalamp @sttts **Release note**: ```release-note NONE ``` Kubernetes-commit: e40ffd71972b820aeed283946e880aa2479f8524
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Remove YEAR field of all generated files and fix kubernetes boilerplate checker **What this PR does / why we need it**: Remove YEAR field of all generated files and fix kubernetes boilerplate checker xref: [remove YEAR fileds in gengo kubernetes#91](kubernetes/gengo#91) **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes [#gengo/issues/24](kubernetes/gengo#24) **Special notes for your reviewer**: /cc @thockin @lavalamp @sttts **Release note**: ```release-note NONE ``` Kubernetes-commit: e40ffd71972b820aeed283946e880aa2479f8524
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Remove YEAR field of all generated files and fix kubernetes boilerplate checker **What this PR does / why we need it**: Remove YEAR field of all generated files and fix kubernetes boilerplate checker xref: [remove YEAR fileds in gengo kubernetes#91](kubernetes/gengo#91) **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes [#gengo/issues/24](kubernetes/gengo#24) **Special notes for your reviewer**: /cc @thockin @lavalamp @sttts **Release note**: ```release-note NONE ``` Kubernetes-commit: e40ffd71972b820aeed283946e880aa2479f8524
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Remove YEAR field of all generated files and fix kubernetes boilerplate checker **What this PR does / why we need it**: Remove YEAR field of all generated files and fix kubernetes boilerplate checker xref: [remove YEAR fileds in gengo #91](kubernetes/gengo#91) **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes [#gengo/issues/24](kubernetes/gengo#24) **Special notes for your reviewer**: /cc @thockin @lavalamp @sttts **Release note**: ```release-note NONE ``` Kubernetes-commit: e40ffd71972b820aeed283946e880aa2479f8524
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Remove YEAR field of all generated files and fix kubernetes boilerplate checker **What this PR does / why we need it**: Remove YEAR field of all generated files and fix kubernetes boilerplate checker xref: [remove YEAR fileds in gengo kubernetes#91](kubernetes/gengo#91) **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes [#gengo/issues/24](kubernetes/gengo#24) **Special notes for your reviewer**: /cc @thockin @lavalamp @sttts **Release note**: ```release-note NONE ``` Kubernetes-commit: e40ffd71972b820aeed283946e880aa2479f8524
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Remove YEAR field of all generated files and fix kubernetes boilerplate checker **What this PR does / why we need it**: Remove YEAR field of all generated files and fix kubernetes boilerplate checker xref: [remove YEAR fileds in gengo kubernetes#91](kubernetes/gengo#91) **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes [#gengo/issues/24](kubernetes/gengo#24) **Special notes for your reviewer**: /cc @thockin @lavalamp @sttts **Release note**: ```release-note NONE ``` Kubernetes-commit: e40ffd71972b820aeed283946e880aa2479f8524
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Remove YEAR field of all generated files and fix kubernetes boilerplate checker **What this PR does / why we need it**: Remove YEAR field of all generated files and fix kubernetes boilerplate checker xref: [remove YEAR fileds in gengo #91](kubernetes/gengo#91) **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes [#gengo/issues/24](kubernetes/gengo#24) **Special notes for your reviewer**: /cc @thockin @lavalamp @sttts **Release note**: ```release-note NONE ``` Kubernetes-commit: e40ffd71972b820aeed283946e880aa2479f8524
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Remove YEAR field of all generated files and fix kubernetes boilerplate checker **What this PR does / why we need it**: Remove YEAR field of all generated files and fix kubernetes boilerplate checker xref: [remove YEAR fileds in gengo #91](kubernetes/gengo#91) **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes [#gengo/issues/24](kubernetes/gengo#24) **Special notes for your reviewer**: /cc @thockin @lavalamp @sttts **Release note**: ```release-note NONE ``` Kubernetes-commit: e40ffd71972b820aeed283946e880aa2479f8524
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Remove YEAR field of all generated files and fix kubernetes boilerplate checker **What this PR does / why we need it**: Remove YEAR field of all generated files and fix kubernetes boilerplate checker xref: [remove YEAR fileds in gengo kubernetes#91](kubernetes/gengo#91) **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes [#gengo/issues/24](kubernetes/gengo#24) **Special notes for your reviewer**: /cc @thockin @lavalamp @sttts **Release note**: ```release-note NONE ``` Kubernetes-commit: e40ffd71972b820aeed283946e880aa2479f8524
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Remove YEAR field of all generated files and fix kubernetes boilerplate checker **What this PR does / why we need it**: Remove YEAR field of all generated files and fix kubernetes boilerplate checker xref: [remove YEAR fileds in gengo #91](kubernetes/gengo#91) **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes [#gengo/issues/24](kubernetes/gengo#24) **Special notes for your reviewer**: /cc @thockin @lavalamp @sttts **Release note**: ```release-note NONE ``` Kubernetes-commit: e40ffd71972b820aeed283946e880aa2479f8524
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Remove YEAR field of all generated files and fix kubernetes boilerplate checker **What this PR does / why we need it**: Remove YEAR field of all generated files and fix kubernetes boilerplate checker xref: [remove YEAR fileds in gengo #91](kubernetes/gengo#91) **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes [#gengo/issues/24](kubernetes/gengo#24) **Special notes for your reviewer**: /cc @thockin @lavalamp @sttts **Release note**: ```release-note NONE ``` Kubernetes-commit: e40ffd71972b820aeed283946e880aa2479f8524
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Remove YEAR field of all generated files and fix kubernetes boilerplate checker **What this PR does / why we need it**: Remove YEAR field of all generated files and fix kubernetes boilerplate checker xref: [remove YEAR fileds in gengo kubernetes#91](kubernetes/gengo#91) **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes [#gengo/issues/24](kubernetes/gengo#24) **Special notes for your reviewer**: /cc @thockin @lavalamp @sttts **Release note**: ```release-note NONE ``` Kubernetes-commit: e40ffd71972b820aeed283946e880aa2479f8524
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Remove YEAR field of all generated files and fix kubernetes boilerplate checker **What this PR does / why we need it**: Remove YEAR field of all generated files and fix kubernetes boilerplate checker xref: [remove YEAR fileds in gengo #91](kubernetes/gengo#91) **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes [#gengo/issues/24](kubernetes/gengo#24) **Special notes for your reviewer**: /cc @thockin @lavalamp @sttts **Release note**: ```release-note NONE ``` Kubernetes-commit: e40ffd71972b820aeed283946e880aa2479f8524
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Remove YEAR field of all generated files and fix kubernetes boilerplate checker **What this PR does / why we need it**: Remove YEAR field of all generated files and fix kubernetes boilerplate checker xref: [remove YEAR fileds in gengo #91](kubernetes/gengo#91) **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes [#gengo/issues/24](kubernetes/gengo#24) **Special notes for your reviewer**: /cc @thockin @lavalamp @sttts **Release note**: ```release-note NONE ``` Kubernetes-commit: e40ffd71972b820aeed283946e880aa2479f8524
fix the new year of 2018 and remove YEAR field
fix issue:#24