Mailinglist Archive: yast-commit (723 mails)

< Previous Next >
[yast-commit] r47252 - in /trunk/pkg-bindings: VERSION package/yast2-pkg-bindings.changes src/Callbacks.cc src/Resolvable_Patches.cc
  • From: lslezak@xxxxxxxxxxxxxxxx
  • Date: Fri, 02 May 2008 13:16:53 -0000
  • Message-id: <20080502131653.B603E2608C@xxxxxxxxxxxxxxxx>
Author: lslezak
Date: Fri May 2 15:16:53 2008
New Revision: 47252

URL: http://svn.opensuse.org/viewcvs/yast?rev=47252&view=rev
Log:
- pass requested product in the media change callback (bnc#330094,
comment #10)
- 2.16.32

Modified:
trunk/pkg-bindings/VERSION
trunk/pkg-bindings/package/yast2-pkg-bindings.changes
trunk/pkg-bindings/src/Callbacks.cc
trunk/pkg-bindings/src/Resolvable_Patches.cc

Modified: trunk/pkg-bindings/VERSION
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/pkg-bindings/VERSION?rev=47252&r1=47251&r2=47252&view=diff
==============================================================================
--- trunk/pkg-bindings/VERSION (original)
+++ trunk/pkg-bindings/VERSION Fri May 2 15:16:53 2008
@@ -1 +1 @@
-2.16.31
+2.16.32

Modified: trunk/pkg-bindings/package/yast2-pkg-bindings.changes
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/pkg-bindings/package/yast2-pkg-bindings.changes?rev=47252&r1=47251&r2=47252&view=diff
==============================================================================
--- trunk/pkg-bindings/package/yast2-pkg-bindings.changes (original)
+++ trunk/pkg-bindings/package/yast2-pkg-bindings.changes Fri May 2 15:16:53
2008
@@ -1,4 +1,11 @@
-------------------------------------------------------------------
+Fri May 2 10:59:16 CEST 2008 - lslezak@xxxxxxx
+
+- pass requested product in the media change callback (bnc#330094,
+ comment #10)
+- 2.16.32
+
+-------------------------------------------------------------------
Mon Apr 28 14:46:06 CEST 2008 - lslezak@xxxxxxx

- RepositoryAdd() - added "priority" key (bnc#381360)

Modified: trunk/pkg-bindings/src/Callbacks.cc
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/pkg-bindings/src/Callbacks.cc?rev=47252&r1=47251&r2=47252&view=diff
==============================================================================
--- trunk/pkg-bindings/src/Callbacks.cc (original)
+++ trunk/pkg-bindings/src/Callbacks.cc Fri May 2 15:16:53 2008
@@ -1073,8 +1073,8 @@
// current URL
callback.addStr( report_url.asString() );

- // current product name (use the alias, see #214886)
- callback.addStr( std::string() /*FIXME*/ );
+ // repo alias (see bnc#330094)
+ callback.addStr( label );

// current medium, -1 means enable [Ignore]
callback.addInt( 0 );

Modified: trunk/pkg-bindings/src/Resolvable_Patches.cc
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/pkg-bindings/src/Resolvable_Patches.cc?rev=47252&r1=47251&r2=47252&view=diff
==============================================================================
--- trunk/pkg-bindings/src/Resolvable_Patches.cc (original)
+++ trunk/pkg-bindings/src/Resolvable_Patches.cc Fri May 2 15:16:53 2008
@@ -99,6 +99,12 @@
zypp::Patch::constPtr pch =
zypp::asKind<zypp::Patch>(i->resolvable());
std::string name(pch->name());

+ y2debug("Procesing patch %s: interactive: %s, affects_pkg_manager:
%s, reboot_needed: %s", name.c_str(),
+ pch->interactive() ? "true" : "false",
+ pch->affects_pkg_manager() ? "true" : "false",
+ pch->reboot_needed() ? "true" : "false"
+ );
+
// the best patch for the current arch, no preferred version, only
needed patches
ProvideProcess info(zypp::ZConfig::instance().systemArchitecture(),
"", true);


--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages