-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Include PROJECT file information into model.Universe #1313
Include PROJECT file information into model.Universe #1313
Conversation
Hi @Adirio. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
This comment has been minimized.
This comment has been minimized.
080862c
to
13a2c6f
Compare
13a2c6f
to
96d3016
Compare
98a6277
to
6927a52
Compare
cd844ae
to
bebd928
Compare
All the suggestions were tackled. Could we move forward? |
bebd928
to
e48e98b
Compare
Rebased, there were a lot of overlaping sections so I may have missed something, so I'm force-pushing now while I do a final check to make Travis also check it meanwhile. |
e48e98b
to
e9bd5b9
Compare
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.
LGTM other than a few error message nits.
0194333
to
6534660
Compare
Signed-off-by: Adrian Orive <[email protected]>
@DirectXMan12 The rebase should be ready |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Adirio, DirectXMan12 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 |
Description
Include the PROJECT file into
model.Universe
.It also provides a constructor for
model.Universe
calledmodel.NewUniverse
that uses the functional options paradigm to provide optional configuration.Motivation
The main motivation is providing plugins access to the configuration file. Additionally,
scaffold.Execute
needs some information aside from the files it scaffolds. Right now this informnation is provided in three different ways. As fields to theScaffold
instance, the first parameter toScaffold.Execute
(model.Universe
), and the second parameter toScaffold.Execute
(input.Options
). This change is a first step into providing a single way to provide that information.This PR is part of a bigger change tracked in #1218 but can be applied rightaway.
/kind feature