Skip to content

Skip externals update when already up to date - #1502

Open
fmahebert wants to merge 1 commit into
MPAS-Dev:developfrom
fmahebert:skip_checkout_externals
Open

Skip externals update when already up to date#1502
fmahebert wants to merge 1 commit into
MPAS-Dev:developfrom
fmahebert:skip_checkout_externals

Conversation

@fmahebert

Copy link
Copy Markdown

This PR is a possible fix to #1501

The PR branch first runs checkout_externals --status to check whether the external versions match what is in Externals.cfg. Only if there is a mismatch do we fall back to remote git operations to update the local copy. We determine the mismatch by parsing the output of the status command.

Tested by running locally and observing (a) out-of-date externals are still updated from upstream, and (b) up-to-date externals are now verified locally and network access is skipped.

This saves 3-4 seconds of configure time on my dev system.

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

Successfully merging this pull request may close these issues.

1 participant