[yast-commit] r51544 - in /trunk/pkg-bindings: VERSION package/yast2-pkg-bindings.changes src/Target.cc
Author: lslezak Date: Thu Sep 25 17:45:51 2008 New Revision: 51544 URL: http://svn.opensuse.org/viewcvs/yast?rev=51544&view=rev Log: - Pkg::TargetLogfile() is obsoleted, the log file is now entirely handled by libzypp. The function does nothing now. (bnc#429954) See also http://en.opensuse.org/Libzypp/Package_History - 2.17.14 Modified: trunk/pkg-bindings/VERSION trunk/pkg-bindings/package/yast2-pkg-bindings.changes trunk/pkg-bindings/src/Target.cc Modified: trunk/pkg-bindings/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/pkg-bindings/VERSION?rev=51544&r1=51543&r2=51544&view=diff ============================================================================== --- trunk/pkg-bindings/VERSION (original) +++ trunk/pkg-bindings/VERSION Thu Sep 25 17:45:51 2008 @@ -1 +1 @@ -2.17.13 +2.17.14 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=51544&r1=51543&r2=51544&view=diff ============================================================================== --- trunk/pkg-bindings/package/yast2-pkg-bindings.changes (original) +++ trunk/pkg-bindings/package/yast2-pkg-bindings.changes Thu Sep 25 17:45:51 2008 @@ -1,4 +1,12 @@ ------------------------------------------------------------------- +Thu Sep 25 17:31:46 CEST 2008 - lslezak@suse.cz + +- Pkg::TargetLogfile() is obsoleted, the log file is now entirely + handled by libzypp. The function does nothing now. (bnc#429954) + See also http://en.opensuse.org/Libzypp/Package_History +- 2.17.14 + +------------------------------------------------------------------- Thu Sep 25 13:44:51 CEST 2008 - lslezak@suse.cz - added Pkg::SourceProvideSignedDirectory() to check the signatures Modified: trunk/pkg-bindings/src/Target.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/pkg-bindings/src/Target.cc?rev=51544&r1=51543&r2=51544&view=diff ============================================================================== --- trunk/pkg-bindings/src/Target.cc (original) +++ trunk/pkg-bindings/src/Target.cc Thu Sep 25 17:45:51 2008 @@ -137,27 +137,15 @@ /** ------------------------ * - * @builtin TargetLogfile - * @short init logfile for target + * @builtin TargetLogfile - obsoleted, do not use! * @param string name * @return boolean */ YCPBoolean PkgFunctions::TargetLogfile (const YCPString& name) { - try - { - bool ret = zypp_ptr()->target()->setInstallationLogfile (name->value()); - target_log_set = true; - return YCPBoolean(ret); - } - catch (zypp::Exception & excpt) - { - _last_error.setLastError(ExceptionAsString(excpt)); - y2error("TargetLogfile has failed: %s", excpt.asString().c_str()); - return YCPBoolean(false); - } - return YCPBoolean (true); // never reached + y2warning("Pkg::TargetLogfile() is obsoleted, the log file is now entirely handled by libzypp. See http://en.opensuse.org/Libzypp/Package_History"); + return YCPBoolean (true); } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
lslezak@svn.opensuse.org