[PackageKit-commit] packagekit: Branch 'master' - 2 commits

Richard Hughes hughsient at kemper.freedesktop.org
Tue May 5 08:17:26 PDT 2009


 NEWS                                       |  120 +++++++++++++++++++++++++++++
 configure.ac                               |    2 
 docs/html/pk-download.html                 |    1 
 lib/packagekit-qt/test/daemontest.cpp      |    4 
 lib/packagekit-qt/test/transactiontest.cpp |    4 
 5 files changed, 126 insertions(+), 5 deletions(-)

New commits:
commit 56c696a782ea06de14a83f818d0e496735790c2c
Author: Richard Hughes <richard at hughsie.com>
Date:   Tue May 5 16:16:18 2009 +0100

    Release version 0.4.7

diff --git a/NEWS b/NEWS
index c3841ca..09adec5 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,123 @@
+Version 0.4.7
+~~~~~~~~~~~~~
+Released: 2009-05-05
+
+Notes:
+ - Many speed improvements to the yum backend
+ - Added media change support in a few backends
+
+Translations:
+ - Updated translation for Assamese (amitakhya, raven)
+ - Updated translation for Bengali (runab)
+ - Updated translation for Brazilian Portuguese (igor)
+ - Updated translation for Chinese (Simplified) (leahliu)
+ - Updated translation for Danish (kristho)
+ - Updated translation for Dutch (nippur)
+ - Updated translation for French (mrtom)
+ - Updated translation for German (fab)
+ - Updated translation for Gujarati (swkothar)
+ - Updated translation for Italian (marionline)
+ - Updated translation for Marathi (sandeeps)
+ - Updated translation for Oriya (mgiri)
+ - Updated translation for Kannada (shanky)
+ - Updated translation for Polish (raven)
+ - Updated translation for Portuguese (ruigo)
+ - Updated translation for Punjabi (aalam)
+ - Updated translation for Russian (amitakhya)
+ - Updated translation for Serbian (kmilos)
+ - Updated translation for Spanish (elsupergomez)
+ - Updated translation for Tamil (ifelix)
+ - Updated translation for Telugu (kkrothap)
+
+New Features:
+ - Add DOAP file to the project (Richard Hughes)
+ - Add a method to disable SIGKILL in PkSpawn (Richard Hughes)
+ - Added media change support to -qt lib (Daniel Nicoletti)
+ - Added support to recognize Debian version (Daniel Nicoletti)
+ - Add media change request support to the spawned backend (Sebastian Heinlein)
+ - Allow a spawned backend to opt-out of the SIGKILL cancel process (Richard Hughes)
+ - Remove job_count.dat, it's not used anymore (Richard Hughes)
+ - Remove the DBus backend. The only user (apt) has switched to spawned (Richard Hughes)
+ - New signal, media-change-required (daemon and glib) (Daniel Nicoletti)
+
+Bugfixes:
+ - Add support for /etc/lsb-release to pk_get_distro_id(). Fixes fd#21550 (Richard Hughes)
+ - Allow the dummy security model to authorise actions (Richard Hughes)
+ - Check the transaction totals are not zero before using them. Fixes rh#495849 (Richard Hughes)
+ - Correct the allow-cancel duplicate logic (Richard Hughes)
+ - Correct the logic for SetSynchronous without returning in the duplicate check (Richard Hughes)
+ - Display Message()'s in pkcon rather than just ignoring them (Richard Hughes)
+ - Don't filter out 'Presto' unconditionally from the stdout to fix rh#496091 (Richard Hughes)
+ - Fix compile on FreeBSD (Richard Hughes)
+ - pkgenpack man page still pointed to pk-generate-package-list (James Westby)
+ - pk_package_ids_check is not valid when the packageids array is zero length (Richard Hughes)
+ - Remove the NameOwnerChanged handler when we unref PkConnection to prevent a bug in client applications (Richard Hughes)
+ - Still use command not found for commands one character long (Richard Hughes)
+ - To fix spawned backends, http_proxy has to be a URI not a bare proxy. Fixes rh#491859 (Richard Hughes)
+ - Use the new session interface for installing Fontconfig resources and GStreamerCodecs (Richard Hughes)
+
+Libraries:
+ - PackageKit-Qt: Add support for cancel-foreign PolicyKit action (Adrien BUSTANY)
+ - Packagekit-Qt: Changed License to QString in package (Daniel Nicoletti)
+ - PackageKit-Qt: Drop support for building with CMake. The module for the lib is still included (Adrien BUSTANY)
+ - Packagekit-Qt: Switch some QSets to QFlags, because keyToValue() returns int not qint64 (Daniel Nicoletti)
+ - Packagekit-Qt: Adds registration to MessageType (Daniel Nicoletti)
+ - Packagekit-Qt: Fixed Message enum the same way as Filter and Action (Daniel Nicoletti)
+ - Packagekit-Qt: Removed a useless resolv method (Daniel Nicoletti)
+ - Packagekit-Qt: Renamed various enums to have a prefix to avoid conflicts (Daniel Nicoletti)
+ - Python: Add two further helpers get_package_id and split_package_id (Sebastian Heinlein)
+ - Python: Add two helpers format_string and text_to_bool to the backend module (Sebastian Heinlein)
+
+Backends:
+ - apt: Add a command line option to only operate a single command (Sebastian Heinlein)
+ - apt: Add a helper function to get the version instance matching a package id (Sebastian Heinlein)
+ - apt: Add media change request support. But in an ugly state (Sebastian Heinlein)
+ - apt: Emit a Package signal for the currently processed package while applying changes (Sebastian Heinlein)
+ - apt: Ifdef the distro upgrade correctly (Sebastian Heinlein)
+ - apt: install the script to create the mime and codec map (Sebastian Heinlein)
+ - apt: Make the unlock cache decorator even unlock the cache (Sebastian Heinlein)
+ - apt: Remove method _get_package_description since it is included in python-apt (Sebastian Heinlein)
+ - apt: Set the path to the codec and mime type handler map correctly (Sebastian Heinlein)
+ - apt: Turn the dbus backend into a spawned one (Sebastian Heinlein)
+ - apt: Use text_to_bool and format_string from the backend module (Sebastian Heinlein)
+ - apt: Use the new fetch_binary method to download packages (Sebastian Heinlein)
+ - apt: use the new get_package_id method (Sebastian Heinlein)
+ - aptcc: Added media change support (Daniel Nicoletti)
+ - conary: Add exception for bad xml generation (Andres Vargas)
+ - conary: Add generateXML with it no need get XML from web (Andres Vargas)
+ - conary: Add get-repo-list (Andres Vargas)
+ - conary: Add more validations of network (Andres Vargas)
+ - conary: Add search file (Andres Vargas)
+ - conary: Disable packageBrowsing (Andres Vargas)
+ - conary: Fix status on get-repo-list (Andres Vargas)
+ - conary: Make remove packages faster (Andres Vargas)
+ - conary: New fetch xml cache for unsupported repos (Andres Vargas)
+ - dummy: Add media-change-required support into the dummy backend (Richard Hughes)
+ - dummy: Allow setting the use-gpg and use-eula variables in runtime (Richard Hughes)
+ - dummy: Set allow-cancel TRUE at the start of UpdatePackages (Richard Hughes)
+ - opkg: Let opkg backend compilable again (Tick Chen)
+ - opkg: Update the filters using pk_bitfield_contain (Tick Chen)
+ - smart: Add arch package versioning support (Anders F Bjorklund)
+ - smart: Better download status for slack/arch (Anders F Bjorklund)
+ - smart: Don't require rpm-python (Anders F Bjorklund)
+ - yum: Catch RepoError when we try to get the ChangeLog (Richard Hughes)
+ - yum: Catch yum.Errors.RepoError rather than printing a backtrace. Fixes rh#494227 (Richard Hughes)
+ - yum: Check for the package_id and error out if invalid. We can't imply resolve now (Richard Hughes)
+ - yum: Consider the installed state when we do newest filtering. Fixes rh#472876 (Richard Hughes)
+ - yum: Deal with Presto downloading updates in a better way (Richard Hughes)
+ - yum: Disable the refresh-packagekit plugin when running under PackageKit (Richard Hughes)
+ - yum: Don't search all repos when we resolve a package_id to a pkg. This saves
+        55ms per lookup, and makes multiple package matches much quicker (Richard Hughes)
+ - yum: Do the download name parsing code a better way so that we work with Presto (Richard Hughes)
+ - yum: Emit a backend message when the transaction status isn't known (Richard Hughes)
+ - yum: Fix up a pylint warning in the new status code (Richard Hughes)
+ - yum: Handle repo-set-data with an invalid repo in a better way (Richard Hughes)
+ - yum: Only filter newest by name and not name+arch. Fixes rh#493936 (Richard Hughes)
+ - yum: Only search the rpmdb when the package_id data is installed (Richard Hughes)
+ - yum: Opt out of SIGKILL as this can lead to RPM database corruption in some situations (Richard Hughes)
+ - yum: Send INFO_FINISHED when we've finished downloading a file. Fixes rh#496787 (Richard Hughes)
+ - yum: When yum fails to load the rpmdb, it helpfully emits TypeError. Catch. (Richard Hughes)
+
 Version 0.4.6
 ~~~~~~~~~~~~~
 Released: 2009-03-30
diff --git a/configure.ac b/configure.ac
index 0d70def..85d5bec 100644
--- a/configure.ac
+++ b/configure.ac
@@ -20,7 +20,7 @@ DEVELOPMENT_RELEASE=yes
 # AGE		If libpackagekit can be linked into executables which can be
 # 		built with previous versions of this library. Don't use.
 LT_CURRENT=11
-LT_REVISION=5
+LT_REVISION=6
 LT_AGE=0
 AC_SUBST(LT_CURRENT)
 AC_SUBST(LT_REVISION)
diff --git a/docs/html/pk-download.html b/docs/html/pk-download.html
index 0030496..aff8449 100644
--- a/docs/html/pk-download.html
+++ b/docs/html/pk-download.html
@@ -68,6 +68,7 @@ Releases are normally once every 2-3 weeks.
 </p>
 <table>
 <tr><td><b>Version</b></td><td>&nbsp;&nbsp;</td><td><b>Date</b></td></tr>
+<tr><td>0.4.7</td><td></td><td>2009-05-05</td></tr>
 <tr><td>0.4.6</td><td></td><td>2009-03-30</td></tr>
 <tr><td>0.4.5</td><td></td><td>2009-03-09</td></tr>
 <tr><td>0.4.4</td><td></td><td>2009-02-23</td></tr>
