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 a lock file to allow reproducible builds of binaries #84

Open
casimir opened this issue May 14, 2024 · 0 comments
Open

Add a lock file to allow reproducible builds of binaries #84

casimir opened this issue May 14, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@casimir
Copy link

casimir commented May 14, 2024

Is your feature request related to a problem? Please describe.

I am in the process of publishing a flutter app on the F-Droid repo. With the F-Droid team, we are trying to setup reproducible builds In short it implies to be able to rebuild identical binaries between different build runs.

Such requirements prevent to use the pre-built binaries since the build conditions are unknown. To avoid that I have set up a build script with isar as a submodule and it worked as intended for a few days. Indeed a few days later, cargo resolved different dependencies versions, creating a diff in binaries between the build runs.

Describe the solution you'd like

There is always some debates around versionning Cargo.lock in Git but I think in this case it should be. (IMHO it should be versionned for binaries and not versionned for libraries.)

Describe alternatives you've considered

I am experimenting with an arguably dirty hack to keep a versionned lock file in my own repo that should work in the end: casimir/frigoligo#189. But well...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant