Merge topic 'ep-update-disconnected'

8cc45e150a ExternalProject: Make hg download method respect UPDATE_DISCONNECTED
1512dc43cb ExternalProject: Avoid reconfigure when updates are disconnected
1d29cf37a1 Tests: Reduce warning noise in ExternalProjectUpdate test

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8498
This commit is contained in:
Brad King
2023-05-23 15:06:10 +00:00
committed by Kitware Robot
8 changed files with 202 additions and 61 deletions
@@ -0,0 +1,14 @@
ep-update-disconnected
----------------------
* The ``update`` and ``patch`` steps of an :module:`ExternalProject` will now
always re-execute if any of their details change, even if
``UPDATE_DISCONNECTED`` was set to true in the call to
:command:`ExternalProject_Add`. If using the GIT download method and the
``GIT_TAG`` is changed and the new ``GIT_TAG`` isn't already known locally,
this is now a fatal error instead of silently using the previous ``GIT_TAG``.
* When ``UPDATE_DISCONNECTED`` is set to true in a call to
:command:`ExternalProject_Add`, the ``configure`` step will no longer
re-run on every build. It will only re-run if details of the ``download``,
``update`` or ``patch`` step change.