Merge remote-tracking branch 'origin/2.0'

Change-Id: Ibd01bc156481df973e3c9371d77af338a5e82607
This commit is contained in:
Iikka Eklund 2016-10-25 10:00:30 +03:00
commit 9269a8262f
3 changed files with 13 additions and 3 deletions

View File

@ -1,5 +1,14 @@
2.1.0
2.0.4
- Set also display name for Repository action "remove"
- Adjusted wrong repogen parameter name
- Fix settings test
- Make Execute operation work without arguments in Windows
- Add make install functionality with INSTALL_ROOT
- Do not force doc build on Linux when calling "make install"
- Documentation updates
2.0.3
- Update Japanese translation.
- Make IFW compile with FreeBSD. (QTIFW-841)

View File

@ -930,8 +930,8 @@
\li Update all packages in the packages directory. The list can be further
filtered with the \c {-i}, \c {-e} parameters.
\row
\li --update-new-packages
\li Update only packages that are new or have a newer version. The
\li --update-new-components
\li Update only components that are new or have a newer version. The
list can be further filtered with the \c {-i}, \c{-e}
parameters.
\row

View File

@ -397,7 +397,8 @@ MetadataJob::Status MetadataJob::parseUpdatesXml(const QList<FileTaskResult> &re
}
} else if (action == QLatin1String("remove")) {
// remove possible default repositories using the given server url
Repository repository(resolveUrl(result, el.attribute(QLatin1String("url"))), true);
Repository repository(el.attribute(QLatin1String("url")), true);
repository.setDisplayName(el.attribute(QLatin1String("displayname")));
repositoryUpdates.insertMulti(action, qMakePair(repository, Repository()));
qDebug() << "Repository to remove:" << repository.displayname();