Skip to content
This repository has been archived by the owner on Jan 24, 2019. It is now read-only.

Allow reproducible builds independent of output destination #34

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Allow reproducible builds independent of output destination #34

wants to merge 1 commit into from

Conversation

boris-petrov
Copy link

On the project I'm working on we're trying to get reproducible builds with a project that uses ember.js. We're using ember-cli-webfont (which uses broccoli-webfont).

The ember-cli build system uses temporary directories to store the addons output. Furthermore - it uses absolute paths. This means that two builds can have very different dest options (e.g. /home/user1/project/tmp/something-RLHbiENl.tmp and /home/user2/work/project/tmp/something-QMgOe8NX.tmp). Since dest is part of options it will be used when a hash is created in renderCss.js.

The proposal here is to ignore the dest, cssDest, htmlDest (all options that are only relative to the output) when calculating the hash. This way otherwise identical options can generate identical output.

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

Successfully merging this pull request may close these issues.

1 participant