[Kde-pim] KDE/kdepimlibs/akonadi

Kevin Krammer kevin.krammer at gmx.at
Wed Dec 9 19:42:06 GMT 2009


SVN commit 1060735 by krake:

Sesame2 is no longer the only backend known to work.
In fact Nepomuk changed to Virtuoso as its default so this would needlessly alert users.

Switching the check to explicit blacklisting to avoid that happing in the future.

Assuming exception from string freeze after getting one OK and no complains in > 48 hours.

CCMAIL: kde-i18n-doc at kde.org
CCMAIL: kde-core-devel at kde.org
CCMAIL: kde-pim at kde.org



 M  +5 -4      selftestdialog.cpp  


--- trunk/KDE/kdepimlibs/akonadi/selftestdialog.cpp #1060734:1060735
@@ -429,13 +429,14 @@
     if ( reply.isValid() ) {
       const QString name = reply.value();
 
-      if ( name == QLatin1String( "sesame2" ) ) {
-        report( Success, ki18n( "Nepomuk search service uses Sesame2 backend. " ),
-                         ki18n( "The Nepomuk search service uses the recommended Sesame2 backend." ) );
-      } else {
+      // put blacklisted backends here
+      if ( name.contains( QLatin1String( "redland" ) ) ) {
         report( Error, ki18n( "Nepomuk search service uses inappropriate backend." ),
                        ki18n( "The Nepomuk search service uses the '%1' backend, which is not "
                               "recommended for use with Akonadi." ).subs( name ) );
+      } else {
+        report( Success, ki18n( "Nepomuk search service uses an appropriate backend. " ),
+                         ki18n( "The Nepomuk search service uses one of the recommended backends." ) );
       }
     }
   }
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list