erlware / relx

Sane, simple release creation for Erlang
http://erlware.github.io/relx
Apache License 2.0
697 stars 232 forks source link

Deterministic output #547

Closed gleber closed 7 years ago

gleber commented 7 years ago

Currently relx generates files non-deterministically. I've run "rebar3 release" twice and got a diff between results. Files which differ are: app_name/releases/0.1/app_name.boot app_name/releases/0.1/app_name.rel app_name/releases/0.1/app_name.script app_name/releases/RELEASES

They differ due to order of applications. It looks like the traversal of dependency tree is not deterministic. This makes it harder to analyze what exactly is being released via looking at diffs.

lrascao commented 7 years ago

Can you try out the latest relx master please? There were some changes in that regard recently

lrascao commented 7 years ago

The latest relx tag (3.22.0) is now available from the rebar3 nightly, please fetch it from https://s3.amazonaws.com/rebar3-nightly/rebar3 and give it a try

lrascao commented 7 years ago

closing, please re-open if this is still an issue