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 test for reproducible/env independent builds #337

Open
romainmenke opened this issue Jun 30, 2020 · 1 comment
Open

Add a test for reproducible/env independent builds #337

romainmenke opened this issue Jun 30, 2020 · 1 comment
Labels
New test Suggestion for a new test

Comments

@romainmenke
Copy link

Not all bundlers create reproducible/env independent builds.

Creating a build from the same source code with the same dependencies should generate the same output.
Even if the path to the source code changes or the environment in which the build runs is changed.

  • my machine vs your machine
  • my machine vs build server
  • rebuild after time passes
@surma
Copy link
Contributor

surma commented Jun 30, 2020

We do have a test to check that only the relevant bits of the path to source are considered.

I like the idea of having another test in the same category that tests if the same hashes are generated across different operating systems (Linux, Linux in Docker, Windows, Mac).

@surma surma added the New test Suggestion for a new test label Jun 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New test Suggestion for a new test
Projects
None yet
Development

No branches or pull requests

2 participants