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

Hack GOPATH for codegen #1676

Conversation

2uasimojo
Copy link
Member

@2uasimojo 2uasimojo commented Feb 1, 2022

Copy/adapt GOPATH ridiculousness from CCO to work around codegen bugs that would generate the code under github.com/ in the repo root.

Check in the resulting deepcopy deltas we've apparently been missing for a while.

HIVE-1723

Copy/adapt
[GOPATH ridiculousness](https://github.com/openshift/cloud-credential-operator/blob/aa5510254782d506f59a0578661f22a8d639dc85/hack/update-codegen.sh)
from CCO to work around codegen bugs that would generate the code under
github.com/ in the repo root.

Check in the resulting deepcopy deltas we've apparently been missing for
a while.

HIVE-1723
@2uasimojo
Copy link
Member Author

/assign @akhil-rane
/cc @joelddiaz

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 1, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: 2uasimojo

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 1, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 1, 2022

@2uasimojo: all tests passed!

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@codecov
Copy link

codecov bot commented Feb 1, 2022

Codecov Report

Merging #1676 (7cbecd9) into master (8dc97bc) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1676   +/-   ##
=======================================
  Coverage   42.36%   42.36%           
=======================================
  Files         337      337           
  Lines       31134    31134           
=======================================
  Hits        13190    13190           
  Misses      16858    16858           
  Partials     1086     1086           

@akhil-rane
Copy link
Contributor

from this PR it looks like code generation outside GOPATH should be fixed now. Maybe we should vendor in latest changes and see if that does the trick

@2uasimojo
Copy link
Member Author

from this PR it looks like code generation outside GOPATH should be fixed now. Maybe we should vendor in latest changes and see if that does the trick

See #1677. The results are quite different:

I don't know if any of that is significant 🤷‍♂️

@2uasimojo
Copy link
Member Author

/close in favor of #1679.

@2uasimojo 2uasimojo closed this Feb 7, 2022
@2uasimojo 2uasimojo deleted the HIVE-1723/codegen-gopath-silliness branch February 7, 2022 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants