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

access to package cache needs to be locked for parallel dub runs #674

Closed
MartinNowak opened this issue Sep 8, 2015 · 2 comments
Closed
Assignees

Comments

@MartinNowak
Copy link
Member

Error loading package cache file /var/lib/jenkins/.dub/cache/code.dlang.org947724E28E9EFEC1.json: Expected '"' to terminate string.
@MartinNowak MartinNowak self-assigned this Sep 8, 2015
@MartinNowak
Copy link
Member Author

Same goes for downloading and extracting zip packages.

@MartinNowak MartinNowak changed the title access to package cache file needs to be locked for parallel dub runs access to package cache needs to be locked for parallel dub runs Sep 9, 2015
MartinNowak added a commit to MartinNowak/dub that referenced this issue Sep 14, 2015
- implement lockFile/tryLockFile using mkdir
- use lockFile to synchronize cache and
  package download
@MartinNowak
Copy link
Member Author

See #683

MartinNowak added a commit to MartinNowak/dub that referenced this issue Sep 15, 2015
- implement lockFile/tryLockFile using mkdir
- use lockFile to synchronize cache and
  package download
s-ludwig added a commit that referenced this issue Sep 23, 2015
fix #674 - cache needs to be locked for concurrent dub runs
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