| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| |
| | |
Task-number: QTIFW-1713
Change-Id: I44d844e60ec57aa4b0128e7b0a50f7c182872490
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
| |
| |
| |
| |
| |
| | |
Task-number: QTIFW-1721
Change-Id: I874095cfbbb3b80925b1fa1c61774b4858955887
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
| |
| |
| |
| |
| |
| | |
Task-number: QTIFW-1720
Change-Id: I2b4f1c7fd83bdb50a8eeba55f9dc632219e7c3c7
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
| |
| |
| |
| |
| |
| | |
Task-number: QTIFW-1722
Change-Id: I84444aebf87a64b5696c8abd9fc1808986c77069
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
|
| |
| |
| |
| |
| | |
Change-Id: I533a4ab2591e13abceab371a943adf9cf1781d61
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Installer checks if running processes are found from install tree and
prevents removing/updating. Added test executable to allowed running
process list as we are not trying to remove it.
Change-Id: I74445f54971942bbe81bab6c49378fe0a345aa3f
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
|
| |
| |
| |
| |
| |
| | |
Change-Id: I7fb184cec2f0d62097a05966779002541145e823
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
| |
| |
| |
| |
| | |
Change-Id: Iefdd33f42a803a7b594a9495ddeab4d504f6b132
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
|
| |
| |
| |
| |
| |
| | |
Task-number: QTIFW-1701
Change-Id: I1ae59a0a352578918a718d89ce600f4e41910306
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Maintenancetool does not allow updating install if running processes are
found from install directory. Only maintenancetool process was allowed,
otherwise the install failed with query to shut down processes. This
commit adds a function to extend the allowed processes to be
run, this is mandatory when running tests as test executable lies in the
install directory.
Task-number: QTIFW-1019
Change-Id: I5422b0327e3f77edf3f9c88c74f40eff5cc8c830
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Update was working only for latter component if several was given as
arguments.
Added also unit tests for cli option update
Also created common functions which are used by several
command line test.
Task-number: QTIFW-1695
Change-Id: I472e1c34bcfb1b60cda110353068f2cec64c468f
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Also fix found bug with empty search string causing replacement of
every line in a file.
Task-number: QTIFW-1697
Change-Id: I226aa8aa4cab62befb6828aa8e27d9f83e25e7e6
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
| |
| |
| |
| |
| |
| | |
Task-number: QTIFW-1699
Change-Id: Iac6ba6429d71a31f659914929141b3e04879bf8a
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Also add note of the intended target platform to documentation.
Task-number: QTIFW-1696
Change-Id: I60f6cfcaf03a32c2dd466c529b81dde477f8e3bd
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
|
| |
| |
| |
| |
| |
| | |
Task-number: QTIFW-1638
Change-Id: I027ce7d70cb5a49f1c2a2ed39979a0d3c8773282
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
|
| |
| |
| |
| |
| |
| |
| | |
Task-number: QTIFW-1638
Change-Id: Idd22ee15d01efc0f131c57b5da220de2ae9015b8
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Split long functions into smaller understandable functions, added
unit tests for metadatajob.
Change-Id: Ib423eab3c9ae7771fb032b99f767f96e52266ea7
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Added two new configure options for repogen. --unite-metadata will
create both 'old' style meta 7z, which is one per component, and new
style which is one per repository. --unite-metadata-only will create
only new syntax meta 7z. One meta 7z per repository will significantly
decrease the download time if there are several packages in one
repository.
Change-Id: I651b24e93fdef3efb6253ee9b119ebad3bae4d59
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Some unit tests wont work as installer wants to unpack maintenance tool
from the installer. As unit tests are not normal installers we need to
separate the maintenance unpacking when running tests.
Change-Id: I5f2bb60e775a42d1b8dd6ee088ff4f2a694a7a09
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add single or couple letter short options and two letter short commands.
Single letter short options can be passed in a single joined form, for
instance '-dg'.
Also change CLI options constant string literals type to QLatin1String
as we would have to use this as a wrapper anyway wherever the constants
would be used, causing quite long and verbose statements.
Task-number: QTIFW-1634
Change-Id: I17e80c9a657d934687d2b7e87fcecddffa1b9b21
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Rename and alter the description of some command line options
according to validation results from task QTIFW-1635. The
suggested additions are not added in this change.
- Remove options "framework-version" and "silentUpdate", these
should not be needed anymore.
- Combine options "installPackages" and "installDefault" into
single "install" command.
- Change command line syntax from "binary [options]" to
"binary [options] command <arguments>".
- Re-order & group known option variables and "--help" printing
order based on their topic.
- Move CommandLineParser class files under src/libs/installer
and add private class for future options extension.
Short versions of command line options should be added in a
follow-up commit.
Task-number: QTIFW-1671
Change-Id: Ie0d393368b5275c8ffa1ab8833885b149af3178e
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Values were introduced as lower case but referenced as upper case.
Change-Id: I73cf0bf18cb4dc0610818dc713f916f4bc25bc48
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Change-Id: Ifc3f54104d4c48ddf3c814af84906d7e0abb9fd4
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | | |
Change-Id: Ifd6ef236400cf449278e48ccc14ffd8fc4d8b2a8
Reviewed-by: Toni Saario <toni.saario@qt.io>
Reviewed-by: Matti Paaso <matti.paaso@qt.io>
|
|\ \ \
| | |/
| |/|
| | | |
Change-Id: Ia4cf718409ce431cce8d766865ecec506426afb9
|
| | |
| | |
| | |
| | |
| | |
| | | |
Change-Id: Ib3e9429b18cd296b483880de06f1fda04b16f64f
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
Reviewed-by: Antti Kokko <antti.kokko@qt.io>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I2c1cf408709a0dc3b4a34b21d9f086254b253260
Reviewed-by: Antti Kokko <antti.kokko@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This was causing problems while building with msvc2013.
Change-Id: Idd6b3b4c55d2cedb946b22db75d95222d37fe64b
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Also move functionality to PackageManagerCore::checkAvailableSpace()
for more convenient later usage, if we want to use this without
starting the Wizard GUI.
Task-number: QTIFW-1602
Change-Id: I4f2d3cc78bc542475fe9c51b9364b1b221098e4a
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I012d9c07fe5f6551e64aabe8debca76a40f5f3b2
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add some basic output information about updated components when running
repogen with --update-new-components option in silent mode. --update
option is left silent in this regard as it is not component version
filtered, updating everything when -e or -i parameters are not passed.
Task-number: QTIFW-1543
Change-Id: I453a4107a3ec3702945becf4e15a87aad3423c2f
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The return value for undoOperation() was incorrect when dealing with
non-persistent variable, causing an empty installer error dialog to
appear if the current env does not contain exactly same variable value
as on installation.
The return value inside !isPersistent condition scope should always be
true regardless of if the temporary variable set on installation still
exists on current environment or contains the same value.
Change-Id: If7deaa310d73a371194138fa1e2c382614452e26
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Fixes: QTIFW-1526
Change-Id: I085dd8b2818f26058432d165a1250b3ac67e1dda
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I37f0950686aeb303328d7e8137fc4c7cfe7e8840
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | | |
Change-Id: Ifdc7a63b9e60807b0d5f6e68758296d417da1d1c
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
|
| |/
|/|
| |
| |
| | |
Change-Id: I921f364022cea0d2a0213e49bc6af6f95a6ca64c
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
| |
| |
| |
| |
| |
| | |
Task-number: QTIFW-1633
Change-Id: I207cd152a471fddd51c152223460f8a9873f4382
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add a bottom scrolling progress indicator that is shown during meta
job progresses and installation phase. Also add printing of messages
previously shown only on the GUI Wizard's progress bar labels.
Task-number: QTIFW-1625
Change-Id: Ic3f92a31c98e41686517f49bbe98fd81fe11d13f
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add option "--uninstaller" to start the installer binary explicitly as
uninstaller. This complements options "--updater" and
"--manage-packages".
Add convenience functions for setting and checking if the magic binary
marker has been set by the user.
Task-number: QTIFW-1639
Change-Id: Ie40ba9c56e09be079e309bca985b19a8a7bef7ef
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
| |
| |
| |
| |
| | |
Change-Id: I123b1c6a06717c37387a636aae8296e27c1df8c0
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| | |
We are not showing GUI in checkupdates so add it to options too
Change-Id: I581df6671429ce83d9d48e613f5e6a7e7e3501ed
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
|
| |
| |
| |
| |
| |
| |
| | |
Also remove extra space and quotation marks from print output
Change-Id: I18eb3532ac79f407023e15ef7ebab78ca0a7f59e
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Debug prints can be suppressed or extended with logging rules. Make the
default usage so that only relevant information will be shown to user,
such as uninstall/install progress, server information, warning messages
and package name, version and displayname.
Change-Id: I09be754a36dd97530d75cdea3edb5fc77e67a856
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If magic binary marker is set to either updater or package manager,
act as before.
If the marker is set to uninstaller (default for maintenance tool),
decide the default checked button based on if any valid repositories
are available - a prerequisite for package manager and updater
actions to succeed.
If repositories are available the default is "Add or remove components",
otherwise "Remove all components".
Modify validRepositoriesAvailable() implementation to suit this change
and better match its function name.
Task-number: QTIFW-349
Change-Id: Idf92ad3a2b294cc1ecb939d716f2852ad1872f15
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Try to use default target directory value from internal configuration
when --targetDir option is not set. This affects usage of options
--installDefault and --installPackages (when running as installer).
Task-number: QTIFW-1608
Change-Id: Ieac709f6e3d7c539a3a1cb66dce8eb448b20dcfe
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Components can be uninstalled from CLI with
--uninstallPackages package1,package2,... Replicates the same behavior
as when removing from visual UI, so forced installation, virtual and
components installed as autodependency cannot be uninstalled.
Change-Id: Ibcd87b5ceb8e509c84c6944510c23e59b28dedb9
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Also remove extra space and quotation marks around printed component
values.
Task-number: QTIFW-1577
Change-Id: If2c81609e32ee40b81a70106b2e9bf8ac536c089
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
|
| |
| |
| |
| |
| | |
Change-Id: I657645f2126813a93bc38626fabf46deb4711791
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| | |
The change enables easier filtering of log messages
Change-Id: I769f7c163e20f34c37fa0fe2b0729867ffca5bcb
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
|