| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In case the AM crashed or the bus died during an install-package
command, the appman-controller would have waited for a taskFail /
taskFinished signal infinitely.
We now detect a D-Bus service owner change (the AM crashed) and a
disconnected D-Bus (the bus died).
Even though the D-Bus daemon dying sounds unlikely, it is the norm
when running the AM with --dbus=auto (the default). If the AM crashes
(or gets terminated by an IDE), the private dbus-daemon just quits.
This makes the controller much more suitable for scripting.
Also fixed a bunch of clang/clazy warnings in this file.
Change-Id: I01a3772fd8773d707984a07d38cbce1d7ab36c94
Reviewed-by: Dominik Holland <dominik.holland@qt.io>
(cherry picked from commit ff5f0d9c4d14042eb020a8ba5cb9ee7e51195a65)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
| |
- most of the newer PackageManager signals were not exposed at all
- some properties were not exposed consistently or used the wrong type
- clarified the D-Bus policy settings in regards to properties
Change-Id: I6875c0a0613a0a63af2386d311a1a6c7c0031b7b
Reviewed-by: Dominik Holland <dominik.holland@qt.io>
(cherry picked from commit 4a14abf206c548b80f2942c4d42e23b0e97ddeb1)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
| |
QT_NO_AS_CONST is now globally enabled in qtbase.
Change-Id: Ifc2eab1c902e75f5dbfc38ef9a62b29b5c91bc61
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
(cherry picked from commit 1544f245bb22194a22c6eeb75d3b99b82cee15c1)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
| |
Change-Id: I29142dccb62f4f9689a13f0dd5d9b1d4f9f81e05
Pick-to: 6.4 6.3 6.2 5.15
Reviewed-by: Dominik Holland <dominik.holland@qt.io>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: I043882780fac7bed5d9dd75424ede46b54caa187
Reviewed-by: Dominik Holland <dominik.holland@qt.io>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
All C++ and QML unit-tests pass.
The QML "windowitem" test is very unstable though and often crashes
in the RHI layer.
Change-Id: Ia42fc71ad69d2ba74b8b631ded7569b48cf458ee
Reviewed-by: Robert Griebl <robert.griebl@qt.io>
|
|
|
|
|
|
|
| |
Updated documentation and bash completion.
Change-Id: Ie87c60cadfb46866b5cbfe9e8fdf8a646d28aa94
Reviewed-by: Robert Griebl <robert.griebl@qt.io>
|
|
|
|
|
| |
Change-Id: Ic0018eddb8fcfbd22136fbf62d3e15e0e1c4c0b3
Reviewed-by: Bernd Weimer <bernd.weimer@pelagicore.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The controller accepts the options for the command now also before
the actual command e.g. -ioe debug-application
This makes it easier for the user, as this is also the format printed
by QCommandLineParser::showHelp()
Showing the full help for all commands also when only the specific
help for a command should be provided, makes it very hard to see what
the correct usage for the command actually is.
We now show only a short help when a command is provided and the full
help in all other cases.
Change-Id: I6927cf465ba1dd46cfbf361af04a3bfc8d089b67
Reviewed-by: Robert Griebl <robert.griebl@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The bug was trickier than anticipated, because I thought that only the appman
side would check the meta-data. Turns out the controller tries to verify the
packageId as well, but the meta-data was just not sent over DBus. Why? Because
the Package object may not have been in model yet (on first installation), so
calling PackageManager::get(<id>) led to an empty (error) repsonse.
Also fixed a few left missing s/application/package/ replacements.
Change-Id: I6fc436270ad193203fca94e66e739ffd4baeae27
Fixes: AUTOSUITE-1461
Reviewed-by: Egor Nemtsev <enemtsev@luxoft.com>
|
|
|
|
|
|
| |
Change-Id: I84bbd9e7f735ed1864804a9887d3a02b7c925e53
Reviewed-by: Vladimir Minenko <vladimir.minenko@pelagicore.com>
Reviewed-by: Bernd Weimer <bernd.weimer@pelagicore.com>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
This is part 1 which is missing doc updates and missing the update-builtin-
applications functionality. Both will be added in a follow-up commit.
Change-Id: I2b493cfb7585143962067674690b02cc132ef78b
Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
|
|
|
|
|
| |
Change-Id: I861bd4167d8676c36e8f40c9acd35b17436ac6ff
Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
|
|
|
|
|
|
|
|
| |
- added 2019
- everything is (c) Luxoft instead of Pelagicore from now on
Change-Id: I82f874f0b0601deae1bb39347821edaf3c4cc6d8
Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Installations are now canceled automatically, if the appman-controller is
interrupted by Ctrl+C while the installation is running.
They can however also be explicitly canceled by means of the new commands
'list-installation-tasks' and 'cancel-installation-task'.
Task-number: AUTOSUITE-643
Task-number: AUTOSUITE-644
Change-Id: I7b48df3472273156332d5894289834efeb8785be
Reviewed-by: Nikolay Zamotaev <nzamotaev@luxoft.com>
Reviewed-by: Daniel d'Andrada <daniel.dandrada@luxoft.com>
|
|
|
|
|
|
|
| |
The controller would output a new-line even if no result was available.
Change-Id: Ibeb9408639ada9a004da50a1f1f68bde967064a2
Reviewed-by: Daniel d'Andrada <daniel.dandrada@luxoft.com>
|
|
|
|
|
|
|
|
| |
and replace them with the much more meaningful QMetaObject::invokeMethod,
now that we can use this with the C++11 connect syntax.
Change-Id: Ib16d214fc41d6994a3badab81094c32457dacd3a
Reviewed-by: Daniel d'Andrada <daniel.dandrada@luxoft.com>
|
|
|
|
|
|
|
|
|
|
| |
Also replaced all the weird singleShot-timer lambdas (needed to run the actual
code only after the event loop is up, because QtDBus needs one) with a central
runLater() function
Change-Id: I79814c65105e48b51f30b9f761a04ed799457963
Task-number: AUTOSUITE-184
Reviewed-by: Bernd Weimer <bernd.weimer@pelagicore.com>
|
|
|
|
|
| |
Change-Id: I46bb240aa843c297e83278a4f1b29f95be093c83
Reviewed-by: Thomas Senyk <thomas.senyk@pelagicore.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: I8d9278053ccdef5a57e51753aa6157941ebcee52
Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
|
|
|
|
|
|
|
| |
It provides command completion for appman-controller and appman-packager.
Change-Id: Ic8853c55c8a484fa7fb498f822727f167ad4b2e9
Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
* the appman binary is now built from src/tools/appman
* renamed all the main.cpp files to the names of their containing directories
(avoids a lot of confusion)
* all dependencies between the src modules and the tools are now handled
centrally in src.pro
* removed the Android deployment, since it doesn't work as-is on newer
Android version anymore - we have to come up with a new plan on how to
package up the AM plus a system-ui in one APK
Change-Id: Ieb4536a7ab2a301488de09db61844da092620859
Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
|