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

Cache downloads #297

Closed
bitemyapp opened this issue Jun 14, 2015 · 4 comments
Closed

Cache downloads #297

bitemyapp opened this issue Jun 14, 2015 · 4 comments
Assignees
Milestone

Comments

@bitemyapp
Copy link
Contributor

@bitemyapp bitemyapp commented Jun 14, 2015

From IRC (this was about Cabal, but still holds)

04:25 < Birch> I'm going to be stepping on a plane in a few hours, and would like to get some programming done on the 
               flight. Does anyone have any tips for helping me be productive on the flight? Like making sure my 
               hoogle data is up to date and the like?
04:26 < Birch> Like will I be able to rebuild a sandbox without an internet connection if I once downloaded the 
               dependencies, a la maven?
@snoyberg snoyberg added this to the First stable release (0.1.0.0?) milestone Jun 14, 2015
@snoyberg
Copy link
Contributor

@snoyberg snoyberg commented Jun 14, 2015

This sounds like a good flag to build and test, perhaps --prefetch, like --dry-run works right now. Should actually be pretty easy to implement.

@snoyberg snoyberg self-assigned this Jun 15, 2015
@snoyberg snoyberg added the ready label Jun 15, 2015
snoyberg added a commit that referenced this issue Jun 15, 2015
@snoyberg
Copy link
Contributor

@snoyberg snoyberg commented Jun 15, 2015

@bitemyapp I just added the --prefetch option, which combined with --dry-run gives the behavior I think you're describing here. Can you give it a shot?

@bitemyapp
Copy link
Contributor Author

@bitemyapp bitemyapp commented Jun 15, 2015

@snoyberg

Edited: needed build in front of the options. There's an opportunity here to avoid confusion I'll elaborate on in another ticket.

@bitemyapp
Copy link
Contributor Author

@bitemyapp bitemyapp commented Jun 15, 2015

@snoyberg it worked for Bloodhound, thank you!

@bitemyapp bitemyapp closed this Jun 15, 2015
@snoyberg snoyberg removed the ready label Jun 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants