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

Reproducible Builds #84

Closed
2 tasks done
raboof opened this issue May 1, 2019 · 1 comment
Closed
2 tasks done

Reproducible Builds #84

raboof opened this issue May 1, 2019 · 1 comment
Projects

Comments

@raboof
Copy link
Owner

raboof commented May 1, 2019

A useful advantage of Open Source software is the fact that it is possible to check the sources for unwanted code.

When software is distributed in binary form, it does not go without saying that the distributed binary indeed corresponds to the sources. An elegant way to increase confidence that the build/distribution pipeline has not been compromised is to independently build the application on different machines, and check that the resulting binaries match. This does require that we make sure there are no 'accidental' non-determinisms in our build process. This is what we mean by making the build 'reproducible'.

'Officially', Notion is only distributed in source form, side-stepping this issue entirely. If you like to create binary packages for Notion, however, we warmly recommend you build them in a 'reproducible' way. It is entirely possible that this requires improvements to the Notion build setup, and we welcome any contributions that help make it more reproducible.

A useful resource around this topic is https://reproducible-builds.org

Subtasks:

  • exports.c generation is not deterministic
  • Test with reprotest
@raboof raboof added this to To do in Notion 4 May 10, 2019
@raboof raboof moved this from To do to Review in progress in Notion 4 May 21, 2019
@raboof
Copy link
Owner Author

raboof commented May 21, 2019

This was manually verified and looks OK, but it would be good to check for regressions automatically - filed #106 for that.

@raboof raboof closed this as completed May 21, 2019
Notion 4 automation moved this from Review in progress to Done May 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Notion 4
  
Done
Development

No branches or pull requests

1 participant