Fix and improve TG discovery support in TG export/import
|Assignee:||Antti Villberg||% Done:|
|Velocity based estimate||-|
|Release||Simantics 1.32.0||Release relationship||Auto|
The very basic support for this was implemented in #7103 but it requires a lot of work still to actually sensibly.The UI parts still need the following fixes:
- all transitive dependencies must be written into the TG metadata
- progress monitor must be handled more properly than now (recursive importing with the same monitor)
- wizard UI must show the required missing dependencies and allow the user to select whether to attempt downloading them or not. The UI must not download anything without permission.
The original changes for this went into 1.28.0 already, which have the nasty capability of causing the platform code to open network connections to external sites looking for external downloadable shared libraries without prompting the user in any way. Also, the code contains a simple resource leak that leaves the opened network connections to be closed by finalization which is easy to fix.