aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/docker/dockerplugin.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Docker: Simplify plugin definitionhjk2023-07-141-23/+24
| | | | | Change-Id: If37a8df1292f01f1048549adb135a65fda66a09f Reviewed-by: Marcus Tillmanns <[email protected]>
* Docker: Simplify settings accesshjk2023-07-141-5/+4
| | | | | Change-Id: I0ecbba9d29b041b06dac26159be702a38db42185 Reviewed-by: Marcus Tillmanns <[email protected]>
* Docker: Remove DockerPlugin::dockerApi()hjk2023-05-251-10/+0
| | | | | | | Access is nowadays via DockerApi::instance() Change-Id: Idc1530358771c3a008182661c263c30b68fe84be Reviewed-by: Christian Kandeler <[email protected]>
* Docker: Use PagedSettingshjk2023-05-101-1/+0
| | | | | | | More compact. Change-Id: Ic21c6ea9e7faf67e5f507f336f18e1134b371a97 Reviewed-by: Alessandro Portale <[email protected]>
* Use simpler Plugin::initialize() when feasiblehjk2023-01-201-6/+1
| | | | | Change-Id: I567965d266f20526bda9f823e31a04b354d53fb1 Reviewed-by: Eike Ziller <[email protected]>
* Remove GPL-3.0+ from license identifiersKai Köhne2023-01-061-1/+1
| | | | | | | | | | | | | | | Since we also license under GPL-3.0 WITH Qt-GPL-exception-1.0, this applies only to a hypothetical newer version of GPL, that doesn't exist yet. If such a version emerges, we can still decide to relicense... While at it, replace (deprecated) GPL-3.0 with more explicit GPL-3.0-only Change was done by running find . -type f -exec perl -pi -e "s/LicenseRef-Qt-Commercial OR GPL-3.0\+ OR GPL-3.0 WITH Qt-GPL-exception-1.0/LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0/g" {} \; Change-Id: I5097e6ce8d10233993ee30d7e25120e2659eb10b Reviewed-by: Eike Ziller <[email protected]>
* Use SPDX license identifiersLucie Gérard2022-08-261-24/+2
| | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. Task-number: QTBUG-67283 Change-Id: I708fd1f9f2b73d60f57cc3568646929117825813 Reviewed-by: Eike Ziller <[email protected]>
* filesystem: Add QFSEngine for filepathsMarcus Tillmanns2022-07-211-0/+4
| | | | | Change-Id: Ibd0c88c69863c0877138d8cc45541530c359bd9c Reviewed-by: hjk <[email protected]>
* Docker: Move to Tr::trhjk2022-07-141-4/+2
| | | | | | | There were no strings in the .ts files yet. Change-Id: I86e7edace45db796fc3cc80d2735d1a80b897c85 Reviewed-by: Eike Ziller <[email protected]>
* docker: Change Settings to single ownerMarcus Tillmanns2022-07-051-9/+9
| | | | | | | | | | | | | | We change DockerSettings to have a single owner. Since DockerDevices are destroyed after the plugin is unloaded, we have to make sure to remove the settings from devices during plugin teardown. For this we store a list of created devices in the factory, and call their shutdown function when the plugin unloads. Change-Id: Ic9c7d8ad9437c48d68f20c9a8f8ad7449b3cb972 Reviewed-by: hjk <[email protected]>
* docker: Add dockercli settingMarcus Tillmanns2022-07-041-7/+4
| | | | | Change-Id: I46fada555d697007042d823ef1cad0658be98e22 Reviewed-by: hjk <[email protected]>
* Docker: Remove DockerBuildStephjk2022-06-101-1/+2
| | | | | | | | | That was part of the initial Proof of Concept and is not needed anymore, the normal build steps can nowadays be remote. Change-Id: Ic69ff89ebdcf8e6aef73d71954a48501c68c60ff Reviewed-by: Qt CI Bot <[email protected]> Reviewed-by: Christian Stenger <[email protected]>
* docker-plugin: fix daemon stateMarcus Tillmanns2022-04-071-12/+9
| | | | | | | | Changed daemon state to actually check the docker runtime to determine if its available or not. Change-Id: I9e183658dfc7c34e229aec2a332cf303793284e5 Reviewed-by: hjk <[email protected]>
* Docker: Remove DockerRunConfigurationhjk2021-10-271-9/+0
| | | | | | | | | | | | | This was a helper in the initial work on docker support which has been commented out for a while already. Using "docker runconfig" would technically work, however, this is conceptionally the same as the old "matrix problem": We'd need docker-specific almost-duplicates for every existing non-docker runconfig. This does not scale. Change-Id: Idf96abb6487903fdb89e7168a5ed78b9dc9dcecf Reviewed-by: David Schulz <[email protected]>
* Docker: Handle daemon globallyChristian Stenger2021-08-111-0/+21
| | | | | | | The daemon state is not a device dependent setting. Change-Id: Ic972fdc5cbb06395e04709858312b4d336321577 Reviewed-by: hjk <[email protected]>
* Docker: Disable original development helper itemshjk2021-06-081-9/+9
| | | | | | | | Proper Docker support will re-use the original build system's build and run configurations. Change-Id: I910512e4943bae90905f16607f9af0548c8078ba Reviewed-by: Christian Stenger <[email protected]>
* Docker: Add a build stepAlessandro Portale2021-04-221-0/+3
| | | | | | | | | | | | | | | | Let's have a build step which allows running a command on a registered Docker image, which is defined by the Kit's build device. If the build device is the Local PC, run the command locally. This specialized build step will most likely be removed after the existing steps have been taught to run on the Kit's build device. For now it is part of a POC that allows to experiment with non-local build commands. Task-number: QTCREATORBUG-22362 Change-Id: Ifda503ee346b67857a5b82c05cb38cf7f63698d0 Reviewed-by: hjk <[email protected]>
* Docker: Add DockerDevice and a simple run confighjk2021-04-131-0/+16
| | | | | | | | The "Docker Container" runconfig executes 'docker run <image>' without further attributes, and "works" with docker's hello-world example image. Change-Id: Ib9417d238ac0757db16be1fc21af40c81db02f05 Reviewed-by: Alessandro Portale <[email protected]>
* Docker: New empty shellhjk2021-03-181-0/+60
The usual boiler plate for plugins, including an option page that knows how to run "docker search" for demonstration purposes. Change-Id: I2df91f18f4869cbb2ee8f65ccb8b41969f8c90ae Reviewed-by: Alessandro Portale <[email protected]>