Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

chore(version-info): disable remote requests when offline #14759

Merged
merged 1 commit into from
Jun 13, 2016

Conversation

petebacondarwin
Copy link
Contributor

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

chore

What is the current behavior? (You can also link to an open issue here)

slow offline compiling (but not the sort in A2 ;-) )

What is the new behavior (if this is a feature change)?

a check for internet connection before attempting remote server requests

Does this PR introduce a breaking change?

Nope

Please check if the PR fulfills these requirements

Other information:

When the internet is not accessible build scripts are unnecessarily slow
because of failed attempts to download git tag and CDN version information
from remote servers.

This commit does a synchronous check of internet connectivity before attempting
any remote requests.

When the internet is not accessible build scripts are unnecessarily slow
because of failed attempts to download git tag and CDN version information
from remote servers.

This commit does a synchronous check of internet connectivity before attempting
any remote requests.
@petebacondarwin petebacondarwin added this to the 1.5.7 milestone Jun 13, 2016
@petebacondarwin petebacondarwin merged commit 6a13460 into angular:master Jun 13, 2016
petebacondarwin added a commit that referenced this pull request Jun 13, 2016
When the internet is not accessible build scripts are unnecessarily slow
because of failed attempts to download git tag and CDN version information
from remote servers.

This commit does a synchronous check of internet connectivity before attempting
any remote requests.

Closes #14759
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants