summaryrefslogtreecommitdiffstats
path: root/doc/controller.qdoc
Commit message (Collapse)AuthorAgeFilesLines
* Refactor packager and controller using a command base classRobert Griebl7 days1-2/+2
| | | | | | | | | | | | | While at it, the new parsePassword function from the controller was moved into the base class as well and put to use in the packager as well. It also received a secure Windows and Unix implementation for readPasswordFromConsole(), that do not echo the password while you are typing. Change-Id: I163b89c253fae2bcc9e558793487e8f886a37ea3 Pick-to: 6.11 Reviewed-by: Bernd Weimer <bernd.weimer@qt.io>
* Better and more secure password options for appman-controllerRobert Griebl2025-11-191-0/+42
| | | | | | | | | | | Also added documentation for the new commands. The '--password stdin' option needs improvement, but this should be done in conjunction with switching the packager over to this style of password parsing. Change-Id: I2601e0bfca12c578b9c6cdc6b930523c1f260fae Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* Doc: explain how to run the controller when user-ids do not matchRobert Griebl2024-10-181-0/+4
| | | | | | Change-Id: I8899c898d02dc103cbe594d650ad96a44227966b Pick-to: 6.8 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* Revamp the instance-id and the dbus anchors for the controllerRobert Griebl2024-01-251-4/+22
| | | | | | | | | | | | | | | | | | | | This is necessary for a nicer QtCreator integration, plus it fixes two bugs: 1) the DBus data was overwritten by an instance with the same id. 2) the controller could not address 2 instances with the same id individually Instead of 3 separate, unprotected files (one for each DBus interface) in /tmp, we are now creating 2 files in $XDG_RUNTIME_DIR /qtapplicationmanager (or the temp dir on non-Linux platforms) - a .lock file (via QLockFile), which let's us track an instance's lifetime - a .json file which currently contains the DBus addresses for the singleton interfaces Pick-to: 6.7 Change-Id: Idd4fff96897ec9bb609cbf5521317b74df6d0fd4 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* Update command completion and docuBernd Weimer2023-07-251-0/+8
| | | | | | | | | Aligned bash completion to current options and added missing task commands to controller docu. Pick-to: 6.6 Change-Id: I34dbf86142016f7bd57d1d0c6aa879a98792f193 Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* Fix a few documentation inconsistenciesRobert Griebl2022-09-271-1/+1
| | | | | | Change-Id: I33b43f1af4f052ef70fdad80b6abf8cec91f5930 Pick-to: 6.4 6.3 6.2 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* Intents: allow intent injection via DBus when in developmentModeRobert Griebl2022-09-161-3/+31
| | | | | | | | This makes testing and debugging Intents a lot easier, especially since you can even fake the requesting application id. Change-Id: Ie5d46bd2e3a9962ca533bf75d7262c20f95d42b6 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* Add support for managing multiple instances from appman-controllerRobert Griebl2022-06-301-0/+4
| | | | | | | | | | | | Added an optional instance-id, which can be set via command line option or via am-config.yaml in the appman process. appman-controller also gained a new option --instance-id to address the given instance, instead of the default, unnamed one. Change-Id: I582d0ea69ed0697ee9ac7353725f93c50df05e34 Pick-to: 6.4 5.15 Fixes: AUTOSUITE-1678 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* Use SPDX license identifiersDominik Holland2022-06-151-28/+4
| | | | | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. Files that have to be modified by hand are modified. License files are organized under LICENSES directory. Pick-to: 6.4 Task-number: QTBUG-67283 Change-Id: I09660e42dea769d720ff30e652485d9861cea965 Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* Docs: 6.2 Release reviewNicholas Bennett2021-12-011-2/+1
| | | | | | | | | | | | | | Removed notes related to minor Qt5 changes. Spelling and grammar correction. Utilized notes and warnings formatting in places for clarity. Updated the name of the online qdocconf file. Used grouping to create the important topics list. Removed qt 5 to qt 5 migration guides from important topics. Task-number: QTBUG-97120 Pick-to: 6.2 Change-Id: Ide5354e987c5175a08030cf32d78b38bae68e53e Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* Update copyright headers to 2021 an finally switch to the GPLRobert Griebl2021-06-011-8/+9
| | | | | | | | | Also removed all the SPDX tags and -QTAS license extensions. Change-Id: Ibd10fe37afcbba832831d027cf2f1891ca0226c0 Fixes: AUTOSUITE-1648 Fixes: AUTOSUITE-1646 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* Correct tools command line optionsBernd Weimer2020-09-171-4/+13
| | | | | | | Updated documentation and bash completion. Change-Id: Ie87c60cadfb46866b5cbfe9e8fdf8a646d28aa94 Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* Rename from Luxoft AM to Qt AMRobert Griebl2019-08-051-1/+1
| | | | | | Change-Id: I84bbd9e7f735ed1864804a9887d3a02b7c925e53 Reviewed-by: Vladimir Minenko <vladimir.minenko@pelagicore.com> Reviewed-by: Bernd Weimer <bernd.weimer@pelagicore.com>
* Remove support for multiple installation locationsRobert Griebl2019-08-021-3/+0
| | | | | | | | | | | We had removed support for SD-Card (removable location) installations in a previous patch. Supporting multiple non-removable locations adds a lot of complexity to the AM's installer that isn't really needed, since modern Linux kernels can support these niche use-cases much more transparently through the device mapper/lvm infrastructure. Change-Id: Iaf10d2eb28b9d61e54c5268bcbdd623005b8508d Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Make it clear that DBus is a requirement for the appman-controllerRobert Griebl2019-06-241-0/+3
| | | | | | | Change-Id: I09c650940d4c625415f8018ca4f6a4acfaa3003a Task-number: AUTOSUITE-1051 Reviewed-by: Stanislav Maksimov <smaksimov@luxoft.com> Reviewed-by: Kavindra Palaraja <kpalaraja@luxoft.com>
* [docs] More review of QtApplicationManager documentationKavindra Palaraja2019-04-021-28/+23
| | | | | | | | | | | | | * Add a diagram to that illustrates the architecture of Qt Application Manager for the Introduction topic * Swap out "app" for "application" where logical, to standardize terminology * Swap out "System-UI" for "System UI" * Swap out "application-manager" for "application manager" * Lots of simplification of sentences to improve readability Task-number: AUTOSUITE-778 Change-Id: Id4b8791d2750728892d9b0abc479dd7dd78ad450 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Update copyright statementsRobert Griebl2018-12-181-1/+2
| | | | | | | | - added 2019 - everything is (c) Luxoft instead of Pelagicore from now on Change-Id: I82f874f0b0601deae1bb39347821edaf3c4cc6d8 Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Make the acknowledge part of appman-controller's install-package optionalRobert Griebl2018-03-061-1/+6
| | | | | | | | | | | | Acknowledging package installations by default could interfere with System-UI logic, so we shouldn't do it by default. There is now a new switch -a/--acknowledge however which will activate the old behavior and forces installation even on minimal System-UIs that do not implement the package acknowledge callback. Change-Id: If7e4faa328a98a231eccf36515bc0e568004d41d Task-number: QTAUTO-835 Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Update Pelagicore copyright headers to 2018Robert Griebl2018-02-071-1/+1
| | | | | Change-Id: I8d9278053ccdef5a57e51753aa6157941ebcee52 Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Update tools documentationBernd Weimer2018-01-101-10/+47
| | | | | | | | Removed obsolete deployer documentation and aligned packager and controller docu with command line help. Change-Id: I2b217ff9a86017130b7a546cf00f5bcf1bcc8d22 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Replace debug-wrapper specifications with more powerful syntaxRobert Griebl2017-07-051-3/+3
| | | | | | | | | | | | Pre-defining the wrappers in a config file turned out to be too inflexible for everyday use, so wrapper specifications are now direct shell commands with placeholders (e.g. "valgrind --tool=helgrind %program%"). In addition, these command also support specifying environment variable, just as you would do on the command line (e.g. "QT_DEBUG_PLUGINS=1 strace") Change-Id: I1509a9fefd01c778e2fb6c5b87f811ec9571a946 Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Updated Pelagicore AG copyright to 2017Robert Griebl2017-01-161-1/+1
| | | | | | | Also added a few pro file tweaks to make this search&replace easier next year. Change-Id: I2d1153d62bfe558075009abcd8cad491f149c93f Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Doc: Various documentation fixes and improvementsTopi Reinio2016-09-191-0/+3
| | | | | | | | | | | | | - Add QML Types into the offline table-of-contents - Fix offline landing page - Language, linking edits - Fix terminology (QML element -> type/item) - Write \brief statements for the command-line tools and list them in a table - Update occurrences of 'info.json' to 'info.yaml' Change-Id: I78e4c02d0f6f2c0852f36cfe814a2d1c44e79dba Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Extended the appman-controller tool to do more than installing appsRobert Griebl2016-08-161-5/+34
| | | | | | | | It is now an extensible utility that (as of now) supports starting, stopping, debugging and listing applications, as well as package installations. Change-Id: I85cb8d88e8854d217f3e7e64945930851e837b5e Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Updated tool docsRobert Griebl2016-06-061-0/+12
| | | | | Change-Id: I7b79cb493151b0ec436d5e27e489f5fe69237f88 Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Fixed license header to align with the final QtAS contract.Robert Griebl2016-06-021-13/+9
| | | | | | | | | | | The AppMan is triple-licensed now, like the rest of Qt: commercial, LGPL3 and GPL2/3 To be more aligned with Qt, the docs are also FDL and the tests, as well as the tools are GPL-EXCEPT now. Change-Id: Ib0168a112c3bcd340576f92416a6fe36fa315240 Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* More installer documentationRobert Griebl2016-04-271-0/+33
Change-Id: Ia91904fdbae295ff2e6c43862402db04997ce96d Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>