-
Notifications
You must be signed in to change notification settings - Fork 885
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 completion files instead of generating them on the fly #1706
Comments
The way that rustup does it is apparently the same way Rather than revert back to flat files, could can we continue to generate them in a way that guarantees reproducibility? How does packaging on openSUSE deal with other resources being generated on the fly and reproducibility concerns? |
From the reproducible builds perspective, it is OK to generate files on the fly as long as this happens in a deterministic way. From |
Test done: all outputs of the |
Thank you very much @bmwiedemann. I'm closing this issue. |
Excellent news. Thank you, both. |
Describe the problem you are trying to solve
I am working on packaging rustup for openSUSE and generating completion files on the fly cannot guarantee reproducible builds (because the generated completion files could differ).
Describe the solution you'd like
I would like that the completion files are included in the source, so they are always the same and are also easily packaged. This is the usual way to do it. Having to redirect the output of commands in a package build system is somewhat weird and unusual.
Notes
The package: https://build.opensuse.org/package/show/home:dmarcoux/rustup.rs
The text was updated successfully, but these errors were encountered: