summaryrefslogtreecommitdiffstats
path: root/installerbuilder/libinstaller/getrepositorymetainfojob.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Keep common just for the tools.kh12012-03-131-4/+3
| | | | | | | All other files should be in the lib anyway. Fix includes. Change-Id: I654fadf0a77b8d19953a6b47820e6398af11e2df Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Fix typos etcNiels Weber2012-03-071-12/+12
| | | | | Change-Id: I316c75f8a1d2d95e4cc6cf9b9b52cf952cb67507 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* Get rid of signing. We can put it back once we need it.kh12012-03-011-10/+1
| | | | | Change-Id: I1d8bc5655b25dafd30edfe24e7ef8f7fb6b1b9b6 Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Add missing braces. Fix broken meta download finished.kh12012-02-271-2/+3
| | | | | | | | | | | | In case the meta data download finished, but there was no hash given, the current package name wasn't reset so on the next run we would try to download the same file again and ended up in an endless loop. Reset the current name also in case there's no has to fix this loop. Change-Id: I1cdaa6e1fbbf13e3bb1852dc3d3fd8fffa28ee63 Reviewed-by: Niels Weber <niels.2.weber@nokia.com> Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Be more verbose about the file we fail. Adapt punctuation.kh12012-02-241-2/+2
| | | | | Change-Id: I88d8616757513ea14fbaa78a707f00095db16629 Reviewed-by: Niels Weber <niels.2.weber@nokia.com>
* Fix broken check based on translated stings.kh12012-02-091-6/+1
| | | | | Change-Id: I224642fa1115fc0280ed322ff2365ad1f3b2bb5b Reviewed-by: Niels Weber <niels.2.weber@nokia.com>
* update contact email to the current oneNiels Weber2012-02-061-2/+2
| | | | | Change-Id: Icc6560f9c65e294e01439f17ff02614d6dcf7dc8 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* more license header fixesNiels Weber2012-02-061-13/+13
| | | | | Change-Id: I694171e531edd5216401dcd99ce3040a1a007604 Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* fix cases where now only 2012 was stated as copyright yearkh12012-02-011-1/+1
| | | | | Change-Id: Iae8c25276707dd245bf8247bc4b71511a29901b0 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* Qt SDK -> Installer FrameworkNiels Weber2012-01-311-1/+1
| | | | | Change-Id: I143694ac2a62e3c0e2be003ffa0f7e37f00351a2 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* mass change 2011 -> 2012 for copyrightNiels Weber2012-01-311-1/+1
| | | | | | Change-Id: I66340dbc1f2a5a38ed98d1ad406c22b594d92b6e Reviewed-by: Alexander Lenhardt <alexander.lenhardt@nokia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* Fix I247cca06386eee0f1af084ac4c15a813e38c3f02.kh12012-01-231-17/+18
| | | | | | | | | | We need to update the repositories during fetch and restart afterwards. Thought we can't add them always, as otherwise we would restart again and again without fetching the actual meta data. Fully untested. Change-Id: I4420bfed56e060c67ce12cb684d422bcd0904bf3 Reviewed-by: Alexander Lenhardt <alexander.lenhardt@nokia.com>
* Initial part to update repositories.kh12012-01-201-4/+53
| | | | | Change-Id: I247cca06386eee0f1af084ac4c15a813e38c3f02 Reviewed-by: Alexander Lenhardt <alexander.lenhardt@nokia.com>
* Use qDebug instead of verbose.kh12012-01-171-3/+2
| | | | | | | The message handler now forwards everything to the verbosew riter anyway. Change-Id: I822f86e8f2e2e7690a3b855ed83199d2f41dc480 Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Small QString improvements.kh12012-01-171-2/+2
| | | | | | | | | Use QString::fromLatin1 instead of creating QLatin1String inside the the QString constructor first. Remove some superfluous QStrings at all. Change-Id: Icea93494c669ffa382fd5fbfacc6596383b4de21 Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com> Reviewed-by: Alexander Lenhardt <alexander.lenhardt@nokia.com>
* Add authentication support to the downloaders.kh12011-11-281-0/+12
| | | | | Change-Id: If2317d5aded40819f62fa942b3a8af53c954689c Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Cleanup.kh12011-11-281-1/+1
| | | | | | | | | Save some QLatin1String - QString conversion, remove dead code. Rename some functions, etc. Should not change much functionality. Change-Id: I42bfbe19d773e9fa2cc18e11e74f71ef271f4130 Reviewed-by: Niels Weber <niels.2.weber@nokia.com> Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Remaining whitespace, removal of empty destructors etc.hjk2011-11-211-1/+1
| | | | | Change-Id: I9f99ae71e832586432d6fc493a701c5d5d074d6a Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Simplify KD* directory structure.hjk2011-11-211-2/+2
| | | | | Change-Id: Ia6a4a9581873ada42aed3818d8fd2a4f41763f75 Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Remove re-directing KD* header.hjk2011-11-211-2/+2
| | | | | Change-Id: I840d5d7739161300b38ac9b77eaabb2840c9fe02 Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* added support for updateUrl redirectsAlexander Lenhardt2011-11-041-0/+4
| | | | | | | | | - Updates.xml can now have a tag <RedirectUpdateUrl> which can be set via repogen -u [URL] Change-Id: I6748d32341464a868b27e937f104f5601c39a726 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com> Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* added scRemoteVersion constant for better readabilityAlexander Lenhardt2011-10-131-1/+1
| | | | | | Change-Id: I781f58c74e318d0946026f691cb381634fd59704 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com> Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* append a random string to Updates.xml urlTim Jenssen2011-10-041-1/+4
| | | | | | | | | | - to avoid proxy caches Change-Id: I21d35b84301a97a4e13a5e6b7e990d9e13e20dfd Reviewed-on: http://codereview.qt-project.org/5894 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>
* Fix error handling for all user defined errors.kh12011-07-191-6/+5
| | | | | | | | Review-by: tjenssen We missed most of our own defined error cases, thus we never noticed e.g. wrong schemes for local repositories. Also make sure we emit the info message signal on error.
* Resolve TODO and make unzip threaded.kh12011-07-141-39/+98
| | | | Review-by: tjenssen
* Small cleanup. No need for a second QFile.kh12011-07-121-6/+5
|
* Move constants into it's own file.kh12011-07-051-0/+1
|
* Cleanup the error messages and add some missing punctuation.kh12011-06-291-14/+16
|
* Move constants into global file and use where possible.kh12011-06-091-2/+2
|
* Remove superfluous includes.kh12011-05-171-3/+0
|
* Repositories are always "required" now.kh12011-05-091-15/+0
|
* Get rid of the package manager parameter.kh12011-05-061-66/+29
| | | | | | | | A: It did not self explain what it does. B: We did not need it in case of an unimportant error. Simplify the code that manages the error case for an unrecoverable error.
* Make use of the commen error values.kh12011-05-061-14/+18
|
* Don't bail on user ignore error.kh12011-05-061-0/+19
| | | | | | If we can't access a not required repository the installer would stop afterwards, still the possibility is given that the requiered one was properly fetched.
* On cancel emit finished with error.kh12011-05-061-1/+1
|
* Properly qualify the error enums.kh12011-05-061-16/+17
|
* If we cancel we need to emit finished as well.kh12011-05-031-1/+3
|
* Small cleanup.kh12011-05-031-5/+3
|
* Update job info message and properly forward them.kh12011-05-031-3/+9
|
* assert -> Q_ASSERTkh12011-05-031-5/+3
|
* Fix endless loop.kh12011-03-031-2/+2
| | | | | | In case the update server could not be reached and the user pressed "Retry", we would hit an endless loop since the error condition was wrong.
* init commitTim Jenssen2011-02-211-0/+425