Mailinglist Archive: opensuse-commit (1187 mails)

< Previous Next >
commit yast2-installation
  • From: root@xxxxxxx (h_root)
  • Date: Mon, 10 Apr 2006 19:58:49 +0200 (CEST)
  • Message-id: <20060410175849.45AD78BE06@xxxxxxxxxxxxxxx>

Hello community,

here is the log from the commit of package yast2-installation
checked in at Mon Apr 10 19:58:49 CEST 2006.

--------
--- yast2-installation/yast2-installation.changes 2006-04-07 23:07:25.000000000 +0200
+++ NOARCH/yast2-installation/yast2-installation.changes 2006-04-10 17:08:14.000000000 +0200
@@ -1,0 +2,6 @@
+Mon Apr 10 17:08:10 CEST 2006 - mvidner@xxxxxxx
+
+- Add installation sources for online update (#163192).
+- 2.13.63
+
+-------------------------------------------------------------------

Old:
----
yast2-installation-2.13.62.tar.bz2

New:
----
yast2-installation-2.13.63.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ yast2-installation.spec ++++++
--- /var/tmp/diff_new_pack.8jTVab/_old 2006-04-10 19:58:30.000000000 +0200
+++ /var/tmp/diff_new_pack.8jTVab/_new 2006-04-10 19:58:30.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-installation (Version 2.13.62)
+# spec file for package yast2-installation (Version 2.13.63)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -11,12 +11,12 @@
# norootforbuild

Name: yast2-installation
-Version: 2.13.62
+Version: 2.13.63
Release: 1
License: GPL
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-installation-2.13.62.tar.bz2
+Source0: yast2-installation-2.13.63.tar.bz2
prefix: /usr
BuildRequires: docbook-xsl-stylesheets doxygen libxslt perl-XML-Writer sgml-skel update-desktop-files yast2 yast2-country yast2-devtools yast2-testsuite
Requires: yast2 yast2-update
@@ -48,7 +48,7 @@
Arvin Schnell <arvin@xxxxxxx>

%prep
-%setup -n yast2-installation-2.13.62
+%setup -n yast2-installation-2.13.63

%build
%{prefix}/bin/y2tool y2autoconf
@@ -106,6 +106,9 @@
/usr/X11R6/share/fvwm/

%changelog -n yast2-installation
+* Mon Apr 10 2006 - mvidner@xxxxxxx
+- Add installation sources for online update (#163192).
+- 2.13.63
* Fri Apr 07 2006 - jsrain@xxxxxxx
- provide Product::short_name (#163702)
- 2.13.62

++++++ yast2-installation-2.13.62.tar.bz2 -> yast2-installation-2.13.63.tar.bz2 ++++++
++++ 14304 lines of diff (skipped)
++++ retrying with extended exclude list
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-installation-2.13.62/VERSION new/yast2-installation-2.13.63/VERSION
--- old/yast2-installation-2.13.62/VERSION 2006-04-07 23:02:23.000000000 +0200
+++ new/yast2-installation-2.13.63/VERSION 2006-04-10 17:07:56.000000000 +0200
@@ -1 +1 @@
-2.13.62
+2.13.63
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-installation-2.13.62/configure.in new/yast2-installation-2.13.63/configure.in
--- old/yast2-installation-2.13.62/configure.in 2006-04-07 23:05:31.000000000 +0200
+++ new/yast2-installation-2.13.63/configure.in 2006-04-10 17:18:45.000000000 +0200
@@ -1,9 +1,9 @@
dnl configure.in for yast2-installation
dnl
-dnl -- This file is generated by y2autoconf - DO NOT EDIT! --
+dnl -- This file is generated by y2autoconf 2.13.16 - DO NOT EDIT! --
dnl (edit configure.in.in instead)

-AC_INIT(yast2-installation, 2.13.62, http://www.suse.de/feedback, yast2-installation)
+AC_INIT(yast2-installation, 2.13.63, http://www.suse.de/feedback, yast2-installation)
dnl Check for presence of file 'RPMNAME'
AC_CONFIG_SRCDIR([RPMNAME])

@@ -17,7 +17,7 @@
AM_INIT_AUTOMAKE(tar-ustar) dnl searches for some needed programs

dnl Important YaST2 variables
-VERSION="2.13.62"
+VERSION="2.13.63"
RPMNAME="yast2-installation"
MAINTAINER="Jiri Srain <jsrain@xxxxxxx>"

diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-installation-2.13.62/control/docs/control-doc.xml new/yast2-installation-2.13.63/control/docs/control-doc.xml
--- old/yast2-installation-2.13.62/control/docs/control-doc.xml 2006-02-02 19:55:05.000000000 +0100
+++ new/yast2-installation-2.13.63/control/docs/control-doc.xml 2005-04-19 15:34:02.000000000 +0200
@@ -28,7 +28,7 @@
0.1
</revnumber>
<date>
- $Date: 2004-10-27 08:25:24 -0600 (Wed, 27 Oct 2004) $
+ $Date: 2004-10-27 16:25:24 +0200 (St, 27 říj 2004) $
</date>
<revremark>Initial Release as PDF</revremark>
</revision>
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-installation-2.13.62/src/clients/inst_addon_update_sources.ycp new/yast2-installation-2.13.63/src/clients/inst_addon_update_sources.ycp
--- old/yast2-installation-2.13.62/src/clients/inst_addon_update_sources.ycp 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-installation-2.13.63/src/clients/inst_addon_update_sources.ycp 2006-04-10 16:22:37.000000000 +0200
@@ -0,0 +1,79 @@
+/**
+ * File: clients/inst_addon_update_sources.ycp
+ * Package: yast2-installation
+ * Summary: Add installation sources for online update, #163192
+ * Authors: Martin Vidner <mvidner@xxxxxxx>
+ *
+ */
+
+{
+textdomain "installation";
+
+import "GetInstArgs";
+import "PackageCallbacksInit";
+import "Popup";
+import "SourceManager";
+
+if ( GetInstArgs::going_back()) // going backwards?
+ return `auto; // don't execute this once more
+
+
+/**
+ * @return the urls of known installation sources
+ */
+list<string> KnownUrls () {
+ list<integer> src_ids = Pkg::SourceGetCurrent (true /*enabled only?*/);
+ list<string> urls = maplist (integer src_id, src_ids, {
+ map gendata = Pkg::SourceGeneralData (src_id);
+ return gendata["url"]:"";
+ });
+ return urls;
+}
+
+/**
+ * @return the installation sources to be added
+ */
+list<string> UpdateUrls () {
+ // get available base patterns
+ list<map<string,any> > products = Pkg::ResolvableProperties ("", `pattern, "");
+ list<list<string> > urls = maplist (map<string, any> p, products, {
+ return p["update_urls"]:[];
+ });
+ return flatten (urls);
+}
+
+
+// feedback heading
+string heading = _("Add-On Product Installation");
+// feedback message
+string message = _("Reading packages available on the installation sources...");
+Popup::ShowFeedback (heading, message);
+
+
+list<string> knownUrls = KnownUrls ();
+y2milestone ("sources known: %1", knownUrls);
+map<string, boolean> is_known = listmap (string u, knownUrls, ``($[u: true]));
+
+list<string> updateUrls = UpdateUrls ();
+y2milestone ("sources for updates: %1", updateUrls);
+
+list<string> addUrls = filter (string u, updateUrls, ``( ! is_known[u]:false ));
+y2milestone ("sources to add: %1", addUrls);
+
+list<integer> added_ids = [];
+foreach (string u, addUrls, {
+ integer srcid = Pkg::SourceCreate (u, "/");
+ y2milestone ("got %1 from creating %2", srcid, u);
+ added_ids = add (added_ids, srcid);
+});
+
+y2milestone ("syncing to zmd");
+boolean synced = SourceManager::SyncAddedAndDeleted (added_ids, []);
+y2milestone ("sync status: %1", synced);
+
+Popup::ClearFeedback ();
+
+return `auto;
+
+/* EOF */
+}


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...


< Previous Next >