-
Notifications
You must be signed in to change notification settings - Fork 112
Refine documentation for fetch.git.subpath #1061
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
base: develop
Are you sure you want to change the base?
Refine documentation for fetch.git.subpath #1061
Conversation
Hey @gberche-orange ! Thanks for the PR ! The way that kapp-controller is structured is that when we make changes to a CRD definition file, we then have to generate the relevant protobuf file. So you will need to do the following on this PR to get it green.
You will also have to update your commits to include a "Signed-off by" |
thanks @neil-hickey |
@gberche-orange looks like you might have to re-run the generators one more time. I can probably get around to it over the next couple of days, but if you get a spare couple of minutes please feel free to update and I can get this merged asap! TY |
@neil-hickey Sorry I had missed the failed output of
I searched for a while the automated install of protoc in the github workflows, before understanding protoc binary should be installed manually (as linux binary in my case): kapp-controller/hack/gen-apiserver.sh Lines 68 to 72 in 8d8de5c
The current build process should likely include the protocol buffer generation, and not require contributors to build the .proto and commit them. This makes the contribution process slow and unreliable. This is also likely making the build non reproductible. https://slsa.dev/spec/v0.1/levels#summary-of-levels Details of the steps I took on my box for contributing the updated .proto file
```
$ history
1001 time ./hack/build.sh $ time ./hack/build.sh
real 7m22,883s time ./hack/gen.sh
real 0m24,976s [...]
|
Signed-off-by: Guillaume Berche <[email protected]>
…-dev#1039) * updating repo url to generic name as TCE is getting deprecated and updated package name to a generic name as well * updated namespace flag to package available cmd * removed -n flag from cmd added in example * reverted unwanted change Co-authored-by: kumari tanushree <[email protected]> Signed-off-by: Guillaume Berche <[email protected]>
To remove ambiguity that the root would remain the same but only the subpath is preserved (i.e users could incorrectly think absolute paths within the repo would be preserved) See related code: https://github.com/carvel-dev/kapp-controller/blob/ad24bdc3e41219b176f88280a469e9fd21979339/pkg/fetch/vendir.go#L157-L157 Signed-off-by: Guillaume Berche <[email protected]>
9e2211b
to
3af8f6f
Compare
Just forced push with DCO which was missing, sorry
|
What this PR does / why we need it:
Refine documentation for fetch.git.subpath
To remove ambiguity that the root would remain the same but only the subpath is preserved (i.e users could incorrectly think absolute paths within the repo would be preserved)
See related code:
kapp-controller/pkg/fetch/vendir.go
Line 157 in ad24bdc
Does this PR introduce a user-facing change?
Additional Notes for your reviewer:
Review Checklist:
a link to that PR
change
Additional documentation e.g., Proposal, usage docs, etc.: