-
Notifications
You must be signed in to change notification settings - Fork 211
adding locking to prevent two parallel builds of the same installation directory #3009
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
Merged
Merged
Changes from 4 commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
0260023
adding a locking feature that will prevent two parallel builds of the…
mboisson 4311615
appeasing hound
mboisson 0d74bd0
adding silent mode for printed messages to hopefully make tests pass.
mboisson e6bd046
adding the option to specify the lock path using a global argument
mboisson e467ba3
appeasing hound
mboisson 9c725e7
made one more message silent. changed the default lockpath to use ins…
mboisson dfb9a7b
appeasing hound
mboisson 655d494
fix mkdir of lockpath to include parents
mboisson 4e63736
Merge branch 'upstream_develop' into build_lock
mboisson 69cf227
fixed test for toy_build, given locks
mboisson 21900fc
fixing test for toy_build, to take locks into account
mboisson 5efac48
trying to fix test agian
mboisson 4edcfd9
trying to fix test agian
mboisson a9038ca
trying to fix test agian
mboisson f355c1a
trying to fix test agian
mboisson a6f92f5
bug fix: actually proceed with installation after waiting for lock to…
boegel 41ad45b
don't print messages when creating/removing lock, just log an info me…
boegel 0e7c818
make wait-for-lock interval configurable via --wait-for-lock
boegel fbb7c7f
rename --lockpath to --locks-dir
boegel 878d611
add test for lock that prevents two identical installations happening…
boegel 79a880a
add --ignore-locks option
boegel 9724ed9
fix broken toy tests, take into account .locks dir in software directory
boegel 5adfc37
fix failing test_module_only
boegel f77ced5
use directory as lock
boegel 81f7833
ensure cleaner error when lock dir can't be created
boegel e39976b
Merge pull request #20 from boegel/build_lock
mboisson af2f6e5
enhance lock test to check for clean error
boegel 5c5d242
appease the Hound
boegel 774f589
also accept 'Permission denied' error in test for failing lock creation
boegel 697ff6e
Merge pull request #21 from boegel/build_lock
mboisson 1b85909
sort lists before comparing them in test_toy_modaltsoftname
boegel 4b01f31
Merge pull request #22 from boegel/build_lock
mboisson File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.