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

Implement offline mode for the 'install' command. #2578

Merged
merged 3 commits into from May 15, 2015

Conversation

Projects
None yet
2 participants
@23Skidoo
Copy link
Member

23Skidoo commented May 5, 2015

When in offline mode, 'cabal install' only installs packages from the local
tarball cache. Offline mode can be enabled with the '--offline' flag.

Fixes #2566.

@23Skidoo

This comment has been minimized.

Copy link
Member

23Skidoo commented May 5, 2015

/cc @dcoutts

23Skidoo added some commits Nov 14, 2012

Implement offline mode for the 'install' command.
When in offline mode, 'cabal install' only installs packages from the local
tarball cache. Offline mode can be enabled with the '--offline' flag.

Fixes #2566.

@23Skidoo 23Skidoo force-pushed the 23Skidoo:offline-mode branch from cf5604d to 54edd8f May 5, 2015

@dcoutts

This comment has been minimized.

Or could suggest cabal fetch, which just downloads things.

This comment has been minimized.

Copy link
Owner

23Skidoo replied May 13, 2015

Fixed. In fact, install --only-dependencies wouldn't work because of this check.

@dcoutts

This comment has been minimized.

Copy link

dcoutts commented on 993a008 May 15, 2015

LGTM

dcoutts added a commit that referenced this pull request May 15, 2015

Merge pull request #2578 from 23Skidoo/offline-mode
Implement offline mode for the 'install' command.

@dcoutts dcoutts merged commit 9e10034 into haskell:master May 15, 2015

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@23Skidoo 23Skidoo deleted the 23Skidoo:offline-mode branch May 15, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment