[yast-commit] [ci_new_pac] JFYI yast2-pkg-bindings -> sle12
Script 'mail_helper' called by ro Hello packager, This is just FYI. Your package was checked in in distribution "sle12" by autobuild-member: ro. Here comes the log... ---------------------------%<------------------------------ Hi, here is the log from ci_new_pac /mounts/work_src_done/SLE12/yast2-pkg-bindings -> sle12 Changes: -------- --- /work/SRC/SUSE:SLE-12:GA/yast2-pkg-bindings/yast2-pkg-bindings.changes 2014-01-17 14:16:32.000000000 +0100 +++ /mounts/work_src_done/SLE12/yast2-pkg-bindings/yast2-pkg-bindings.changes 2014-02-13 20:13:32.000000000 +0100 @@ -1,0 +2,7 @@ +Thu Feb 13 16:35:53 UTC 2014 - lslezak@suse.cz + +- Pkg::ServiceRefresh() - add, refresh and load also the new added + repositories from the service +- 3.1.4 + +------------------------------------------------------------------- calling whatdependson for sle12-i586 Packages directly triggered for rebuild: - yast2-pkg-bindings - at least 72 other packages ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/SUSE:SLE-12:GA/yast2-pkg-bindings (Old) and /mounts/work_src_done/SLE12/yast2-pkg-bindings (BS:build ID:32746 MAIL:yast-commit@opensuse.org) (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "yast2-pkg-bindings", Maintainer is "yast-commit@opensuse.org" Old: ---- yast2-pkg-bindings-3.1.3.tar.bz2 New: ---- yast2-pkg-bindings-3.1.4.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-pkg-bindings-devel-doc.spec ++++++ --- /var/tmp/diff_new_pack.rIo0YU/_old 2014-02-14 14:01:00.000000000 +0100 +++ /var/tmp/diff_new_pack.rIo0YU/_new 2014-02-14 14:01:00.000000000 +0100 @@ -1,7 +1,7 @@ # -# spec file for package yast2-pkg-bindings-devel-doc +# spec file for package yast2-pkg-bindings # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,10 +15,11 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - Name: yast2-pkg-bindings-devel-doc -Version: 3.1.3 +Version: 3.1.4 Release: 0 +License: GPL-2.0 +Group: Documentation/HTML BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: yast2-pkg-bindings-%{version}.tar.bz2 Prefix: %_prefix @@ -32,10 +33,9 @@ BuildRequires: yast2-core-devel BuildRequires: yast2-devtools >= 3.1.10 -BuildArch: noarch +Buildarch: noarch Requires: yast2-pkg-bindings = %{version} Summary: YaST2 - Documentation for yast2-pkg-bindings package -License: GPL-2.0 Group: Documentation/HTML %description @@ -54,11 +54,10 @@ %install %yast_install + %files %defattr(-,root,root) # do not use yast_docdir macro as it use wrong pkg name %dir %{_datadir}/doc/packages/yast2-pkg-bindings %doc %{_datadir}/doc/packages/yast2-pkg-bindings/xml %exclude %{_datadir}/doc/packages/yast2-pkg-bindings/COPYING - -%changelog ++++++ yast2-pkg-bindings.spec ++++++ --- /var/tmp/diff_new_pack.rIo0YU/_old 2014-02-14 14:01:00.000000000 +0100 +++ /var/tmp/diff_new_pack.rIo0YU/_new 2014-02-14 14:01:00.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package yast2-pkg-bindings # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,12 +17,15 @@ Name: yast2-pkg-bindings -Version: 3.1.3 +Version: 3.1.4 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: %{name}-%{version}.tar.bz2 +Group: System/YaST +License: GPL-2.0 + BuildRequires: docbook-xsl-stylesheets BuildRequires: gcc-c++ BuildRequires: libtool @@ -35,8 +38,6 @@ Requires: libzypp >= 14.2.1 Summary: YaST2 - Package Manager Access -License: GPL-2.0 -Group: System/YaST %description This package contains a name space for accessing the package manager @@ -55,10 +56,9 @@ rm -rf %{buildroot}/%{yast_plugindir}/libpy2Pkg.la + %files %defattr(-,root,root) %{yast_plugindir}/libpy2Pkg.so.* %{yast_plugindir}/libpy2Pkg.so %doc %{yast_docdir} - -%changelog ++++++ yast2-pkg-bindings-3.1.3.tar.bz2 -> yast2-pkg-bindings-3.1.4.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-pkg-bindings-3.1.3/package/yast2-pkg-bindings-devel-doc.spec new/yast2-pkg-bindings-3.1.4/package/yast2-pkg-bindings-devel-doc.spec --- old/yast2-pkg-bindings-3.1.3/package/yast2-pkg-bindings-devel-doc.spec 2014-01-10 11:11:00.000000000 +0100 +++ new/yast2-pkg-bindings-3.1.4/package/yast2-pkg-bindings-devel-doc.spec 2014-02-14 10:44:38.000000000 +0100 @@ -16,7 +16,7 @@ # Name: yast2-pkg-bindings-devel-doc -Version: 3.1.3 +Version: 3.1.4 Release: 0 License: GPL-2.0 Group: Documentation/HTML diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-pkg-bindings-3.1.3/package/yast2-pkg-bindings.changes new/yast2-pkg-bindings-3.1.4/package/yast2-pkg-bindings.changes --- old/yast2-pkg-bindings-3.1.3/package/yast2-pkg-bindings.changes 2014-01-10 11:11:00.000000000 +0100 +++ new/yast2-pkg-bindings-3.1.4/package/yast2-pkg-bindings.changes 2014-02-14 10:44:38.000000000 +0100 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Thu Feb 13 16:35:53 UTC 2014 - lslezak@suse.cz + +- Pkg::ServiceRefresh() - add, refresh and load also the new added + repositories from the service +- 3.1.4 + +------------------------------------------------------------------- Fri Jan 10 09:02:41 UTC 2014 - lslezak@suse.cz - zypp::filesystem::TmpDir::defaultLocation() already contains diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-pkg-bindings-3.1.3/package/yast2-pkg-bindings.spec new/yast2-pkg-bindings-3.1.4/package/yast2-pkg-bindings.spec --- old/yast2-pkg-bindings-3.1.3/package/yast2-pkg-bindings.spec 2014-01-10 11:11:00.000000000 +0100 +++ new/yast2-pkg-bindings-3.1.4/package/yast2-pkg-bindings.spec 2014-02-14 10:44:38.000000000 +0100 @@ -17,7 +17,7 @@ Name: yast2-pkg-bindings -Version: 3.1.3 +Version: 3.1.4 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-pkg-bindings-3.1.3/src/Service.cc new/yast2-pkg-bindings-3.1.4/src/Service.cc --- old/yast2-pkg-bindings-3.1.3/src/Service.cc 2014-01-10 11:11:00.000000000 +0100 +++ new/yast2-pkg-bindings-3.1.4/src/Service.cc 2014-02-14 10:44:38.000000000 +0100 @@ -26,6 +26,7 @@ */ #include "PkgFunctions.h" +#include "PkgProgress.h" #include "log.h" #include <ycp/YCPValue.h> @@ -372,9 +373,11 @@ return YCPBoolean(false); } + const std::string alias_str(alias->value()); + zypp::RepoManager* repomanager = CreateRepoManager(); - if (!service_manager.RefreshService(alias->value(), *repomanager)) + if (!service_manager.RefreshService(alias_str, *repomanager)) { return YCPBoolean(false); } @@ -403,6 +406,31 @@ } } + // check whether there are new added repositories and load them + std::list<zypp::RepoInfo> reps = repomanager->knownRepositories(); + for (std::list<zypp::RepoInfo>::iterator it = reps.begin(); + it != reps.end(); ++it) + { + if (it->service() == alias_str && !logFindAlias(it->alias())) + continue; + + y2milestone("Service added a new repository: %s", it->alias().c_str()); + YRepo_Ptr new_repo = new YRepo(*it); + repos.push_back(new_repo); + + if (it->enabled()) + { + y2milestone("Refreshing service: %s", it->alias().c_str()); + // refresh and load resolvables + PkgProgress pkgprogress(_callbackHandler); + zypp::ProgressData progress(100); + progress.sendTo(pkgprogress.Receiver()); + zypp::CombinedProgressData subprogrcv_ref(progress, 20); + + LoadResolvablesFrom(new_repo, subprogrcv_ref); + } + } + return YCPBoolean(true); } catch (const zypp::Exception& excpt) continue with "q"... Checked in at Fri Feb 14 14:01:44 CET 2014 by ro Remember to have fun... -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
ro