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 random #221

Open
jayvdb opened this issue Feb 7, 2019 · 0 comments
Open

Reproducible random #221

jayvdb opened this issue Feb 7, 2019 · 0 comments

Comments

@jayvdb
Copy link
Member

jayvdb commented Feb 7, 2019

In order to have random tested dependencies (see #187), the moban approach would be to create requirements-random.txt.

To do that, moban needs a stable randomiser. Re-running moban should produce the same output.

The easiest approach I can think of is to use the top git commit as the randomiser salt.

And if git isnt present, a hash of all of the templates, or something similar. Or potentially each target has a different salt, being the hash of its template.

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

No branches or pull requests

1 participant