Commit Graph

13 Commits

Author SHA1 Message Date
Christian Kandeler
e3e8b62417 RemoteLinux: Make deployment method downgrade transparent
Fixes: QTCREATORBUG-29710
Change-Id: I27f3252f8a3d9bc03f2abd096aae6f0df4a6448c
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-02-23 14:46:28 +00:00
Christian Kandeler
7323c97ada RemoteLinux: Fix rsync fallback
Do not fall back to generic copy right away; try sftp first.

Change-Id: I6eb61c4644219facc81a518fb7726192575db630
Reviewed-by: hjk <hjk@qt.io>
2024-01-29 15:21:00 +00:00
Jarek Kobus
465259eb3b RemoteLinux: Make chmod a part of sftp transfer
Task-number: QTCREATORBUG-29971
Change-Id: Icee46c0442f58a054cf15021f64595765909a586
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2023-12-08 14:20:36 +00:00
Eike Ziller
2e280e1c50 Merge remote-tracking branch 'origin/12.0'
Conflicts:
	src/plugins/clangcodemodel/clangdfollowsymbol.cpp
	src/plugins/debugger/debuggerruncontrol.cpp
	src/plugins/projectexplorer/miniprojecttargetselector.cpp

Change-Id: I45b7fee1a1d784c44f2139fb1ede69190d23d6fd
2023-12-06 16:50:15 +01:00
Jarek Kobus
b26d7b0f48 RemoteLinux: Preserve TransferMethod setting
Change-Id: I265831c4a552caa258417952bd418a284734fd4b
Reviewed-by: hjk <hjk@qt.io>
2023-11-27 14:15:31 +00:00
Jarek Kobus
ce80a6dad5 TaskTree: Rename TreeStorage<> -> Storage<>
This addresses the 20th point in the master task below.

Task-number: QTCREATORBUG-28741
Change-Id: I696beda87430fbe637abba8054012fb77516e220
Reviewed-by: hjk <hjk@qt.io>
2023-11-20 08:25:50 +00:00
Jarek Kobus
ced3052e7f TaskTree: Get rid of Storage subclass of GroupItem
Make the c'tor of the GroupItem taking the TreeStorageBase
public instead.

This addresses the 20th point in the master task below.

Task-number: QTCREATORBUG-28741
Change-Id: I78320ec24b4e4b915ab549135fb93b45c658b9f2
Reviewed-by: hjk <hjk@qt.io>
2023-11-20 07:47:54 +00:00
Jarek Kobus
4c38f68d0f TaskTree: Rename StopWithDone -> StopWithSuccess
Make naming consistent with recent changes.
"Done" is meant to be an event name when the task / group
finishes. "Done" may finish with "Success" or an "Error".

This addresses the 26th point in the task below.

Task-number: QTCREATORBUG-28741
Change-Id: I53ed6905b1c385c398f49e122e8ca60aa3ad0806
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: hjk <hjk@qt.io>
2023-11-07 14:09:23 +00:00
Jarek Kobus
6e6aa7102c TaskTree: Introduce CallDoneIf enum
Get rid of CustomTask c'tor taking 3 handlers.
If the done handler needs to be called only on
success or an error, add explicit 3rd arg of CallDoneIf type.

Task-number: QTCREATORBUG-29834
Change-Id: I10e55415587e6cac46620dd5177ad8269584583c
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-11-07 11:51:25 +00:00
Jarek Kobus
2697a960a8 GenericDeployStep: Get rid of isDeploymentNecessary()
Make it a part deployRecipe().

Change-Id: Ice297fbcd1c50e09d92110452c92aee7259eabcb
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2023-10-26 11:52:42 +00:00
Jarek Kobus
4645c713d2 GenericDeployStep: Fix rsync step
Don't use a copy of m_files for mkdirTask(), as m_files is
modified by the running recipe. So, when the recipe is prepared,
the m_files doesn't contain the right data, yet.

This is going to be refactored in master, as it seems the
isDeploymentNecessary() operating on mutable internals
is confusing.

Fixes: QTCREATORBUG-29609
Change-Id: I3f34584ffd9486322e8b26f95ac72b96a9306f8b
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2023-10-23 15:31:59 +00:00
Eike Ziller
479f955e94 GenericDeployStep: Add missing reference, avoid auto
Change-Id: Ib240bfefaea6c0637cbe66310cb4cc98db78c0d9
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2023-10-19 08:39:13 +00:00
hjk
687dfea03b RemoteLinux: Rename rscyncdeploystep.* to genericdeploystep.*
Change-Id: Ia1a3a18690fb1f3301e97a628ebe3d20568871eb
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2023-10-06 11:49:48 +00:00