Date: Thu, 29 Aug 2013 15:06:01 GMT From: mattbw@FreeBSD.org To: svn-soc-all@FreeBSD.org Subject: socsvn commit: r256693 - soc2013/mattbw/backend Message-ID: <201308291506.r7TF61Wo021234@socsvn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mattbw Date: Thu Aug 29 15:06:01 2013 New Revision: 256693 URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=256693 Log: Fix Resolve bug. This was caused by garbage being provided as the repository of the returned PackageID, as the call for pulling the repo information out of the resolved package was missing. In a somewhat backwards approach, the unit tests for the package to PackageID call will land in the next commit or so. Some rearranging will be needed to allow pkgutils to be tested. Modified: soc2013/mattbw/backend/pkgutils.c Modified: soc2013/mattbw/backend/pkgutils.c ============================================================================== --- soc2013/mattbw/backend/pkgutils.c Thu Aug 29 13:56:44 2013 (r256692) +++ soc2013/mattbw/backend/pkgutils.c Thu Aug 29 15:06:01 2013 (r256693) @@ -170,7 +170,8 @@ pkg_get(pkg, PKG_NAME, strv + PK_PACKAGE_ID_NAME, PKG_VERSION, strv + PK_PACKAGE_ID_VERSION, - PKG_ARCH, strv + PK_PACKAGE_ID_ARCH); + PKG_ARCH, strv + PK_PACKAGE_ID_ARCH, + PKG_REPONAME, strv + PK_PACKAGE_ID_DATA); return pk_package_id_build(strv[PK_PACKAGE_ID_NAME], strv[PK_PACKAGE_ID_VERSION],
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308291506.r7TF61Wo021234>