added a more general operation to patch qt coreChange-Id: If3bbf6b4246d063fae182a978c208902c71a2eb4
Reviewed-on: http://codereview.qt-project.org/5307
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
create headless modesome build scripts want to generate a update file without launching
any user interface. Introduce some refactoring to be able to use
the networking code from a non-gui application as well
Change-Id: I187b7287095c89e140fbb68d9fdffe42c481ed52
Reviewed-on: http://codereview.qt-project.org/6013
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
Revi...
Implement mechanism to update the maintenace tool.Have an option to update the maintenace tool without using
the full installer binary. This can be used as fallback in
case the updater/ package manger won't start anymore.
Change-Id: I36be195203cb0172484d739c9f14a2e073ab7792
Reviewed-on: http://codereview.qt-project.org/5885
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
Reviewed-b...
Add some useful information about the installer base version.Add the git sha1 and the build date to the verbose output, seems
more useful then the static version 2 we had before. Add --version
command line paramter. Small changes to the verbose output.
Change-Id: Idce7025dd64f3d56c2e6c53408167c95f41040d4
Reviewed-on: http://codereview.qt-project.org/5863
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
...
Rename to "Restart" to make the action more clear.Change-Id: Icb65f09da56eae72e57548b7a565f54f9b68b928
Reviewed-on: http://codereview.qt-project.org/5854
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
Set force restart if we _have_ written a new installer base.Change-Id: I6b59adcc053f33092cc65c16b7fb82c08d221f9d
Reviewed-on: http://codereview.qt-project.org/5853
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
Fix QTIFW-46.Only create the target dir and not the full path to target.
Add a small fix for all installations using refactor, which
prevents the full folder hierarchy removal on uninstall.
Change-Id: Ibe025fb2bc3766b8b67cb3932b506543b2f24af8
Reviewed-on: http://codereview.qt-project.org/5804
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
Reviewed-by: Ka...
Support to Operations for method execution from main thread - Operations can request invocation of an arbitrary method which will be executed from the main thread
by emitting requestBlockingExecution(const QString &invokableMethodName)
The operation will block until the call returns.
Change-Id: If03ce2b7d7989eeb543d3902965f61dd7ab03749
Reviewed-on: http://codereview.qt-project.org/5698
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: ...
Extend the app to be able to copy only a new maintenance tool.This is now the default, as all installers out there put the
binary data into a separate file.
Change-Id: I1fe55613aad7200e6c6b658b5ab2179cc8ddf0a6
Reviewed-on: http://codereview.qt-project.org/5638
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
Extend fd8711f9c463c7f4023c6d37592c409f2cf80460.We need to make sure all updates are not checkable. There
was still the possibility to force a full install while
using the updater ui "Select All" - "Deslect All" buttons.
Change-Id: I47a50c4a29cdefaa7f53b3af35d6eaf08edad400
Reviewed-on: http://codereview.qt-project.org/5635
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Niels Weber <niels.2.weber@nokia.com>
Reviewed-by: Tim ...
now autodependon is like dependencies tag + self auto depend onChange-Id: I8c5071e869e9bc778c83e7d0e2267b90a1b00437
Reviewed-on: http://codereview.qt-project.org/5628
Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
Fixes QTIFW-41.If we have written a new binary and running as updater, check
the state the core engine is in to decide if we should restart.
Since the ui "Finish" button sets the core status to Canceled,
avoid to restart. In case we have written a new maintenance
tool, the core engine knows the need to restart, take this into
account on the ui restart page and "finish" the dialog.
Change-Id: I40fbc2d352d16f6...
fix foundImportantUpdate and rename it to essential - there was bug that unselected updates are removed in case there is an important update
- to avoid the error with old installation we are renaming Important tag to Essential which means the same but only works with this fix
Change-Id: Idea87bb828b1a358874b59ddafccf00c6ddaf417
Reviewed-on: http://codereview.qt-project.org/5592
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: ...
convert and use autodependencies like usually dependencies - this is needed to bring autodepended components in the right install order
Change-Id: Ic4ad1d3b152125827e9f533b9fd16a71d447cb02
Reviewed-on: http://codereview.qt-project.org/5077
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
only return true is all requirements are setif it cannot fetch the data from the repository, it should
handle this as no available updates.
Change-Id: I52f2f7360ceef37a6181f35b2c526c1babc862fa
Reviewed-on: http://codereview.qt-project.org/5071
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
normailze the qmake path from qtversion.xml - to compare normalize against normalized version
Change-Id: I438c787aeaa25b11708a4c63567e1104cd6839af
Reviewed-on: http://codereview.qt-project.org/4955
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@nokia.com>
store commits locally in settingsthat way a user does not need to enter all repositories again. Only
valid entries will be stored, so the lists should not become overblown
in a regular situation.
Change-Id: I694d564dd0f0f1e8ea54f083aab586800e74ea34
Reviewed-on: http://codereview.qt-project.org/4954
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
we need the application object for some informations laterChange-Id: I67e1a6d4c3dcbd62d7fda343054fc509d7b4b935
Reviewed-on: http://codereview.qt-project.org/4909
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
fix build: open with O_CREAT needs third mode_t argumentwe now pass 0600 to make the lock file only read+writeable to the user
Change-Id: Icdc3a39d919ac8df8273ce86daeb01efd4f56f92
Merge-request: 1
Reviewed-by: Niels Weber <niels.2.weber@nokia.com>
Reviewed-on: http://codereview.qt-project.org/4884
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
Fixes QTIFW-6."Update Info:" should be only visible in updater mode and
only if there is some text to display.
Change-Id: I81e7c0cc0a5532026f63d64ae8529f945884b328
Reviewed-on: http://codereview.qt-project.org/4558
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
fix QTSDK-855 - autodependon == is a dependency - so we need to resolve it as a dependency
Change-Id: If954c56e9e513c91fb3a249e9a1a5784fcc284a7
Reviewed-on: http://codereview.qt-project.org/4543
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
Fixes QTIFW-35.Can't close the maintenance tool while the details widget is
shown during perform update or installation. We need to check
if the core engines state is already canceled and than we can
close the whole application.
Change-Id: I332e7fcc4f9012fdf5ed84d23cf09cb1479ca72f
Reviewed-on: http://codereview.qt-project.org/4474
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Tim Jenssen <t...
Take replacements into account while running as installer.Change-Id: Ifd34330a146ac3153bcce4e939967f0bf9cf80b5
Reviewed-on: http://codereview.qt-project.org/4459
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
added possible operations to an extra page - maybe this way it is easier to add more operation documenation
Change-Id: I2555f855a9519fd2c02ca014b195bca79345e138
Reviewed-on: http://codereview.qt-project.org/4420
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
now the doc shows version nummer 1.2.0 and a small link name fixChange-Id: Iad3c928e9e72376e6b8bc8cec612e6c52924bee3
Reviewed-on: http://codereview.qt-project.org/4421
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Niels Weber <niels.2.weber@nokia.com>
now an installer/maintenancetool can run operationsChange-Id: I9cea18aea7cdc9091b8268692b37dc1ebd098936
Reviewed-on: http://codereview.qt.nokia.com/4267
Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
Make sure we can use possible to replace installed components.Means, once we notice that a component replaces a other,
we will remove it from the passed components list and
keep it inside the replacement hash. This needs to be
taken into account when we resolve component dependencies,
as a possible update might be a replacement, but not
scheduled for install while an other update to install
can have a dependency of the component to replace.
Change-Id: I0...
Expand the root item before resizing the columns.Makes sure that at least the first node is fully visible.
Change-Id: I5c9f476b2947276d81ac4571a824db5cf4e7b7ae
Reviewed-on: http://codereview.qt.nokia.com/4251
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
Reviewed-by: Niels Weber <niels.2.weber@nokia.com>
Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
fix that the checkupdate argument makes the right outputChange-Id: Ia98566cf1047077d86db519414930241d5cb00ca
Reviewed-on: http://codereview.qt.nokia.com/4210
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
No need to limit on directoriesSDK Maintenance packaging takes an installer binary, currently
breaks packaging on Linux at least
Change-Id: I8cad0387d8db349c65ca3f3839f14c23943e9c51
Reviewed-on: http://codereview.qt.nokia.com/3944
Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
only return true is all requirements are setif it cannot fetch the data from the repository, it should
handle this as no available updates.
Change-Id: I4d141399077d8c6212499f2beefc9de1862bf67d
Reviewed-on: http://codereview.qt.nokia.com/3863
Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
allow archivegen to archive multiple directoriesthis includes changing the syntax, it is now like in 7za
archivegen arch.7z dir1 dir2 ...
We will need this for further packaging. Adding incrementally
does not work as the fascade creates a temporary files and writes
it back. Hence we cannot add one directory after another
Change-Id: I1923a3beabacf7b8f3618807c5377061555d98b2
Reviewed-on: http://codereview.qt.nokia.com/3889
Reviewed-by: Qt Sa...