Hello community,
here is the log from the commit of package yast2-installation for
openSUSE:Factory checked in at 2013-07-09 20:49:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-installation (Old)
and /work/SRC/openSUSE:Factory/.yast2-installation.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-installation"
Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-installation/yast2-installation.changes
2013-06-26 20:25:50.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.yast2-installation.new/yast2-installation.changes
2013-07-09 20:49:13.000000000 +0200
@@ -1,0 +2,6 @@
+Thu Jul 4 13:56:19 CEST 2013 - [email protected]
+
+- show release notes of newest product first (bnc#827590)
+- 2.24.9
+
+-------------------------------------------------------------------
Old:
----
yast2-installation-2.24.8.tar.bz2
New:
----
yast2-installation-2.24.9.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-installation.spec ++++++
--- /var/tmp/diff_new_pack.nbJcUx/_old 2013-07-09 20:49:14.000000000 +0200
+++ /var/tmp/diff_new_pack.nbJcUx/_new 2013-07-09 20:49:14.000000000 +0200
@@ -17,7 +17,7 @@
Name: yast2-installation
-Version: 2.24.8
+Version: 2.24.9
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
++++++ yast2-installation-2.24.8.tar.bz2 -> yast2-installation-2.24.9.tar.bz2
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-installation-2.24.8/VERSION
new/yast2-installation-2.24.9/VERSION
--- old/yast2-installation-2.24.8/VERSION 2013-06-25 10:35:52.000000000
+0200
+++ new/yast2-installation-2.24.9/VERSION 2013-07-08 10:40:55.000000000
+0200
@@ -1 +1 @@
-2.24.8
+2.24.9
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-installation-2.24.8/configure
new/yast2-installation-2.24.9/configure
--- old/yast2-installation-2.24.8/configure 2013-06-25 10:36:04.000000000
+0200
+++ new/yast2-installation-2.24.9/configure 2013-07-08 10:41:08.000000000
+0200
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for yast2-installation 2.24.8.
+# Generated by GNU Autoconf 2.69 for yast2-installation 2.24.9.
#
# Report bugs to <http://bugs.opensuse.org/>.
#
@@ -579,8 +579,8 @@
# Identity of this package.
PACKAGE_NAME='yast2-installation'
PACKAGE_TARNAME='yast2-installation'
-PACKAGE_VERSION='2.24.8'
-PACKAGE_STRING='yast2-installation 2.24.8'
+PACKAGE_VERSION='2.24.9'
+PACKAGE_STRING='yast2-installation 2.24.9'
PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
PACKAGE_URL=''
@@ -1258,7 +1258,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures yast2-installation 2.24.8 to adapt to many kinds of
systems.
+\`configure' configures yast2-installation 2.24.9 to adapt to many kinds of
systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1330,7 +1330,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of yast2-installation 2.24.8:";;
+ short | recursive ) echo "Configuration of yast2-installation 2.24.9:";;
esac
cat <<\_ACEOF
@@ -1410,7 +1410,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-yast2-installation configure 2.24.8
+yast2-installation configure 2.24.9
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1427,7 +1427,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by yast2-installation $as_me 2.24.8, which was
+It was created by yast2-installation $as_me 2.24.9, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
@@ -2366,7 +2366,7 @@
# Define the identity of the package.
PACKAGE='yast2-installation'
- VERSION='2.24.8'
+ VERSION='2.24.9'
cat >>confdefs.h <<_ACEOF
@@ -2489,7 +2489,7 @@
-VERSION="2.24.8"
+VERSION="2.24.9"
RPMNAME="yast2-installation"
MAINTAINER="Jiří Suchomel <[email protected]>"
@@ -3648,7 +3648,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by yast2-installation $as_me 2.24.8, which was
+This file was extended by yast2-installation $as_me 2.24.9, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -3701,7 +3701,7 @@
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //;
s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-yast2-installation config.status 2.24.8
+yast2-installation config.status 2.24.9
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-installation-2.24.8/configure.in
new/yast2-installation-2.24.9/configure.in
--- old/yast2-installation-2.24.8/configure.in 2013-06-25 10:36:00.000000000
+0200
+++ new/yast2-installation-2.24.9/configure.in 2013-07-08 10:41:05.000000000
+0200
@@ -1,9 +1,9 @@
dnl configure.in for yast2-installation
dnl
-dnl -- This file is generated by y2autoconf 2.24.0 - DO NOT EDIT! --
+dnl -- This file is generated by y2autoconf 2.24.1 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-installation, 2.24.8, http://bugs.opensuse.org/,
yast2-installation)
+AC_INIT(yast2-installation, 2.24.9, http://bugs.opensuse.org/,
yast2-installation)
dnl Check for presence of file 'RPMNAME'
AC_CONFIG_SRCDIR([RPMNAME])
@@ -18,7 +18,7 @@
AM_INIT_AUTOMAKE(tar-ustar -Wno-portability)
dnl Important YaST2 variables
-VERSION="2.24.8"
+VERSION="2.24.9"
RPMNAME="yast2-installation"
MAINTAINER="Jiří Suchomel <[email protected]>"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-installation-2.24.8/src/clients/inst_release_notes.ycp
new/yast2-installation-2.24.9/src/clients/inst_release_notes.ycp
--- old/yast2-installation-2.24.8/src/clients/inst_release_notes.ycp
2013-01-22 11:22:35.000000000 +0100
+++ new/yast2-installation-2.24.9/src/clients/inst_release_notes.ycp
2013-07-08 10:40:55.000000000 +0200
@@ -99,12 +99,16 @@
list<string> readproducts = [];
// Release notes might be missing
if (FileUtils::Exists(basedirectory) &&
FileUtils::IsDirectory(basedirectory)) {
- readproducts = (list<string>) SCR::Read(.target.dir, basedirectory);
-
+ // sort release notes according to time (newest first),
+ // so the latest product is selected in the default tab (bnc#827590)
+ map out = (map)SCR::Execute (.target.bash_output, sformat ("ls -t1
'%1'", basedirectory));
+ readproducts = splitstring (out["stdout"]:"", "\n");
// bnc #407922
// not all objects need to be directories
boolean is_directory = nil;
readproducts = filter (string one_prod, readproducts, {
+ if (one_prod == "") return false; // there's empty line at the end
of ls output
+
is_directory = FileUtils::IsDirectory (sformat ("%1/%2",
basedirectory, one_prod));
if (is_directory != true) {
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]