OSDN Git Service

Harmattan: Fix package version updates.
authorChristian Kandeler <christian.kandeler@nokia.com>
Mon, 5 Sep 2011 13:49:30 +0000 (15:49 +0200)
committerEike Ziller <eike.ziller@nokia.com>
Wed, 7 Sep 2011 10:28:17 +0000 (12:28 +0200)
commit51d0e389511f275630a5b3ac85eae47a0f4cfb70
treec4e9488367d6711fb92133c5f562100a865329af
parent38fce2ccb8fe88f1c9e65f5ed881fb201d5a597d
Harmattan: Fix package version updates.

Obviously, we can't just globally replace all version numbers. Instead,
we now duplicate the latest entry and replace version number, date and
comments. Also implemented is a simple check guarding against
downgrading, which just checks whether the "new" version number already
appears in the changlog file.

Task-number: https://bugreports.qt.nokia.com/browse/QTCREATORBUG-5797
Change-Id: I17512169972415f60d1a9715ac8b98d185da8694
Reviewed-on: http://codereview.qt.nokia.com/4209
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
src/plugins/remotelinux/maemopackagecreationwidget.cpp
src/plugins/remotelinux/qt4maemotarget.cpp