commit 3a02ecb53344f970113980d1ecc93c44a2076a68
Author: Daniel Nicoletti <dantti85-pk at yahoo.com.br>
Date:   Tue May 5 15:37:32 2009 +0100

    Fix up the PackageKit-Qt self tests for the release
    
    Signed-off-by: Richard Hughes <richard at hughsie.com>

diff --git a/lib/packagekit-qt/test/daemontest.cpp b/lib/packagekit-qt/test/daemontest.cpp
index cf93450..810dd22 100644
--- a/lib/packagekit-qt/test/daemontest.cpp
+++ b/lib/packagekit-qt/test/daemontest.cpp
@@ -11,7 +11,7 @@ DaemonTest::~DaemonTest()
 void DaemonTest::getActions()
 {
 	PackageKit::Client::Actions act = PackageKit::Client::instance()->getActions();
-	CPPUNIT_ASSERT(act.contains(PackageKit::Client::ActionInstallPackages)); // Not really a test, but if *that* fails, then things are going badly :)
+	CPPUNIT_ASSERT(act & PackageKit::Client::ActionInstallPackages); // Not really a test, but if *that* fails, then things are going badly :)
 }
 
 void DaemonTest::getBackendDetail()
@@ -23,7 +23,7 @@ void DaemonTest::getBackendDetail()
 void DaemonTest::getFilters()
 {
 	PackageKit::Client::Filters f = PackageKit::Client::instance()->getFilters();
-	CPPUNIT_ASSERT(f.contains(PackageKit::Client::FilterInstalled)); // Not really a test, but if *that* fails, then things are going badly :)
+	CPPUNIT_ASSERT(f & PackageKit::Client::FilterInstalled); // Not really a test, but if *that* fails, then things are going badly :)
 }
 
 void DaemonTest::getGroups()
diff --git a/lib/packagekit-qt/test/transactiontest.cpp b/lib/packagekit-qt/test/transactiontest.cpp
index 5f50be3..e2a2406 100644
--- a/lib/packagekit-qt/test/transactiontest.cpp
+++ b/lib/packagekit-qt/test/transactiontest.cpp
@@ -27,7 +27,7 @@ void TransactionTest::searchName()
 void TransactionTest::searchDesktop()
 {
 	success = FALSE;
-	Package* p = PackageKit::Client::instance()->searchFromDesktopFile("/usr/share/applications/nautilus-cd-burner.desktop");
+	Package* p = PackageKit::Client::instance()->searchFromDesktopFile("/usr/share/applications/gnome-terminal.desktop");
 	qDebug() << "searchDesktop";
 	CPPUNIT_ASSERT_MESSAGE("searchDesktop", p);
 }
@@ -77,7 +77,7 @@ void TransactionTest::getDistroUpgrades()
 	CPPUNIT_ASSERT_MESSAGE("getDistroUpgrades", t != NULL);
 	QEventLoop el;
 	connect(t, SIGNAL(finished(PackageKit::Transaction::ExitStatus, uint)), &el, SLOT(quit()));
-	connect(t, SIGNAL(distroUpgrade(PackageKit::Client::UpgradeType, const QString&, const QString&)), this, SLOT(getDistroUpgrades_cb()));
+	connect(t, SIGNAL(distroUpgrade(PackageKit::Client::DistroUpgradeType, const QString&, const QString&)), this, SLOT(getDistroUpgrades_cb()));
 	el.exec();
 	CPPUNIT_ASSERT_MESSAGE("getDistroUpgrades (not fatal, only means there are no distro upgrades)", success);
 


More information about the PackageKit-commit mailing list