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

Add headers (license & generated) to zz_setup #282

Closed
wants to merge 1 commit into from

Conversation

Henni
Copy link

@Henni Henni commented Sep 26, 2023

Description of your changes

adds the generated and license (from boilerplate.go.txt) to zz_setup.go.
The code to set these template variables already existed: https://github.com/upbound/upjet/blob/a41bb83a48292e9bacb85bc1e409a7fe3595c9e7/pkg/pipeline/setup.go#L89-L90
This PR only updates the template to also use these values.

I have:

  • Read and followed Crossplane's [contribution process].
  • Run make reviewable to ensure this PR is ready for review.
  • Added backport release-x.y labels to auto-backport this PR if necessary.

How has this code been tested

evaluated with a custom boilerplate.go.txt for a custom provider.

@Upbound-CLA
Copy link

Upbound-CLA commented Sep 26, 2023

CLA assistant check
All committers have signed the CLA.

@jeanduplessis
Copy link
Collaborator

@Henni, thanks for your contribution. We are in the process of moving the repo to the https://github.com/crossplane org and a fix for this issue has been implemented in this PR: https://github.com/upbound/upjet/pull/279/files#diff-e92c3fbe5e87809841306b1fcff7f01b0306e7ecbb3dbb0e323db188dad29b2c

I'll close this PR in favor of the above mentioned one.

@Henni Henni deleted the fix/zzsetup-headers branch October 16, 2023 07:41
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.

3 participants