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

Always build the same input files to a stable output #299

Merged
merged 2 commits into from
Mar 4, 2016

Conversation

johan
Copy link
Contributor

@johan johan commented Mar 3, 2016

Leaning just on find for order, two different checkouts will produce different file list orders for different people building it, at the moment, on some OS:es / file systems. Sorting the input file list prior to compiling makes sure that built output will produce the same result no matter who builds it where, which is all sorts of helpful when the built file is also under version control.

(Leaning just on find for order, two different checkouts will produce different
file list orders for different people building, on some OS:es / file systems.)
@joeyparrish joeyparrish self-assigned this Mar 4, 2016
@joeyparrish joeyparrish added the type: enhancement New feature or request label Mar 4, 2016
@joeyparrish
Copy link
Member

@johan, could you add appropriate entries to CONTRIBUTORS and AUTHORS as well?

@johan
Copy link
Contributor Author

johan commented Mar 4, 2016

Certainly.

@joeyparrish
Copy link
Member

Looks good, thanks! Would you be willing to make a similar pull request in our preview branch for v2? We have replaced the shell build scripts with python-based scripts.

@johan
Copy link
Contributor Author

johan commented Mar 4, 2016

Sure; sounds worthwhile.

@johan
Copy link
Contributor Author

johan commented Mar 4, 2016

Ah, on a closer read – don't hold your breath; my python is rusty, and I don't use the v2 branch myself for anything yet, so I probably won't take time to do that until I end up actually using/needing it there myself.

@joeyparrish
Copy link
Member

Check out build/shakaBuildHelpers.py. getAllFiles() is the equivalent to v1's find commands.

joeyparrish added a commit that referenced this pull request Mar 4, 2016
Always build the same input files to a stable output
@joeyparrish joeyparrish merged commit 5aeb62c into shaka-project:master Mar 4, 2016
joeyparrish added a commit that referenced this pull request Apr 8, 2016
Always build the same input files to a stable output
kfwerf pushed a commit to tvoli/shaka-player that referenced this pull request May 12, 2016
Always build the same input files to a stable output
@github-actions github-actions bot added the status: archived Archived and locked; will not be updated label Jul 25, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: archived Archived and locked; will not be updated type: enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants