openSUSE Commits
Threads by month
- ----- 2025 -----
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
February 2013
- 1 participants
- 1989 discussions
25 Feb '13
Hello community,
here is the log from the commit of package kiwi-instsource-plugins-openSUSE-12-1 for openSUSE:12.3 checked in at 2013-02-25 21:35:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.3/kiwi-instsource-plugins-openSUSE-12-1 (Old)
and /work/SRC/openSUSE:12.3/.kiwi-instsource-plugins-openSUSE-12-1.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kiwi-instsource-plugins-openSUSE-12-1", Maintainer is ""
Changes:
--------
--- /work/SRC/openSUSE:12.3/kiwi-instsource-plugins-openSUSE-12-1/kiwi-instsource-plugins-openSUSE-12-1.changes 2013-02-25 18:57:49.000000000 +0100
+++ /work/SRC/openSUSE:12.3/.kiwi-instsource-plugins-openSUSE-12-1.new/kiwi-instsource-plugins-openSUSE-12-1.changes 2013-02-25 21:35:20.000000000 +0100
@@ -1,0 +2,5 @@
+Mon Feb 25 20:34:37 UTC 2013 - coolo(a)suse.com
+
+- patch repo url into the uefi grub cfg (bnc#805234)
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kiwi-instsource-plugins-openSUSE-12-1.diff ++++++
--- /var/tmp/diff_new_pack.KEaP5C/_old 2013-02-25 21:35:21.000000000 +0100
+++ /var/tmp/diff_new_pack.KEaP5C/_new 2013-02-25 21:35:21.000000000 +0100
@@ -265,7 +265,7 @@
===================================================================
--- /dev/null
+++ KIWIFinishEFIPlugin.pm
-@@ -0,0 +1,147 @@
+@@ -0,0 +1,144 @@
+################################################################
+# Copyright (c) 2012 SUSE
+#
@@ -396,10 +396,7 @@
+ %type = %{$this->collect()->{m_xml}->getImageTypeAndAttributes_legacy()};
+ my $firmware = $type{firmware};
+ if ($firmware eq "efi" || $firmware eq "uefi") {
-+ my $dir = $this->handler()->collect()->basedir();
-+ $dir .= "/".$this->{m_handler}->mediaName();
-+ $dir .= "/".$this->{m_requireddirs}->[0];
-+ $dir = $this->collect()->basesubdirs()->{$cd};
++ my $dir = $this->collect()->basesubdirs()->{$cd};
+
+ my $efi = "$dir/boot/x86_64/efi";
+ $this->logMsg("I", "creating $efi");
@@ -413,3 +410,45 @@
+
+1;
+
+Index: KIWIMiniIsoPlugin.pm
+===================================================================
+--- KIWIMiniIsoPlugin.pm.orig
++++ KIWIMiniIsoPlugin.pm
+@@ -41,6 +41,7 @@ use Data::Dumper;
+ use Config::IniFiles;
+ use File::Find;
+
++use KIWIQX qw (qxx);
+
+ sub new
+ {
+@@ -225,6 +226,29 @@ sub execute
+ close(F);
+ $retval++;
+ }
++
++ my $grubcfg = $this->collect()->basesubdirs()->{1} . "/EFI/BOOT/grub.cfg";
++ if ( -f $grubcfg ) {
++ $this->logMsg("I", "editing <$grubcfg>");
++ open(IN, $grubcfg) || die "oops";
++ open(OUT, ">", "$grubcfg.new") || die "can't open output";
++ while( <IN> ) {
++ my $line = $_;
++ chomp $line;
++ $this->logMsg("I", "-$line");
++ $line =~ s,(linuxefi /boot/x86_64/loader/linux),$1 install=$repoloc,;
++ $this->logMsg("I", "+$line");
++ print OUT "$line\n";
++ }
++ close(OUT);
++ close(IN);
++ qxx("diff -u $grubcfg $grubcfg.new");
++ rename("$grubcfg.new", $grubcfg);
++ } else {
++ $this->logMsg("I", "no grub.cfg at <$grubcfg>");
++ }
++
++
+ return $retval;
+ }
+
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package zeroinstall-injector for openSUSE:Factory checked in at 2013-02-25 20:47:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/zeroinstall-injector (Old)
and /work/SRC/openSUSE:Factory/.zeroinstall-injector.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "zeroinstall-injector", Maintainer is ""
Changes:
--------
--- /work/SRC/openSUSE:Factory/zeroinstall-injector/zeroinstall-injector.changes 2013-02-14 21:19:36.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.zeroinstall-injector.new/zeroinstall-injector.changes 2013-02-25 20:47:55.000000000 +0100
@@ -1,0 +2,6 @@
+Mon Feb 25 12:23:28 UTC 2013 - talex5(a)gmail.com
+
+- Updated to 1.16. For a list of changes, see:
+ http://thread.gmane.org/gmane.comp.file-systems.zero-install.devel/6730
+
+-------------------------------------------------------------------
Old:
----
0install-1.15.tar.bz2
New:
----
0install-1.16.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ zeroinstall-injector.spec ++++++
--- /var/tmp/diff_new_pack.Fd1ukn/_old 2013-02-25 20:47:57.000000000 +0100
+++ /var/tmp/diff_new_pack.Fd1ukn/_new 2013-02-25 20:47:57.000000000 +0100
@@ -26,9 +26,9 @@
%endif
Name: zeroinstall-injector
-Version: 1.15
+Version: 1.16
Release: 0
-%define source_version 1.15
+%define source_version 1.16
Summary: Decentralised cross-distribution software installation
License: LGPL-2.1+
Group: System/Management
@@ -50,6 +50,7 @@
Requires: gnupg
Requires: sudo
Requires: xdg-utils
+AutoReqProv: no
%if 0%{?suse_version}
BuildRequires: python-xml
++++++ 0install-1.15.tar.bz2 -> 0install-1.16.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/0install-1.15/Makefile new/0install-1.16/Makefile
--- old/0install-1.15/Makefile 2013-02-12 16:35:03.000000000 +0100
+++ new/0install-1.16/Makefile 2013-02-24 15:29:35.000000000 +0100
@@ -1,6 +1,4 @@
-
-
-PYTHON=$(shell which python3 || echo python)
+PYTHON=$(shell which python3 || which python2 || echo python)
MO = $(shell find share/locale -name '*.po' | sort | sed -e 's/\.po/\.mo/')
PY = $(shell find zeroinstall -name '*.py' | sort)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/0install-1.15/ZeroInstall.xml new/0install-1.16/ZeroInstall.xml
--- old/0install-1.15/ZeroInstall.xml 2013-02-12 16:35:03.000000000 +0100
+++ new/0install-1.16/ZeroInstall.xml 2013-02-24 15:29:35.000000000 +0100
@@ -53,6 +53,6 @@
<version not-before="1.12.1"/>
</requires>
- <implementation id="." released="2013-02-12" version="1.15"/>
+ <implementation id="." released="2013-02-24" version="1.16"/>
</group>
</interface>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/0install-1.15/tests/server.py new/0install-1.16/tests/server.py
--- old/0install-1.15/tests/server.py 2013-02-12 16:35:03.000000000 +0100
+++ new/0install-1.16/tests/server.py 2013-02-24 15:29:35.000000000 +0100
@@ -40,7 +40,8 @@
print(parsed)
if parsed.path.startswith('/redirect/'):
self.send_response(302)
- self.wfile.write(('Location: /' + parsed.path[1:].split('/', 1)[1]).encode('utf-8'))
+ self.send_header('Location', '/' + parsed.path[1:].split('/', 1)[1])
+ self.end_headers()
return
leaf = os.path.basename(parsed.path)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/0install-1.15/tests/testdownload.py new/0install-1.16/tests/testdownload.py
--- old/0install-1.15/tests/testdownload.py 2013-02-12 16:35:03.000000000 +0100
+++ new/0install-1.16/tests/testdownload.py 2013-02-24 15:29:35.000000000 +0100
@@ -628,7 +628,7 @@
os.unlink(last_check_attempt)
# Download the implementation
- sels = app.get_selections(may_update = True)
+ sels = app.get_selections(may_update = False)
run_server('HelloWorld.tgz')
tasks.wait_for_blocker(app.download_selections(sels))
kill_server_process()
@@ -726,6 +726,79 @@
assert dl == None
assert not ran_gui
+ def testBackgroundUnsolvable(self):
+ my_dbus.system_services = {"org.freedesktop.NetworkManager": {"/org/freedesktop/NetworkManager": NetworkManager()}}
+
+ trust.trust_db.trust_key('DE937DD411906ACF7C263B396FCF121BE2390E0B', 'example.com:8000')
+
+ global ran_gui
+
+ # Select a version of Hello
+ run_server('Hello.xml', '6FCF121BE2390E0B.gpg', 'HelloWorld.tgz')
+ r = Requirements('http://example.com:8000/Hello.xml')
+ driver = Driver(requirements = r, config = self.config)
+ tasks.wait_for_blocker(driver.solve_with_downloads())
+ assert driver.solver.ready
+ kill_server_process()
+
+ # Save it as an app
+ app = self.config.app_mgr.create_app('test-app', r)
+
+ # Replace the selection with a bogus and unusable <package-implementation>
+ sels = driver.solver.selections
+ sel, = sels.selections.values()
+ sel.attrs['id'] = "package:dummy:badpackage"
+ sel.attrs['package'] = "badpackage"
+ sel.get_command('run').qdom.attrs['path'] = '/i/dont/exist'
+
+ app.set_selections(driver.solver.selections)
+
+ # Not time for a background update yet, but the missing binary should trigger
+ # an update anyway.
+ self.config.freshness = 0
+
+ # Check we try to launch the GUI...
+ os.environ['DISPLAY'] = 'dummy'
+ try:
+ app.get_selections(may_update = True)
+ assert 0
+ except model.SafeException as ex:
+ assert 'Aborted by user' in str(ex)
+ assert ran_gui
+ ran_gui = False
+
+ # Check we can also work without the GUI...
+ del os.environ['DISPLAY']
+
+ run_server('Hello.xml', 'HelloWorld.tgz')
+ sels = app.get_selections(may_update = True)
+ kill_server_process()
+
+ dl = app.download_selections(sels)
+ assert dl == None
+
+ assert not ran_gui
+
+ # Now trigger a background update which discovers that no solution is possible
+ timestamp = os.path.join(app.path, 'last-checked')
+ last_check_attempt = os.path.join(app.path, 'last-check-attempt')
+ selections_path = os.path.join(app.path, 'selections.xml')
+ def reset_timestamps():
+ global ran_gui
+ ran_gui = False
+ os.utime(timestamp, (1, 1)) # 1970
+ os.utime(selections_path, (1, 1))
+ if os.path.exists(last_check_attempt):
+ os.unlink(last_check_attempt)
+ reset_timestamps()
+
+ r.source = True
+ app.set_requirements(r)
+ run_server('Hello.xml')
+ with trapped_exit(1):
+ sels = app.get_selections(may_update = True)
+ kill_server_process()
+
def testAbort(self):
dl = download.Download("http://localhost/test.tgz", auto_delete = True)
dl.abort()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/0install-1.15/tests/testinstall.py new/0install-1.16/tests/testinstall.py
--- old/0install-1.15/tests/testinstall.py 2013-02-12 16:35:03.000000000 +0100
+++ new/0install-1.16/tests/testinstall.py 2013-02-24 15:29:35.000000000 +0100
@@ -450,6 +450,12 @@
assert "No updates found. Continuing with version 0.1." in out, out
assert not err, err
+ # Run
+ out, err = self.run_0install(['run', '--dry-run', 'local-app'])
+ assert '[dry-run] would execute:' in out, out
+ assert '/test-echo' in out, out
+ assert not err, err
+
# restrictions
path = os.path.dirname(model.canonical_iface_uri(local_feed))
out, err = self.run_0install(['update', 'local-app', '--version=10..'])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/0install-1.15/tests/testmodel.py new/0install-1.16/tests/testmodel.py
--- old/0install-1.15/tests/testmodel.py 2013-02-12 16:35:03.000000000 +0100
+++ new/0install-1.16/tests/testmodel.py 2013-02-24 15:29:35.000000000 +0100
@@ -372,7 +372,7 @@
assert not r.meets_restriction(v7)
r = model.DistributionRestriction('RPM Debian')
- self.assertEqual('<restriction: distro RPM|Debian>', repr(r))
+ self.assertEqual('<restriction: distro Debian|RPM>', repr(r))
assert r.meets_restriction(v6)
assert not r.meets_restriction(v7)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/0install-1.15/tests/testpackagekit.py new/0install-1.16/tests/testpackagekit.py
--- old/0install-1.15/tests/testpackagekit.py 2013-02-12 16:35:03.000000000 +0100
+++ new/0install-1.16/tests/testpackagekit.py 2013-02-24 15:29:35.000000000 +0100
@@ -138,6 +138,8 @@
later()
return FakePackageKit()
+old_meta_path = sys.meta_path
+
class TestPackageKit(BaseTest):
name = 'TestPackageKit'
@@ -145,7 +147,7 @@
BaseTest.setUp(self)
def tearDown(self):
- sys.meta_path = []
+ sys.meta_path = old_meta_path
BaseTest.tearDown(self)
def find_module(self, fullname, path=None):
@@ -158,7 +160,7 @@
import dbus
old_dbus = dbus
try:
- sys.meta_path = [self]
+ sys.meta_path.insert(0, self)
del sys.modules['dbus']
imp.reload(packagekit)
@@ -169,7 +171,6 @@
factory = Exception("not called")
pk.get_candidates('gimp', factory, 'package:null')
finally:
- self.meta_path = []
sys.modules['dbus'] = old_dbus
def testNoPackageKit(self):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/0install-1.15/tests/testselections.py new/0install-1.16/tests/testselections.py
--- old/0install-1.15/tests/testselections.py 2013-02-12 16:35:03.000000000 +0100
+++ new/0install-1.16/tests/testselections.py 2013-02-24 15:29:35.000000000 +0100
@@ -73,7 +73,7 @@
self.assertEqual('BINDIR', dep.bindings[2].name)
self.assertEqual('replace', dep.bindings[2].mode)
- self.assertEqual(["sha1=345", 'sha256new_345'], sels[0].digests)
+ self.assertEqual(["sha1=345", 'sha256new_345'], sorted(sels[0].digests))
assert driver.solver.ready, driver.solver.get_failure_reason()
s1 = driver.solver.selections
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/0install-1.15/tests/testunpack.py new/0install-1.16/tests/testunpack.py
--- old/0install-1.15/tests/testunpack.py 2013-02-12 16:35:03.000000000 +0100
+++ new/0install-1.16/tests/testunpack.py 2013-02-24 15:29:35.000000000 +0100
@@ -118,6 +118,7 @@
unpack.unpack_archive('ftp://foo/file.tar', stream, self.tmpdir)
self.assert_manifest('sha1new=290eb133e146635fe37713fd58174324a16d595f')
+ @skipIf(not find_in_path('rpm2cpio'), "not running; no rpm2cpio")
def testRPM(self):
with open('dummy-1-1.noarch.rpm', 'rb') as stream:
unpack.unpack_archive('ftp://foo/file.rpm', stream, self.tmpdir)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/0install-1.15/zeroinstall/0launch-gui/gui.py new/0install-1.16/zeroinstall/0launch-gui/gui.py
--- old/0install-1.15/zeroinstall/0launch-gui/gui.py 2013-02-12 16:35:03.000000000 +0100
+++ new/0install-1.16/zeroinstall/0launch-gui/gui.py 2013-02-24 15:29:35.000000000 +0100
@@ -5,7 +5,7 @@
from zeroinstall.support import tasks
from zeroinstall.injector import handler, download
-version = '1.15'
+version = '1.16'
class GUIHandler(handler.Handler):
dl_callbacks = None # Download -> [ callback ]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/0install-1.15/zeroinstall/__init__.py new/0install-1.16/zeroinstall/__init__.py
--- old/0install-1.15/zeroinstall/__init__.py 2013-02-12 16:35:03.000000000 +0100
+++ new/0install-1.16/zeroinstall/__init__.py 2013-02-24 15:29:35.000000000 +0100
@@ -13,7 +13,7 @@
@var _: a function for translating strings using the zero-install domain (for use internally by Zero Install)
"""
-version = '1.15'
+version = '1.16'
import sys, logging
if sys.version_info[0] > 2:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/0install-1.15/zeroinstall/apps.py new/0install-1.16/zeroinstall/apps.py
--- old/0install-1.15/zeroinstall/apps.py 2013-02-12 16:35:03.000000000 +0100
+++ new/0install-1.16/zeroinstall/apps.py 2013-02-24 15:29:35.000000000 +0100
@@ -47,7 +47,7 @@
break
else:
path = os.path.expanduser('~/bin/')
- logger.warn('%s is not in $PATH. Add it with:\n%s' % (path, _export('PATH', path + ':$PATH')))
+ logger.warning('%s is not in $PATH. Add it with:\n%s' % (path, _export('PATH', path + ':$PATH')))
if not os.path.isdir(path):
os.makedirs(path)
@@ -125,15 +125,19 @@
if set_last_checked:
self.set_last_checked()
- def get_selections(self, snapshot_date = None, may_update = False):
+ def get_selections(self, snapshot_date = None, may_update = False, use_gui = None):
"""Load the selections.
+ If may_update is True then the returned selections will be cached and available.
@param may_update: whether to check for updates
@type may_update: bool
@param snapshot_date: get a historical snapshot
@type snapshot_date: (as returned by L{get_history}) | None
+ @param use_gui: whether to use the GUI for foreground updates
+ @type use_gui: bool | None (never/always/if possible)
@return: the selections
@rtype: L{selections.Selections}"""
if snapshot_date:
+ assert may_update is False, "Can't update a snapshot!"
sels_file = os.path.join(self.path, 'selections-' + snapshot_date + '.xml')
else:
sels_file = os.path.join(self.path, 'selections.xml')
@@ -141,7 +145,7 @@
sels = selections.Selections(qdom.parse(stream))
if may_update:
- sels = self._check_for_updates(sels)
+ sels = self._check_for_updates(sels, use_gui)
return sels
@@ -163,13 +167,14 @@
@rtype: L{tasks.Blocker} | None"""
return sels.download_missing(self.config) # TODO: package impls
- def _check_for_updates(self, sels):
+ def _check_for_updates(self, sels, use_gui):
"""Check whether the selections need to be updated.
If any input feeds have changed, we re-run the solver. If the
new selections require a download, we schedule one in the
background and return the old selections. Otherwise, we return the
new selections. If we can select better versions without downloading,
we update the app's selections and return the new selections.
+ If we can't use the current selections, we update in the foreground.
We also schedule a background update from time-to-time anyway.
@return: the selections to use
@rtype: L{selections.Selections}"""
@@ -216,7 +221,13 @@
path, mtime = item
else:
path = item
- mtime = os.stat(path).st_mtime
+ try:
+ mtime = os.stat(path).st_mtime
+ except OSError as ex:
+ logger.info("Triggering update to {app} due to error: {ex}".format(
+ app = self, path = path, ex = ex))
+ need_solve = True
+ break
if mtime and mtime > last_solve:
logger.info("Triggering update to %s because %s has changed", self, path)
@@ -235,12 +246,23 @@
if freshness_threshold > 0 and staleness >= freshness_threshold:
need_update = True
+ # If any of the saved selections aren't available then we need
+ # to download right now, not later in the background.
+ unavailable_selections = sels.get_unavailable_selections(config = self.config, include_packages = True)
+ if unavailable_selections:
+ logger.info("Saved selections are unusable (missing %s)",
+ ', '.join(str(s) for s in unavailable_selections))
+ need_solve = True
+
if need_solve:
from zeroinstall.injector.driver import Driver
driver = Driver(config = self.config, requirements = self.get_requirements())
if driver.need_download():
- # Continue with the current (hopefully cached) selections while we download
- need_update = True
+ if unavailable_selections:
+ return self._foreground_update(driver, use_gui)
+ else:
+ # Continue with the current (cached) selections while we download
+ need_update = True
else:
old_sels = sels
sels = driver.solver.selections
@@ -264,6 +286,27 @@
return sels
+ def _foreground_update(self, driver, use_gui):
+ """We can't run with saved selections or solved selections without downloading.
+ Try to open the GUI for a blocking download. If we can't do that, download without the GUI."""
+ from zeroinstall import helpers
+ from zeroinstall.support import tasks
+
+ gui_args = driver.requirements.get_as_options() + ['--download-only', '--refresh']
+ sels = helpers.get_selections_gui(driver.requirements.interface_uri, gui_args,
+ test_callback = None, use_gui = use_gui)
+ if sels is None:
+ raise SafeException("Aborted by user")
+ if sels is helpers.DontUseGUI:
+ downloaded = driver.solve_and_download_impls(refresh = True)
+ if downloaded:
+ tasks.wait_for_blocker(downloaded)
+ sels = driver.solver.selections
+
+ self.set_selections(sels, set_last_checked = True)
+
+ return sels
+
def set_requirements(self, requirements):
reqs_file = os.path.join(self.path, 'requirements.json')
if self.config.handler.dry_run:
@@ -324,7 +367,7 @@
return os.stat(timestamp_path).st_mtime
except Exception as ex:
if warn_if_missing:
- logger.warn("Failed to get time-stamp of %s: %s", timestamp_path, ex)
+ logger.warning("Failed to get time-stamp of %s: %s", timestamp_path, ex)
return 0
def get_last_checked(self):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/0install-1.15/zeroinstall/cmd/__init__.py new/0install-1.16/zeroinstall/cmd/__init__.py
--- old/0install-1.15/zeroinstall/cmd/__init__.py 2013-02-12 16:35:03.000000000 +0100
+++ new/0install-1.16/zeroinstall/cmd/__init__.py 2013-02-24 15:29:35.000000000 +0100
@@ -121,9 +121,9 @@
args = []
consume_args = 0
complete_option_arg = None # (option, args, arg pos)
- #logger.warn("%s at %d", self.command_args, self.cword)
+ #logger.warning("%s at %d", self.command_args, self.cword)
for i, a in enumerate(self.command_args):
- #logger.warn("%d %s (%d)", i, a, options_possible)
+ #logger.warning("%d %s (%d)", i, a, options_possible)
if consume_args > 0:
#print("consume " + a, file=sys.stderr)
consume_args -= 1
@@ -167,7 +167,7 @@
cmd.complete(self, args[1:], arg_word)
else:
metavar = complete_option_arg[0].metavar
- #logger.warn("complete option arg %s %s as %s", args[1:], complete_option_arg, metavar)
+ #logger.warning("complete option arg %s %s as %s", args[1:], complete_option_arg, metavar)
if metavar == 'DIR':
self.expand_files()
elif metavar == 'OS':
@@ -196,7 +196,7 @@
from zeroinstall.zerostore import manifest
for alg in sorted(manifest.algorithms):
self.add("filter", alg)
- #else: logger.warn("%r", metavar)
+ #else: logger.warning("%r", metavar)
def _complete_option(self, parser):
if len(self.current) < 2 or self.current.startswith('--'):
@@ -230,7 +230,7 @@
prefix = ''
for v in sorted(versions):
- #logger.warn(prefix + v)
+ #logger.warning(prefix + v)
self.add("filter", prefix + v)
def expand_apps(self):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/0install-1.15/zeroinstall/cmd/man.py new/0install-1.16/zeroinstall/cmd/man.py
--- old/0install-1.15/zeroinstall/cmd/man.py 2013-02-12 16:35:03.000000000 +0100
+++ new/0install-1.16/zeroinstall/cmd/man.py 2013-02-24 15:29:35.000000000 +0100
@@ -28,21 +28,26 @@
if not path:
return None
- with open(path, 'rt') as stream:
- app_info = apps.parse_script_header(stream)
- if app_info:
- app = config.app_mgr.lookup_app(app_info.name)
- sels = app.get_selections()
- main = None
- else:
- alias_info = alias.parse_script_header(stream)
- if alias_info is None:
- return None
- sels = helpers.ensure_cached(alias_info.uri, alias_info.command, config = config)
- if not sels:
- # Cancelled by user
- sys.exit(1)
- main = alias_info.main
+ try:
+ with open(path, 'rt') as stream:
+ app_info = apps.parse_script_header(stream)
+ if app_info:
+ app = config.app_mgr.lookup_app(app_info.name)
+ sels = app.get_selections()
+ main = None
+ else:
+ alias_info = alias.parse_script_header(stream)
+ if alias_info is None:
+ return None
+ sels = helpers.ensure_cached(alias_info.uri, alias_info.command, config = config)
+ if not sels:
+ # Cancelled by user
+ sys.exit(1)
+ main = alias_info.main
+ except IOError as e:
+ logger.info("Error reading %s, falling back to `man %s`", path, command)
+ os.execlp('man', 'man', command)
+ sys.exit(1)
helpers.exec_man(config.stores, sels, main, fallback_name = command)
assert 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/0install-1.15/zeroinstall/cmd/run.py new/0install-1.16/zeroinstall/cmd/run.py
--- old/0install-1.15/zeroinstall/cmd/run.py 2013-02-12 16:35:03.000000000 +0100
+++ new/0install-1.16/zeroinstall/cmd/run.py 2013-02-24 15:29:35.000000000 +0100
@@ -34,7 +34,7 @@
app = config.app_mgr.lookup_app(args[0], missing_ok = True)
if app is not None:
- sels = app.get_selections(may_update = True)
+ sels = app.get_selections(may_update = True, use_gui = options.gui)
r = app.get_requirements()
do_select = r.parse_update_options(options)
iface_uri = sels.interface
@@ -48,11 +48,6 @@
test_callback = test_callback)
if not sels:
sys.exit(1) # Aborted by user
- else:
- dl = app.download_selections(sels)
- if dl:
- tasks.wait_for_blocker(dl)
- tasks.check(dl)
from zeroinstall.injector import run
run.execute_selections(sels, prog_args, dry_run = options.dry_run, main = options.main, wrapper = options.wrapper, stores = config.stores)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/0install-1.15/zeroinstall/cmd/show.py new/0install-1.16/zeroinstall/cmd/show.py
--- old/0install-1.15/zeroinstall/cmd/show.py 2013-02-12 16:35:03.000000000 +0100
+++ new/0install-1.16/zeroinstall/cmd/show.py 2013-02-24 15:29:35.000000000 +0100
@@ -7,7 +7,9 @@
from __future__ import print_function
-from zeroinstall import _
+import os
+
+from zeroinstall import _, SafeException
from zeroinstall.cmd import select, UsageError
from zeroinstall.injector import qdom, selections
@@ -32,9 +34,11 @@
for uri, expr in r.extra_restrictions.items():
print(" {uri}: {expr}".format(uri = uri, expr = expr))
print()
- else:
+ elif os.path.exists(args[0]):
with open(args[0], 'rb') as stream:
sels = selections.Selections(qdom.parse(stream))
+ else:
+ raise SafeException(_("Neither an app nor a file: '%s'") % args[0])
if options.root_uri:
print(sels.interface)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/0install-1.15/zeroinstall/gtkui/icon.py new/0install-1.16/zeroinstall/gtkui/icon.py
--- old/0install-1.15/zeroinstall/gtkui/icon.py 2013-02-12 16:35:03.000000000 +0100
+++ new/0install-1.16/zeroinstall/gtkui/icon.py 2013-02-24 15:29:35.000000000 +0100
@@ -44,5 +44,5 @@
loader.close()
return loader.get_pixbuf()
except Exception as ex:
- logger.warn(_("Failed to load cached PNG icon: %s") % ex)
+ logger.warning(_("Failed to load cached PNG icon: %s") % ex)
return None
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/0install-1.15/zeroinstall/gtkui/xdgutils.py new/0install-1.16/zeroinstall/gtkui/xdgutils.py
--- old/0install-1.15/zeroinstall/gtkui/xdgutils.py 2013-02-12 16:35:03.000000000 +0100
+++ new/0install-1.16/zeroinstall/gtkui/xdgutils.py 2013-02-24 15:29:35.000000000 +0100
@@ -74,5 +74,5 @@
else:
logger.info(_("Failed to find Exec line in %s"), full)
except Exception as ex:
- logger.warn(_("Failed to load .desktop file %(filename)s: %(exceptions"), {'filename': full, 'exception': ex})
+ logger.warning(_("Failed to load .desktop file %(filename)s: %(exceptions"), {'filename': full, 'exception': ex})
return already_installed
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/0install-1.15/zeroinstall/injector/background.py new/0install-1.16/zeroinstall/injector/background.py
--- old/0install-1.15/zeroinstall/injector/background.py 2013-02-12 16:35:03.000000000 +0100
+++ new/0install-1.16/zeroinstall/injector/background.py 2013-02-24 15:29:35.000000000 +0100
@@ -99,7 +99,7 @@
return state
except Exception as ex:
- logger.warn(_("Error getting network state: %s"), ex)
+ logger.warning(_("Error getting network state: %s"), ex)
return _NetworkState.NM_STATE_UNKNOWN
def confirm_import_feed(self, pending, valid_sigs):
@@ -219,7 +219,7 @@
refresh = driver.solve_with_downloads(force = True) # (causes confusing log messages)
tasks.wait_for_blocker(refresh)
- if background_handler.need_gui or driver.get_uncached_implementations():
+ if background_handler.need_gui or not driver.solver.ready or driver.get_uncached_implementations():
if verbose:
background_handler.notify("Zero Install",
_("Updates ready to download for '%s'.") % root_iface,
@@ -232,6 +232,10 @@
if new_sels is None:
sys.exit(0) # Cancelled by user
elif new_sels is helpers.DontUseGUI:
+ if not driver.solver.ready:
+ background_handler.notify("Zero Install", _("Can't update '%s'") % root_iface)
+ sys.exit(1)
+
tasks.wait_for_blocker(driver.download_uncached_implementations())
new_sels = driver.solver.selections
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/0install-1.15/zeroinstall/injector/config.py new/0install-1.16/zeroinstall/injector/config.py
--- old/0install-1.15/zeroinstall/injector/config.py 2013-02-12 16:35:03.000000000 +0100
+++ new/0install-1.16/zeroinstall/injector/config.py 2013-02-24 15:29:35.000000000 +0100
@@ -132,7 +132,7 @@
try:
parser.read(path)
except Exception as ex:
- logger.warn(_("Error loading config: %s"), str(ex) or repr(ex))
+ logger.warning(_("Error loading config: %s"), str(ex) or repr(ex))
config.help_with_testing = parser.getboolean('global', 'help_with_testing')
config.network_use = parser.get('global', 'network_use')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/0install-1.15/zeroinstall/injector/distro.py new/0install-1.16/zeroinstall/injector/distro.py
--- old/0install-1.15/zeroinstall/injector/distro.py 2013-02-12 16:35:03.000000000 +0100
+++ new/0install-1.16/zeroinstall/injector/distro.py 2013-02-24 15:29:35.000000000 +0100
@@ -18,7 +18,7 @@
# This matches the interesting bits of distribution version numbers
# (first matching group is for Java-style 6b17 or 7u9 syntax, or "major")
-_version_regexp = '(?:[a-z])?({ints}[bu])?({zero})(-r{ints})?'.format(zero = _zeroinstall_regexp, ints = _dotted_ints)
+_version_regexp = '(?:[a-z])?({ints}\.?[bu])?({zero})(-r{ints})?'.format(zero = _zeroinstall_regexp, ints = _dotted_ints)
_PYTHON_URI = 'http://repo.roscidus.com/python/python'
@@ -48,7 +48,7 @@
mtime = int(info.st_mtime)
size = info.st_size
except Exception as ex:
- logger.warn("Failed to stat %s: %s", self.source, ex)
+ logger.warning("Failed to stat %s: %s", self.source, ex)
mtime = size = 0
self.cache = {}
import tempfile
@@ -105,7 +105,7 @@
with open(cache_path, 'a') as stream:
stream.write('%s=%s\n' % (key, value))
except Exception as ex:
- logger.warn("Failed to write to cache %s: %s=%s: %s", cache_path, key, value, ex)
+ logger.warning("Failed to write to cache %s: %s=%s: %s", cache_path, key, value, ex)
def try_cleanup_distro_version(version):
"""Try to turn a distribution version string into one readable by Zero Install.
@@ -126,7 +126,7 @@
if match:
major, version, revision = match.groups()
if major is not None:
- version = major[:-1] + '.' + version
+ version = major[:-1].rstrip('.') + '.' + version
if revision is not None:
version = '%s-%s' % (version, revision[2:])
return version + suffix
@@ -141,6 +141,8 @@
@type name: str
"""
+ name = "fallback"
+
_packagekit = None
def get_package_info(self, package, factory):
@@ -191,7 +193,7 @@
if id in feed.implementations:
if only_if_missing:
return None
- logger.warn(_("Duplicate ID '%s' for DistributionImplementation"), id)
+ logger.warning(_("Duplicate ID '%s' for DistributionImplementation"), id)
impl = model.DistributionImplementation(feed, id, self, item)
feed.implementations[id] = impl
new_impls.append(impl)
@@ -228,7 +230,7 @@
impl = model.DistributionImplementation(feed, impl_id, self, distro_name = 'host')
impl.installed = True
impl.version = model.parse_version(python_version)
- impl.main = sys.executable
+ impl.main = sys.executable or '/usr/bin/python'
impl.upstream_stability = model.packaged
impl.machine = host_machine # (hopefully)
feed.implementations[impl_id] = impl
@@ -463,7 +465,7 @@
self.generate_cache()
self._load_cache()
except Exception as ex:
- logger.warn(_("Failed to regenerate distribution database cache: %s"), ex)
+ logger.warning(_("Failed to regenerate distribution database cache: %s"), ex)
def _load_cache(self):
"""Load {cache_leaf} cache file into self.versions if it is available and up-to-date.
@@ -571,7 +573,7 @@
if clean_version:
return '%s\t%s' % (clean_version, canonical_machine(debarch.strip()))
else:
- logger.warn(_("Can't parse distribution version '%(version)s' for package '%(package)s'"), {'version': version, 'package': package})
+ logger.warning(_("Can't parse distribution version '%(version)s' for package '%(package)s'"), {'version': version, 'package': package})
return '-'
@@ -683,7 +685,7 @@
child.stdout.close()
child.wait()
except Exception as ex:
- logger.warn("'apt-cache show %s' failed: %s", package, ex)
+ logger.warning("'apt-cache show %s' failed: %s", package, ex)
cached = None
# (multi-arch support? can there be multiple candidates?)
self.apt_cache[package] = cached
@@ -709,7 +711,7 @@
if clean_version:
cache.append('%s\t%s\t%s' % (package, clean_version, zi_arch))
else:
- logger.warn(_("Can't parse distribution version '%(version)s' for package '%(package)s'"), {'version': version, 'package': package})
+ logger.warning(_("Can't parse distribution version '%(version)s' for package '%(package)s'"), {'version': version, 'package': package})
self._write_cache(cache)
child.stdout.close()
@@ -783,7 +785,7 @@
zi_arch = canonical_machine(arch)
clean_version = try_cleanup_distro_version("%s-%s" % (version, build))
if not clean_version:
- logger.warn(_("Can't parse distribution version '%(version)s' for package '%(package)s'"), {'version': version, 'package': name})
+ logger.warning(_("Can't parse distribution version '%(version)s' for package '%(package)s'"), {'version': version, 'package': name})
continue
impl = factory('package:slack:%s:%s:%s' % \
@@ -820,7 +822,7 @@
zi_arch = canonical_machine(arch)
clean_version = try_cleanup_distro_version("%s-%s" % (version, build))
if not clean_version:
- logger.warn(_("Can't parse distribution version '%(version)s' for package '%(package)s'"), {'version': version, 'package': name})
+ logger.warning(_("Can't parse distribution version '%(version)s' for package '%(package)s'"), {'version': version, 'package': name})
continue
impl = factory('package:arch:%s:%s:%s' % \
@@ -857,7 +859,7 @@
match = re.search(_version_start_reqexp, name)
if match is None:
- logger.warn(_('Cannot parse version from Gentoo package named "%(name)s"'), {'name': name})
+ logger.warning(_('Cannot parse version from Gentoo package named "%(name)s"'), {'name': name})
continue
else:
version = try_cleanup_distro_version(name[match.start() + 1:])
@@ -895,7 +897,7 @@
match = nameversion.search(pkgname)
if match is None:
- logger.warn(_('Cannot parse version from Ports package named "%(pkgname)s"'), {'pkgname': pkgname})
+ logger.warning(_('Cannot parse version from Ports package named "%(pkgname)s"'), {'pkgname': pkgname})
continue
else:
name = match.group(1)
@@ -948,7 +950,7 @@
else:
cache.append('%s\t%s\t%s' % (package, clean_version, zi_arch))
else:
- logger.warn(_("Can't parse distribution version '%(version)s' for package '%(package)s'"), {'version': version, 'package': package})
+ logger.warning(_("Can't parse distribution version '%(version)s' for package '%(package)s'"), {'version': version, 'package': package})
self._write_cache(cache)
child.stdout.close()
child.wait()
@@ -995,7 +997,7 @@
if clean_version:
cache.append('%s\t%s\t%s' % (package, clean_version, zi_arch))
else:
- logger.warn(_("Can't parse distribution version '%(version)s' for package '%(package)s'"), {'version': version, 'package': package})
+ logger.warning(_("Can't parse distribution version '%(version)s' for package '%(package)s'"), {'version': version, 'package': package})
self._write_cache(cache)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/0install-1.15/zeroinstall/injector/fetch.py new/0install-1.16/zeroinstall/injector/fetch.py
--- old/0install-1.15/zeroinstall/injector/fetch.py 2013-02-12 16:35:03.000000000 +0100
+++ new/0install-1.16/zeroinstall/injector/fetch.py 2013-02-24 15:29:35.000000000 +0100
@@ -252,7 +252,7 @@
# Primary failed
primary = None
primary_ex = ex
- logger.warn(_("Feed download from %(url)s failed: %(exception)s"), {'url': feed_url, 'exception': ex})
+ logger.warning(_("Feed download from %(url)s failed: %(exception)s"), {'url': feed_url, 'exception': ex})
# Start downloading from mirror...
mirror = self._download_and_import_feed(feed_url, use_mirror = True)
@@ -430,6 +430,11 @@
None, None, type = 'application/x-bzip-compressed-tar')
continue # Retry
raise
+ except SafeException as ex:
+ raise SafeException("Error fetching {url} {version}: {ex}".format(
+ url = impl.feed.url,
+ version = impl.get_version(),
+ ex = ex))
break
self.handler.impl_added_to_store(impl)
@@ -526,7 +531,7 @@
source = icon.getAttribute('href')
if source:
break
- logger.warn(_('Missing "href" attribute on <icon> in %s'), interface)
+ logger.warning(_('Missing "href" attribute on <icon> in %s'), interface)
else:
logger.info(_('No PNG icons found in %s'), interface)
return
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/0install-1.15/zeroinstall/injector/gpg.py new/0install-1.16/zeroinstall/injector/gpg.py
--- old/0install-1.15/zeroinstall/injector/gpg.py 2013-02-12 16:35:03.000000000 +0100
+++ new/0install-1.16/zeroinstall/injector/gpg.py 2013-02-24 15:29:35.000000000 +0100
@@ -163,7 +163,7 @@
try:
keys[current_fpr].name = codecs.decode(current_uid, 'utf-8')
except:
- logger.warn("Not UTF-8: %s", current_uid)
+ logger.warning("Not UTF-8: %s", current_uid)
keys[current_fpr].name = current_uid
if line.startswith('uid:'):
assert current_fpr is not None
@@ -177,7 +177,7 @@
child.stdout.close()
if child.wait():
- logger.warn(_("gpg --list-keys failed with exit code %d") % child.returncode)
+ logger.warning(_("gpg --list-keys failed with exit code %d") % child.returncode)
return keys
@@ -205,7 +205,7 @@
else:
raise SafeException(_("Non-zero exit code %d from 'gpg --import'") % status)
elif error_messages:
- logger.warn(_("Warnings from 'gpg --import':\n%s") % error_messages)
+ logger.warning(_("Warnings from 'gpg --import':\n%s") % error_messages)
def _check_xml_stream(stream):
xml_comment_start = b'<!-- Base64 Signature'
@@ -308,7 +308,7 @@
if not line.startswith('[GNUPG:] '):
# The docs says every line starts with this, but if auto-key-retrieve
# is on then they might not. See bug #3420548
- logger.warn("Invalid output from GnuPG: %r", line)
+ logger.warning("Invalid output from GnuPG: %r", line)
continue
line = line[9:-1]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/0install-1.15/zeroinstall/injector/handler.py new/0install-1.16/zeroinstall/injector/handler.py
--- old/0install-1.15/zeroinstall/injector/handler.py 2013-02-12 16:35:03.000000000 +0100
+++ new/0install-1.16/zeroinstall/injector/handler.py 2013-02-24 15:29:35.000000000 +0100
@@ -139,7 +139,7 @@
try:
tasks.check(b)
except Exception as ex:
- logger.warn(_("Failed to get key info: %s"), ex)
+ logger.warning(_("Failed to get key info: %s"), ex)
if stdin.happened:
print(_("Skipping remaining key lookups due to input from user"), file=sys.stderr)
break
@@ -185,7 +185,7 @@
@param tb: optional traceback
@since: 0.25"""
import logging
- logger.warn("%s", str(exception) or type(exception),
+ logger.warning("%s", str(exception) or type(exception),
exc_info = (exception, None, tb) if logger.isEnabledFor(logging.INFO) else None)
class ConsoleHandler(Handler):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/0install-1.15/zeroinstall/injector/iface_cache.py new/0install-1.16/zeroinstall/injector/iface_cache.py
--- old/0install-1.15/zeroinstall/injector/iface_cache.py 2013-02-12 16:35:03.000000000 +0100
+++ new/0install-1.16/zeroinstall/injector/iface_cache.py 2013-02-24 15:29:35.000000000 +0100
@@ -124,7 +124,7 @@
blockers.append(b)
except Exception:
_type, exception, tb = sys.exc_info()
- logger.warn(_("Failed to import key for '%(url)s': %(exception)s"), {'url': self.url, 'exception': str(exception)})
+ logger.warning(_("Failed to import key for '%(url)s': %(exception)s"), {'url': self.url, 'exception': str(exception)})
stream.close()
if exception and not any_success:
@@ -493,7 +493,7 @@
try:
results[imp.uri] = self.get_feed(imp.uri)
except SafeException as ex:
- logger.warn("Failed to load feed '%s: %s", imp.uri, ex)
+ logger.warning("Failed to load feed '%s: %s", imp.uri, ex)
if main_feed:
for imp in main_feed.feeds:
results[imp.uri] = self.get_feed(imp.uri)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/0install-1.15/zeroinstall/injector/model.py new/0install-1.16/zeroinstall/injector/model.py
--- old/0install-1.15/zeroinstall/injector/model.py 2013-02-12 16:35:03.000000000 +0100
+++ new/0install-1.16/zeroinstall/injector/model.py 2013-02-24 15:29:35.000000000 +0100
@@ -187,7 +187,7 @@
r = VersionExpressionRestriction(version)
except SafeException as ex:
msg = "Can't parse version restriction '{version}': {error}".format(version = version, error = ex)
- logger.warn(msg)
+ logger.warning(msg)
r = ImpossibleRestriction(msg)
dependency.restrictions.append(r)
@@ -286,7 +286,7 @@
class VersionExpressionRestriction(Restriction):
"""Only versions for which the expression is true are acceptable.
- @since 1.13"""
+ @since: 1.13"""
__slots__ = ['expr', '_test_fn']
def __init__(self, expr):
@@ -331,7 +331,7 @@
return impl.distro_name in self.distros
def __str__(self):
- return "distro " + '|'.join(self.distros)
+ return "distro " + '|'.join(sorted(self.distros))
class Binding(object):
"""Information about how the choice of a Dependency is made known
@@ -1174,7 +1174,7 @@
# In older feeds, the ID was the (single) digest
impl.digests.append(id)
if id in self.implementations:
- logger.warn(_("Duplicate ID '%(id)s' in feed '%(feed)s'"), {'id': id, 'feed': self})
+ logger.warning(_("Duplicate ID '%(id)s' in feed '%(feed)s'"), {'id': id, 'feed': self})
self.implementations[id] = impl
impl.metadata = item_attrs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/0install-1.15/zeroinstall/injector/qdom.py new/0install-1.16/zeroinstall/injector/qdom.py
--- old/0install-1.15/zeroinstall/injector/qdom.py 2013-02-12 16:35:03.000000000 +0100
+++ new/0install-1.16/zeroinstall/injector/qdom.py 2013-02-24 15:29:35.000000000 +0100
@@ -68,14 +68,14 @@
class QSAXhandler:
"""SAXHandler that builds a tree of L{Element}s"""
- filter_range = lambda x: True
-
def __init__(self, filter_for_version = False):
"""@param filter_for_version: skip elements if their
if-0install-version attribute doesn't match L{zeroinstall.version} (since 1.13)."""
self.stack = []
if filter_for_version:
self.filter_range = lambda expr: versions.parse_version_expression(expr)(_parsed_version)
+ else:
+ self.filter_range = lambda x: True
def startElementNS(self, fullname, attrs):
split = fullname.split(' ', 1)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/0install-1.15/zeroinstall/injector/reader.py new/0install-1.16/zeroinstall/injector/reader.py
--- old/0install-1.15/zeroinstall/injector/reader.py 2013-02-12 16:35:03.000000000 +0100
+++ new/0install-1.16/zeroinstall/injector/reader.py 2013-02-24 15:29:35.000000000 +0100
@@ -24,7 +24,7 @@
if impl.startswith('.'): continue
feed = os.path.join(site_packages, impl, '0install', 'feed.xml')
if not os.path.exists(feed):
- logger.warn(_("Site-local feed {path} not found").format(path = feed))
+ logger.warning(_("Site-local feed {path} not found").format(path = feed))
logger.debug("Adding site-local feed '%s'", feed)
# (we treat these as user overrides in order to let old versions of 0install
@@ -62,7 +62,7 @@
try:
_add_site_packages(interface, path, known_site_feeds)
except Exception as ex:
- logger.warn("Error loading site packages from {path}: {ex}".format(path = path, ex = ex))
+ logger.warning("Error loading site packages from {path}: {ex}".format(path = path, ex = ex))
update_user_overrides(interface, known_site_feeds)
@@ -109,7 +109,7 @@
with open(user, 'rb') as stream:
root = qdom.parse(stream)
except Exception as ex:
- logger.warn(_("Error reading '%(user)s': %(exception)s"), {'user': user, 'exception': ex})
+ logger.warning(_("Error reading '%(user)s': %(exception)s"), {'user': user, 'exception': ex})
raise
last_checked = root.getAttribute('last-checked')
@@ -150,7 +150,7 @@
with open(user, 'rb') as stream:
root = qdom.parse(stream)
except Exception as ex:
- logger.warn(_("Error reading '%(user)s': %(exception)s"), {'user': user, 'exception': ex})
+ logger.warning(_("Error reading '%(user)s': %(exception)s"), {'user': user, 'exception': ex})
raise
stability_policy = root.getAttribute('stability-policy')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/0install-1.15/zeroinstall/injector/scheduler.py new/0install-1.16/zeroinstall/injector/scheduler.py
--- old/0install-1.15/zeroinstall/injector/scheduler.py 2013-02-12 16:35:03.000000000 +0100
+++ new/0install-1.16/zeroinstall/injector/scheduler.py 2013-02-24 15:29:35.000000000 +0100
@@ -68,7 +68,7 @@
if original_exception is None:
original_exception = ex
else:
- logger.warn("%s (while trying mirror)", ex)
+ logger.warning("%s (while trying mirror)", ex)
mirror_url = step.dl.get_next_mirror_url()
if mirror_url is None:
raise original_exception
@@ -78,7 +78,7 @@
# looks to see if we have an exact copy of same file somewhere else. If this
# fails, Fetcher will also look for a different archive that would generate
# the required implementation.
- logger.warn("%s: trying archive mirror at %s", ex, mirror_url)
+ logger.warning("%s: trying archive mirror at %s", ex, mirror_url)
step.redirect = mirror_url
redirections_remaining = 10
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/0install-1.15/zeroinstall/injector/selections.py new/0install-1.16/zeroinstall/injector/selections.py
--- old/0install-1.15/zeroinstall/injector/selections.py 2013-02-12 16:35:03.000000000 +0100
+++ new/0install-1.16/zeroinstall/injector/selections.py 2013-02-24 15:29:35.000000000 +0100
@@ -169,7 +169,8 @@
@param root: a saved set of selections."""
self.interface = root.getAttribute('interface')
self.command = root.getAttribute('command')
- assert self.interface
+ if self.interface is None:
+ raise model.SafeException(_("Not a selections document (no 'interface' attribute on root)"))
old_commands = []
for selection in root.childNodes:
@@ -324,18 +325,14 @@
def __repr__(self):
return "Selections for " + self.interface
- def download_missing(self, config, _old = None, include_packages = False):
- """Check all selected implementations are available.
- Download any that are not present. Since native distribution packages are usually
- only available in a single version, which is unlikely to be the one in the
- selections document, we ignore them by default.
- Note: package implementations (distribution packages) are ignored.
- @param config: used to get iface_cache, stores and fetcher
- @param include_packages: also try to install native packages (since 1.5)
- @return: a L{tasks.Blocker} or None"""
- if _old:
- config = get_deprecated_singleton_config()
-
+ def get_unavailable_selections(self, config, include_packages):
+ """Find those selections which are not present.
+ Local implementations are available if their directory exists.
+ Other 0install implementations are available if they are in the cache.
+ Package implementations are available if the Distribution says so.
+ @param include_packages: whether to include <package-implementation>s
+ @rtype: [Selection]
+ @since: 1.16"""
iface_cache = config.iface_cache
stores = config.stores
@@ -352,7 +349,24 @@
else:
return sel.get_path(stores, missing_ok = True) is None
- needed_downloads = list(filter(needs_download, self.selections.values()))
+ return [sel for sel in self.selections.values() if needs_download(sel)]
+
+ def download_missing(self, config, _old = None, include_packages = False):
+ """Check all selected implementations are available.
+ Download any that are not present. Since native distribution packages are usually
+ only available in a single version, which is unlikely to be the one in the
+ selections document, we ignore them by default.
+ Note: package implementations (distribution packages) are ignored.
+ @param config: used to get iface_cache, stores and fetcher
+ @param include_packages: also try to install native packages (since 1.5)
+ @return: a L{tasks.Blocker} or None"""
+ if _old:
+ config = get_deprecated_singleton_config()
+
+ iface_cache = config.iface_cache
+ stores = config.stores
+
+ needed_downloads = self.get_unavailable_selections(config, include_packages)
if not needed_downloads:
return
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/0install-1.15/zeroinstall/injector/solver.py new/0install-1.16/zeroinstall/injector/solver.py
--- old/0install-1.15/zeroinstall/injector/solver.py 2013-02-12 16:35:03.000000000 +0100
+++ new/0install-1.16/zeroinstall/injector/solver.py 2013-02-24 15:29:35.000000000 +0100
@@ -488,15 +488,15 @@
if distro_feed.implementations:
impls.extend(distro_feed.implementations.values())
except MissingLocalFeed as ex:
- logger.warn(_("Missing local feed; if it's no longer required, remove it with:") +
+ logger.warning(_("Missing local feed; if it's no longer required, remove it with:") +
'\n0install remove-feed ' + iface.uri + ' ' + f,
{'feed': f, 'interface': iface, 'exception': ex})
except model.SafeException as ex:
- logger.warn(_("Failed to load feed %(feed)s for %(interface)s: %(exception)s"), {'feed': f, 'interface': iface, 'exception': ex})
+ logger.warning(_("Failed to load feed %(feed)s for %(interface)s: %(exception)s"), {'feed': f, 'interface': iface, 'exception': ex})
#raise
except Exception as ex:
import logging
- logger.warn(_("Failed to load feed %(feed)s for %(interface)s: %(exception)s"), {'feed': f, 'interface': iface, 'exception': ex},
+ logger.warning(_("Failed to load feed %(feed)s for %(interface)s: %(exception)s"), {'feed': f, 'interface': iface, 'exception': ex},
exc_info = True if logger.isEnabledFor(logging.INFO) else None)
impls.sort(key = lambda impl: self.get_rating(iface, impl, arch), reverse = True)
@@ -641,7 +641,7 @@
# Can't select an implementation of an interface and of its replacement
for original, replacement in replacement_for.items():
if original == replacement:
- logger.warn("Interface %s replaced-by itself!", original)
+ logger.warning("Interface %s replaced-by itself!", original)
continue
rep_impls = iface_to_vars.get(replacement, None)
if rep_impls is None:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/0install-1.15/zeroinstall/injector/versions.py new/0install-1.16/zeroinstall/injector/versions.py
--- old/0install-1.15/zeroinstall/injector/versions.py 2013-02-12 16:35:03.000000000 +0100
+++ new/0install-1.16/zeroinstall/injector/versions.py 2013-02-24 15:29:35.000000000 +0100
@@ -57,7 +57,7 @@
def format_version(version):
"""Format a parsed version for display. Undoes the effect of L{parse_version}.
- @see: L{Implementation.get_version}
+ @see: L{model.Implementation.get_version}
@rtype: str
@since: 0.24"""
version = version[:]
@@ -75,7 +75,7 @@
@param r: the range expression
@type r: str
@return: a function which returns whether a parsed version is in the range
- @type: parsed_version -> bool
+ @rtype: parsed_version -> bool
@since: 1.13"""
parts = r.split('..', 1)
if len(parts) == 1:
@@ -110,7 +110,7 @@
@param expr: the expression to parse
@type expr: str
@return: a function which tests whether a parsed version is in the range
- @type: parsed_version -> bool
+ @rtype: parsed_version -> bool
@since: 1.13"""
tests = [parse_version_range(r.strip()) for r in expr.split('|')]
return lambda v: any(test(v) for test in tests)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/0install-1.15/zeroinstall/support/tasks.py new/0install-1.16/zeroinstall/support/tasks.py
--- old/0install-1.15/zeroinstall/support/tasks.py 2013-02-12 16:35:03.000000000 +0100
+++ new/0install-1.16/zeroinstall/support/tasks.py 2013-02-24 15:29:35.000000000 +0100
@@ -56,12 +56,12 @@
try:
reporter(*b.exception)
except:
- logger.warn("Failure reporting error! Error was: %s", repr(b.exception[0]))
+ logger.warning("Failure reporting error! Error was: %s", repr(b.exception[0]))
raise
elif ex is None:
ex = b.exception
else:
- logger.warn(_("Multiple exceptions waiting; skipping %s"), b.exception[0])
+ logger.warning(_("Multiple exceptions waiting; skipping %s"), b.exception[0])
if ex:
support.raise_with_traceback(ex[0], ex[1])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/0install-1.15/zeroinstall/zerostore/__init__.py new/0install-1.16/zeroinstall/zerostore/__init__.py
--- old/0install-1.15/zeroinstall/zerostore/__init__.py 2013-02-12 16:35:03.000000000 +0100
+++ new/0install-1.16/zeroinstall/zerostore/__init__.py 2013-02-24 15:29:35.000000000 +0100
@@ -157,8 +157,8 @@
_copytree2(path, tmp)
self.check_manifest_and_rename(required_digest, tmp, try_helper = try_helper, dry_run = dry_run)
except:
- logger.warn(_("Error importing directory."))
- logger.warn(_("Deleting %s"), tmp)
+ logger.warning(_("Error importing directory."))
+ logger.warning(_("Deleting %s"), tmp)
support.ro_rmtree(tmp)
raise
@@ -200,7 +200,7 @@
os.close(dev_null)
if exit_code:
- logger.warn(_("0store-secure-add-helper failed."))
+ logger.warning(_("0store-secure-add-helper failed."))
return False
logger.info(_("Added succcessfully."))
@@ -244,7 +244,7 @@
final_name = os.path.join(self.dir, required_digest)
if os.path.isdir(final_name):
- logger.warn(_("Item %s already stored.") % final_name) # not really an error
+ logger.warning(_("Item %s already stored.") % final_name) # not really an error
return
if dry_run:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/0install-1.15/zeroinstall/zerostore/manifest.py new/0install-1.16/zeroinstall/zerostore/manifest.py
--- old/0install-1.15/zeroinstall/zerostore/manifest.py 2013-02-12 16:35:03.000000000 +0100
+++ new/0install-1.16/zeroinstall/zerostore/manifest.py 2013-02-24 15:29:35.000000000 +0100
@@ -378,7 +378,7 @@
try:
required_details = wanted.pop(path)
except KeyError:
- logger.warn(_("Skipping file not in manifest: '%s'"), path)
+ logger.warning(_("Skipping file not in manifest: '%s'"), path)
continue
if required_details[0] != type:
raise BadDigest(_("Item '%s' has wrong type!") % path)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/0install-1.15/zeroinstall/zerostore/optimise.py new/0install-1.16/zeroinstall/zerostore/optimise.py
--- old/0install-1.15/zeroinstall/zerostore/optimise.py 2013-02-12 16:35:03.000000000 +0100
+++ new/0install-1.16/zeroinstall/zerostore/optimise.py 2013-02-24 15:29:35.000000000 +0100
@@ -27,7 +27,7 @@
def _link(a, b, tmpfile):
"""Keep 'a', delete 'b' and hard-link to 'a'"""
if not _byte_identical(a, b):
- logger.warn(_("Files should be identical, but they're not!\n%(file_a)s\n%(file_b)s"), {'file_a': a, 'file_b': b})
+ logger.warning(_("Files should be identical, but they're not!\n%(file_a)s\n%(file_b)s"), {'file_a': a, 'file_b': b})
b_dir = os.path.dirname(b)
old_mode = os.lstat(b_dir).st_mode
@@ -77,13 +77,13 @@
try:
alg, manifest_digest = parse_algorithm_digest_pair(impl)
except BadDigest:
- logger.warn(_("Skipping non-implementation '%s'"), impl)
+ logger.warning(_("Skipping non-implementation '%s'"), impl)
continue
manifest_path = os.path.join(impl_dir, impl, '.manifest')
try:
ms = open(manifest_path, 'rt')
except OSError as ex:
- logger.warn(_("Failed to read manifest file '%(manifest_path)s': %(exception)s"), {'manifest': manifest_path, 'exception': str(ex)})
+ logger.warning(_("Failed to read manifest file '%(manifest_path)s': %(exception)s"), {'manifest': manifest_path, 'exception': str(ex)})
continue
if alg == 'sha1':
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/0install-1.15/zeroinstall/zerostore/unpack.py new/0install-1.16/zeroinstall/zerostore/unpack.py
--- old/0install-1.15/zeroinstall/zerostore/unpack.py 2013-02-12 16:35:03.000000000 +0100
+++ new/0install-1.16/zeroinstall/zerostore/unpack.py 2013-02-24 15:29:35.000000000 +0100
@@ -59,7 +59,7 @@
version = list(map(int, version.group(1).split('.')))
recent_gnu_tar = version > [1, 13, 92]
else:
- logger.warn(_("Failed to extract GNU tar version number"))
+ logger.warning(_("Failed to extract GNU tar version number"))
logger.debug(_("Recent GNU tar = %s"), recent_gnu_tar)
return recent_gnu_tar
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package yast2-update for openSUSE:12.3 checked in at 2013-02-25 20:47:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.3/yast2-update (Old)
and /work/SRC/openSUSE:12.3/.yast2-update.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-update", Maintainer is "jsuchome(a)suse.com"
Changes:
--------
--- /work/SRC/openSUSE:12.3/yast2-update/yast2-update.changes 2013-02-21 15:17:00.000000000 +0100
+++ /work/SRC/openSUSE:12.3/.yast2-update.new/yast2-update.changes 2013-02-25 20:47:18.000000000 +0100
@@ -1,0 +2,6 @@
+Mon Feb 25 12:23:59 CET 2013 - jsuchome(a)suse.cz
+
+- do not unmout /var multiple times (bnc#805698)
+- 2.23.1
+
+-------------------------------------------------------------------
Old:
----
yast2-update-2.23.0.tar.bz2
New:
----
yast2-update-2.23.1.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-update.spec ++++++
--- /var/tmp/diff_new_pack.VeiYyY/_old 2013-02-25 20:47:19.000000000 +0100
+++ /var/tmp/diff_new_pack.VeiYyY/_new 2013-02-25 20:47:19.000000000 +0100
@@ -17,7 +17,7 @@
Name: yast2-update
-Version: 2.23.0
+Version: 2.23.1
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
++++++ yast2-update-2.23.0.tar.bz2 -> yast2-update-2.23.1.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-update-2.23.0/VERSION new/yast2-update-2.23.1/VERSION
--- old/yast2-update-2.23.0/VERSION 2013-02-21 13:36:35.000000000 +0100
+++ new/yast2-update-2.23.1/VERSION 2013-02-25 12:33:28.000000000 +0100
@@ -1 +1 @@
-2.23.0
+2.23.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-update-2.23.0/configure new/yast2-update-2.23.1/configure
--- old/yast2-update-2.23.0/configure 2013-02-21 13:36:46.000000000 +0100
+++ new/yast2-update-2.23.1/configure 2013-02-25 12:42:42.000000000 +0100
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for yast2-update 2.23.0.
+# Generated by GNU Autoconf 2.69 for yast2-update 2.23.1.
#
# Report bugs to <http://bugs.opensuse.org/>.
#
@@ -579,8 +579,8 @@
# Identity of this package.
PACKAGE_NAME='yast2-update'
PACKAGE_TARNAME='yast2-update'
-PACKAGE_VERSION='2.23.0'
-PACKAGE_STRING='yast2-update 2.23.0'
+PACKAGE_VERSION='2.23.1'
+PACKAGE_STRING='yast2-update 2.23.1'
PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
PACKAGE_URL=''
@@ -1247,7 +1247,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-update 2.23.0 to adapt to many kinds of systems.
+\`configure' configures yast2-update 2.23.1 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1318,7 +1318,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of yast2-update 2.23.0:";;
+ short | recursive ) echo "Configuration of yast2-update 2.23.1:";;
esac
cat <<\_ACEOF
@@ -1398,7 +1398,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-yast2-update configure 2.23.0
+yast2-update configure 2.23.1
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1415,7 +1415,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-update $as_me 2.23.0, which was
+It was created by yast2-update $as_me 2.23.1, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
@@ -2354,7 +2354,7 @@
# Define the identity of the package.
PACKAGE='yast2-update'
- VERSION='2.23.0'
+ VERSION='2.23.1'
cat >>confdefs.h <<_ACEOF
@@ -2477,7 +2477,7 @@
-VERSION="2.23.0"
+VERSION="2.23.1"
RPMNAME="yast2-update"
MAINTAINER="Jiří Suchomel <jsuchome(a)suse.cz>"
@@ -3405,7 +3405,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by yast2-update $as_me 2.23.0, which was
+This file was extended by yast2-update $as_me 2.23.1, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -3458,7 +3458,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-update config.status 2.23.0
+yast2-update config.status 2.23.1
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-update-2.23.0/configure.in new/yast2-update-2.23.1/configure.in
--- old/yast2-update-2.23.0/configure.in 2013-02-21 13:36:42.000000000 +0100
+++ new/yast2-update-2.23.1/configure.in 2013-02-25 12:42:38.000000000 +0100
@@ -3,7 +3,7 @@
dnl -- This file is generated by y2autoconf 2.23.2 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-update, 2.23.0, http://bugs.opensuse.org/, yast2-update)
+AC_INIT(yast2-update, 2.23.1, http://bugs.opensuse.org/, yast2-update)
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.23.0"
+VERSION="2.23.1"
RPMNAME="yast2-update"
MAINTAINER="Jiří Suchomel <jsuchome(a)suse.cz>"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-update-2.23.0/src/modules/RootPart.ycp new/yast2-update-2.23.1/src/modules/RootPart.ycp
--- old/yast2-update-2.23.0/src/modules/RootPart.ycp 2013-01-22 12:18:59.000000000 +0100
+++ new/yast2-update-2.23.1/src/modules/RootPart.ycp 2013-02-25 12:33:28.000000000 +0100
@@ -835,6 +835,7 @@
// umount /var
if (fstab_has_separate_var) {
SCR::Execute (.target.umount, Installation::destdir + "/var");
+ activated = remove (activated, 0);
}
return true;
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package yast2-update for openSUSE:Factory checked in at 2013-02-25 20:47:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-update (Old)
and /work/SRC/openSUSE:Factory/.yast2-update.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-update", Maintainer is "jsuchome(a)suse.com"
Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-update/yast2-update.changes 2013-02-21 15:16:56.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.yast2-update.new/yast2-update.changes 2013-02-25 20:47:14.000000000 +0100
@@ -1,0 +2,6 @@
+Mon Feb 25 12:23:59 CET 2013 - jsuchome(a)suse.cz
+
+- do not unmout /var multiple times (bnc#805698)
+- 2.23.1
+
+-------------------------------------------------------------------
Old:
----
yast2-update-2.23.0.tar.bz2
New:
----
yast2-update-2.23.1.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-update.spec ++++++
--- /var/tmp/diff_new_pack.g98wDF/_old 2013-02-25 20:47:16.000000000 +0100
+++ /var/tmp/diff_new_pack.g98wDF/_new 2013-02-25 20:47:16.000000000 +0100
@@ -17,7 +17,7 @@
Name: yast2-update
-Version: 2.23.0
+Version: 2.23.1
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
++++++ yast2-update-2.23.0.tar.bz2 -> yast2-update-2.23.1.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-update-2.23.0/VERSION new/yast2-update-2.23.1/VERSION
--- old/yast2-update-2.23.0/VERSION 2013-02-21 13:36:35.000000000 +0100
+++ new/yast2-update-2.23.1/VERSION 2013-02-25 12:33:28.000000000 +0100
@@ -1 +1 @@
-2.23.0
+2.23.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-update-2.23.0/configure new/yast2-update-2.23.1/configure
--- old/yast2-update-2.23.0/configure 2013-02-21 13:36:46.000000000 +0100
+++ new/yast2-update-2.23.1/configure 2013-02-25 12:42:42.000000000 +0100
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for yast2-update 2.23.0.
+# Generated by GNU Autoconf 2.69 for yast2-update 2.23.1.
#
# Report bugs to <http://bugs.opensuse.org/>.
#
@@ -579,8 +579,8 @@
# Identity of this package.
PACKAGE_NAME='yast2-update'
PACKAGE_TARNAME='yast2-update'
-PACKAGE_VERSION='2.23.0'
-PACKAGE_STRING='yast2-update 2.23.0'
+PACKAGE_VERSION='2.23.1'
+PACKAGE_STRING='yast2-update 2.23.1'
PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
PACKAGE_URL=''
@@ -1247,7 +1247,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-update 2.23.0 to adapt to many kinds of systems.
+\`configure' configures yast2-update 2.23.1 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1318,7 +1318,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of yast2-update 2.23.0:";;
+ short | recursive ) echo "Configuration of yast2-update 2.23.1:";;
esac
cat <<\_ACEOF
@@ -1398,7 +1398,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-yast2-update configure 2.23.0
+yast2-update configure 2.23.1
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1415,7 +1415,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-update $as_me 2.23.0, which was
+It was created by yast2-update $as_me 2.23.1, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
@@ -2354,7 +2354,7 @@
# Define the identity of the package.
PACKAGE='yast2-update'
- VERSION='2.23.0'
+ VERSION='2.23.1'
cat >>confdefs.h <<_ACEOF
@@ -2477,7 +2477,7 @@
-VERSION="2.23.0"
+VERSION="2.23.1"
RPMNAME="yast2-update"
MAINTAINER="Jiří Suchomel <jsuchome(a)suse.cz>"
@@ -3405,7 +3405,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by yast2-update $as_me 2.23.0, which was
+This file was extended by yast2-update $as_me 2.23.1, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -3458,7 +3458,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-update config.status 2.23.0
+yast2-update config.status 2.23.1
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-update-2.23.0/configure.in new/yast2-update-2.23.1/configure.in
--- old/yast2-update-2.23.0/configure.in 2013-02-21 13:36:42.000000000 +0100
+++ new/yast2-update-2.23.1/configure.in 2013-02-25 12:42:38.000000000 +0100
@@ -3,7 +3,7 @@
dnl -- This file is generated by y2autoconf 2.23.2 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-update, 2.23.0, http://bugs.opensuse.org/, yast2-update)
+AC_INIT(yast2-update, 2.23.1, http://bugs.opensuse.org/, yast2-update)
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.23.0"
+VERSION="2.23.1"
RPMNAME="yast2-update"
MAINTAINER="Jiří Suchomel <jsuchome(a)suse.cz>"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-update-2.23.0/src/modules/RootPart.ycp new/yast2-update-2.23.1/src/modules/RootPart.ycp
--- old/yast2-update-2.23.0/src/modules/RootPart.ycp 2013-01-22 12:18:59.000000000 +0100
+++ new/yast2-update-2.23.1/src/modules/RootPart.ycp 2013-02-25 12:33:28.000000000 +0100
@@ -835,6 +835,7 @@
// umount /var
if (fstab_has_separate_var) {
SCR::Execute (.target.umount, Installation::destdir + "/var");
+ activated = remove (activated, 0);
}
return true;
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package yast2-iscsi-client for openSUSE:12.3 checked in at 2013-02-25 20:47:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.3/yast2-iscsi-client (Old)
and /work/SRC/openSUSE:12.3/.yast2-iscsi-client.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-iscsi-client", Maintainer is "fehr(a)suse.com"
Changes:
--------
--- /work/SRC/openSUSE:12.3/yast2-iscsi-client/yast2-iscsi-client.changes 2013-02-08 07:18:23.000000000 +0100
+++ /work/SRC/openSUSE:12.3/.yast2-iscsi-client.new/yast2-iscsi-client.changes 2013-02-25 20:47:01.000000000 +0100
@@ -1,0 +2,6 @@
+Mon Feb 25 11:20:22 CET 2013 - fehr(a)suse.de
+
+- version 2.23.4
+- fix ycp syntax error (bnc#805399)
+
+-------------------------------------------------------------------
Old:
----
yast2-iscsi-client-2.23.3.tar.bz2
New:
----
yast2-iscsi-client-2.23.4.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-iscsi-client.spec ++++++
--- /var/tmp/diff_new_pack.hnyRGc/_old 2013-02-25 20:47:02.000000000 +0100
+++ /var/tmp/diff_new_pack.hnyRGc/_new 2013-02-25 20:47:02.000000000 +0100
@@ -17,7 +17,7 @@
Name: yast2-iscsi-client
-Version: 2.23.3
+Version: 2.23.4
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
++++++ yast2-iscsi-client-2.23.3.tar.bz2 -> yast2-iscsi-client-2.23.4.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-iscsi-client-2.23.3/VERSION new/yast2-iscsi-client-2.23.4/VERSION
--- old/yast2-iscsi-client-2.23.3/VERSION 2013-02-05 15:01:33.000000000 +0100
+++ new/yast2-iscsi-client-2.23.4/VERSION 2013-02-25 11:26:31.000000000 +0100
@@ -1 +1 @@
-2.23.3
+2.23.4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-iscsi-client-2.23.3/configure new/yast2-iscsi-client-2.23.4/configure
--- old/yast2-iscsi-client-2.23.3/configure 2013-02-05 15:01:45.000000000 +0100
+++ new/yast2-iscsi-client-2.23.4/configure 2013-02-25 11:26:43.000000000 +0100
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for yast2-iscsi-client 2.23.3.
+# Generated by GNU Autoconf 2.69 for yast2-iscsi-client 2.23.4.
#
# Report bugs to <http://bugs.opensuse.org/>.
#
@@ -579,8 +579,8 @@
# Identity of this package.
PACKAGE_NAME='yast2-iscsi-client'
PACKAGE_TARNAME='yast2-iscsi-client'
-PACKAGE_VERSION='2.23.3'
-PACKAGE_STRING='yast2-iscsi-client 2.23.3'
+PACKAGE_VERSION='2.23.4'
+PACKAGE_STRING='yast2-iscsi-client 2.23.4'
PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
PACKAGE_URL=''
@@ -1247,7 +1247,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-iscsi-client 2.23.3 to adapt to many kinds of systems.
+\`configure' configures yast2-iscsi-client 2.23.4 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1319,7 +1319,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of yast2-iscsi-client 2.23.3:";;
+ short | recursive ) echo "Configuration of yast2-iscsi-client 2.23.4:";;
esac
cat <<\_ACEOF
@@ -1399,7 +1399,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-yast2-iscsi-client configure 2.23.3
+yast2-iscsi-client configure 2.23.4
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1416,7 +1416,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-iscsi-client $as_me 2.23.3, which was
+It was created by yast2-iscsi-client $as_me 2.23.4, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
@@ -2355,7 +2355,7 @@
# Define the identity of the package.
PACKAGE='yast2-iscsi-client'
- VERSION='2.23.3'
+ VERSION='2.23.4'
cat >>confdefs.h <<_ACEOF
@@ -2478,7 +2478,7 @@
-VERSION="2.23.3"
+VERSION="2.23.4"
RPMNAME="yast2-iscsi-client"
MAINTAINER="Thomas Fehr <fehr(a)suse.de>"
@@ -3404,7 +3404,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by yast2-iscsi-client $as_me 2.23.3, which was
+This file was extended by yast2-iscsi-client $as_me 2.23.4, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -3457,7 +3457,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-iscsi-client config.status 2.23.3
+yast2-iscsi-client config.status 2.23.4
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-iscsi-client-2.23.3/configure.in new/yast2-iscsi-client-2.23.4/configure.in
--- old/yast2-iscsi-client-2.23.3/configure.in 2013-02-05 15:01:42.000000000 +0100
+++ new/yast2-iscsi-client-2.23.4/configure.in 2013-02-25 11:26:39.000000000 +0100
@@ -3,7 +3,7 @@
dnl -- This file is generated by y2autoconf 2.23.2 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-iscsi-client, 2.23.3, http://bugs.opensuse.org/, yast2-iscsi-client)
+AC_INIT(yast2-iscsi-client, 2.23.4, http://bugs.opensuse.org/, yast2-iscsi-client)
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.23.3"
+VERSION="2.23.4"
RPMNAME="yast2-iscsi-client"
MAINTAINER="Thomas Fehr <fehr(a)suse.de>"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-iscsi-client-2.23.3/src/dialogs.ycp new/yast2-iscsi-client-2.23.4/src/dialogs.ycp
--- old/yast2-iscsi-client-2.23.3/src/dialogs.ycp 2013-01-22 11:24:13.000000000 +0100
+++ new/yast2-iscsi-client-2.23.4/src/dialogs.ycp 2013-02-25 11:26:31.000000000 +0100
@@ -167,14 +167,14 @@
`VBox(
`Left(`Label(_("Incoming Authentication"))),
`HBox(
- `HWeigth(2,`TextEntry(`id(`user_in), _("Username"))),
- `HWeigth(1,`Password(`id(`pass_in), _("Password")))
+ `HWeight(2,`TextEntry(`id(`user_in), _("Username"))),
+ `HWeight(1,`Password(`id(`pass_in), _("Password")))
),
`VSpacing(2),
`Left( `Label(_("Outgoing Authentication"))),
`HBox(
- `HWeigth(2,`TextEntry(`id(`user_out), _("Username"))),
- `HWeigth(1,`Password(`id(`pass_out), _("Password")))
+ `HWeight(2,`TextEntry(`id(`user_out), _("Username"))),
+ `HWeight(1,`Password(`id(`pass_out), _("Password")))
)
)
)
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package yast2-iscsi-client for openSUSE:Factory checked in at 2013-02-25 20:46:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-iscsi-client (Old)
and /work/SRC/openSUSE:Factory/.yast2-iscsi-client.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-iscsi-client", Maintainer is "fehr(a)suse.com"
Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-iscsi-client/yast2-iscsi-client.changes 2013-02-08 07:18:18.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.yast2-iscsi-client.new/yast2-iscsi-client.changes 2013-02-25 20:46:59.000000000 +0100
@@ -1,0 +2,6 @@
+Mon Feb 25 11:20:22 CET 2013 - fehr(a)suse.de
+
+- version 2.23.4
+- fix ycp syntax error (bnc#805399)
+
+-------------------------------------------------------------------
Old:
----
yast2-iscsi-client-2.23.3.tar.bz2
New:
----
yast2-iscsi-client-2.23.4.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-iscsi-client.spec ++++++
--- /var/tmp/diff_new_pack.W3oztH/_old 2013-02-25 20:47:01.000000000 +0100
+++ /var/tmp/diff_new_pack.W3oztH/_new 2013-02-25 20:47:01.000000000 +0100
@@ -17,7 +17,7 @@
Name: yast2-iscsi-client
-Version: 2.23.3
+Version: 2.23.4
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
++++++ yast2-iscsi-client-2.23.3.tar.bz2 -> yast2-iscsi-client-2.23.4.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-iscsi-client-2.23.3/VERSION new/yast2-iscsi-client-2.23.4/VERSION
--- old/yast2-iscsi-client-2.23.3/VERSION 2013-02-05 15:01:33.000000000 +0100
+++ new/yast2-iscsi-client-2.23.4/VERSION 2013-02-25 11:26:31.000000000 +0100
@@ -1 +1 @@
-2.23.3
+2.23.4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-iscsi-client-2.23.3/configure new/yast2-iscsi-client-2.23.4/configure
--- old/yast2-iscsi-client-2.23.3/configure 2013-02-05 15:01:45.000000000 +0100
+++ new/yast2-iscsi-client-2.23.4/configure 2013-02-25 11:26:43.000000000 +0100
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for yast2-iscsi-client 2.23.3.
+# Generated by GNU Autoconf 2.69 for yast2-iscsi-client 2.23.4.
#
# Report bugs to <http://bugs.opensuse.org/>.
#
@@ -579,8 +579,8 @@
# Identity of this package.
PACKAGE_NAME='yast2-iscsi-client'
PACKAGE_TARNAME='yast2-iscsi-client'
-PACKAGE_VERSION='2.23.3'
-PACKAGE_STRING='yast2-iscsi-client 2.23.3'
+PACKAGE_VERSION='2.23.4'
+PACKAGE_STRING='yast2-iscsi-client 2.23.4'
PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
PACKAGE_URL=''
@@ -1247,7 +1247,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-iscsi-client 2.23.3 to adapt to many kinds of systems.
+\`configure' configures yast2-iscsi-client 2.23.4 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1319,7 +1319,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of yast2-iscsi-client 2.23.3:";;
+ short | recursive ) echo "Configuration of yast2-iscsi-client 2.23.4:";;
esac
cat <<\_ACEOF
@@ -1399,7 +1399,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-yast2-iscsi-client configure 2.23.3
+yast2-iscsi-client configure 2.23.4
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1416,7 +1416,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-iscsi-client $as_me 2.23.3, which was
+It was created by yast2-iscsi-client $as_me 2.23.4, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
@@ -2355,7 +2355,7 @@
# Define the identity of the package.
PACKAGE='yast2-iscsi-client'
- VERSION='2.23.3'
+ VERSION='2.23.4'
cat >>confdefs.h <<_ACEOF
@@ -2478,7 +2478,7 @@
-VERSION="2.23.3"
+VERSION="2.23.4"
RPMNAME="yast2-iscsi-client"
MAINTAINER="Thomas Fehr <fehr(a)suse.de>"
@@ -3404,7 +3404,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by yast2-iscsi-client $as_me 2.23.3, which was
+This file was extended by yast2-iscsi-client $as_me 2.23.4, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -3457,7 +3457,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-iscsi-client config.status 2.23.3
+yast2-iscsi-client config.status 2.23.4
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-iscsi-client-2.23.3/configure.in new/yast2-iscsi-client-2.23.4/configure.in
--- old/yast2-iscsi-client-2.23.3/configure.in 2013-02-05 15:01:42.000000000 +0100
+++ new/yast2-iscsi-client-2.23.4/configure.in 2013-02-25 11:26:39.000000000 +0100
@@ -3,7 +3,7 @@
dnl -- This file is generated by y2autoconf 2.23.2 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-iscsi-client, 2.23.3, http://bugs.opensuse.org/, yast2-iscsi-client)
+AC_INIT(yast2-iscsi-client, 2.23.4, http://bugs.opensuse.org/, yast2-iscsi-client)
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.23.3"
+VERSION="2.23.4"
RPMNAME="yast2-iscsi-client"
MAINTAINER="Thomas Fehr <fehr(a)suse.de>"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-iscsi-client-2.23.3/src/dialogs.ycp new/yast2-iscsi-client-2.23.4/src/dialogs.ycp
--- old/yast2-iscsi-client-2.23.3/src/dialogs.ycp 2013-01-22 11:24:13.000000000 +0100
+++ new/yast2-iscsi-client-2.23.4/src/dialogs.ycp 2013-02-25 11:26:31.000000000 +0100
@@ -167,14 +167,14 @@
`VBox(
`Left(`Label(_("Incoming Authentication"))),
`HBox(
- `HWeigth(2,`TextEntry(`id(`user_in), _("Username"))),
- `HWeigth(1,`Password(`id(`pass_in), _("Password")))
+ `HWeight(2,`TextEntry(`id(`user_in), _("Username"))),
+ `HWeight(1,`Password(`id(`pass_in), _("Password")))
),
`VSpacing(2),
`Left( `Label(_("Outgoing Authentication"))),
`HBox(
- `HWeigth(2,`TextEntry(`id(`user_out), _("Username"))),
- `HWeigth(1,`Password(`id(`pass_out), _("Password")))
+ `HWeight(2,`TextEntry(`id(`user_out), _("Username"))),
+ `HWeight(1,`Password(`id(`pass_out), _("Password")))
)
)
)
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package vym for openSUSE:Factory checked in at 2013-02-25 20:46:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/vym (Old)
and /work/SRC/openSUSE:Factory/.vym.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "vym", Maintainer is "uwedr(a)suse.com"
Changes:
--------
--- /work/SRC/openSUSE:Factory/vym/vym.changes 2013-01-14 22:34:50.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.vym.new/vym.changes 2013-02-25 20:46:19.000000000 +0100
@@ -1,0 +2,18 @@
+Sat Feb 23 16:07:17 CET 2013 - uwedr(a)suse.de
+
+- Version 2.3.14
+- Bugfix: Stretch width of last column in task editor
+- Bugfix: Delete slide deleted 2 slides at once
+- Bugfix: Removed unneeded output in testscript
+- Bugfix: Reuse previous HTML export settings
+- Bugfix: Delete slide deleted 2 slides at once
+- Bugfix: Undo of deleting mapcenter
+
+-------------------------------------------------------------------
+Mon Jan 21 17:45:17 CET 2013 - uwedr(a)suse.de
+
+- Version 2.3.13
+- Bugfix: Undo of deleting mapcenter (risk of dataloss)
+ (including testcase)
+
+-------------------------------------------------------------------
Old:
----
vym-2.3.12.tar.bz2
New:
----
vym-2.3.14.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ vym.spec ++++++
--- /var/tmp/diff_new_pack.1QjA5c/_old 2013-02-25 20:46:21.000000000 +0100
+++ /var/tmp/diff_new_pack.1QjA5c/_new 2013-02-25 20:46:21.000000000 +0100
@@ -26,7 +26,7 @@
Summary: View Your Mind - generate and manipulate maps which show your thoughts
License: GPL-2.0
Group: Productivity/Office/Other
-Version: 2.3.12
+Version: 2.3.14
Release: 0
Source0: %name-%version.tar.bz2
Source1: %name.xml
++++++ makedist.config ++++++
--- /var/tmp/diff_new_pack.1QjA5c/_old 2013-02-25 20:46:21.000000000 +0100
+++ /var/tmp/diff_new_pack.1QjA5c/_new 2013-02-25 20:46:21.000000000 +0100
@@ -1,3 +1,3 @@
-VERSION=2.3.12
+VERSION=2.3.14
BRANCH="maintained-release"
REMOTE="sf"
++++++ vym-2.3.12.tar.bz2 -> vym-2.3.14.tar.bz2 ++++++
/work/SRC/openSUSE:Factory/vym/vym-2.3.12.tar.bz2 /work/SRC/openSUSE:Factory/.vym.new/vym-2.3.14.tar.bz2 differ: char 11, line 1
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package vim for openSUSE:Factory checked in at 2013-02-25 20:45:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/vim (Old)
and /work/SRC/openSUSE:Factory/.vim.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "vim", Maintainer is "idonmez(a)suse.com"
Changes:
--------
--- /work/SRC/openSUSE:Factory/vim/vim.changes 2013-01-29 07:07:24.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.vim.new/vim.changes 2013-02-25 20:45:57.000000000 +0100
@@ -1,0 +2,40 @@
+Thu Feb 21 14:29:08 UTC 2013 - idonmez(a)suse.com
+
+- Updated to revision 831, fixes the following problems
+ * Python threads don't run in the background (issue 103).
+ * "\k" in regexp does not work in other window.
+ * After reloading a buffer the modelines are not processed.
+ * MzScheme interface doesn't work propely.
+ * ":substitute" works differently without confirmation.
+ * New interactive :substutite behavior is not tested.
+ * Tiny build fails. (Tony Mechelynck)
+ * MzScheme does not build with tiny features.
+ * Compiler warning for size_t to int conversion. (Skeept)
+ * MzScheme: circular list does not work correctly.
+ * The color column is not correct when entering a buffer.
+ * The " mark is not adjusted when inserting lines. (Roland Eggner)
+ * ":window set nu?" displays the cursor line. (Nazri Ramliy)
+ * Compiler warning for tiny build. (Tony Mechelynck)
+ * Python threads still do not work properly.
+ * The dosinst.c program has a buffer overflow. (Thomas Gwae)
+ * 'relativenumber is reset unexpectedly.
+ * Useless termresponse parsing for SGR mouse.
+ * When 'indentexpr' moves the cursor "curswant" not restored.
+ * Can't compute a hash.
+ * Test 89 fails with tiny and small features.
+ * Compiling without +eval and with Python isn't working.
+ * Crash when accessing freed buffer.
+ * Can redefine builtin functions. (ZyX)
+ * With Python errors are not always clear.
+ * List of features in :version output is hard to read.
+ * Python tests fail.
+ * Mappings are not aware of wildmenu mode.
+ * Clumsy to handle the situation that a variable does not exist.
+- Refresh vim-7.1.314-CVE-2009-0316-debian.patch
+
+-------------------------------------------------------------------
+Tue Feb 12 21:51:53 UTC 2013 - mkoegler(a)auto.tuwien.ac.at
+
+- Reenable ACL support-
+
+-------------------------------------------------------------------
@@ -1366,6 +1406,6 @@
- � Support for GTK2
- � Support for editing Arabic text
- � ":try" command and exception handling
- � Support for the neXtaw GUI toolkit
- � Cscope support for Win32
- � Support for PostScript printing in various 8-bit encodings
+ · Support for GTK2
+ · Support for editing Arabic text
+ · ":try" command and exception handling
+ · Support for the neXtaw GUI toolkit
+ · Cscope support for Win32
+ · Support for PostScript printing in various 8-bit encodings
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ vim.spec ++++++
--- /var/tmp/diff_new_pack.nn1Kn3/_old 2013-02-25 20:46:01.000000000 +0100
+++ /var/tmp/diff_new_pack.nn1Kn3/_new 2013-02-25 20:46:01.000000000 +0100
@@ -17,7 +17,7 @@
%define pkg_version 7.3
-%define official_ptchlvl 785
+%define official_ptchlvl 831
%define VIM_SUBDIR vim73
%define site_runtimepath /usr/share/vim/site
@@ -34,6 +34,7 @@
%if 0%{?suse_version} > 1200
BuildRequires: pkgconfig(xt)
%endif
+BuildRequires: libacl-devel
BuildRequires: ncurses-devel
BuildRequires: perl
BuildRequires: pkgconfig
++++++ vim-7.1.314-CVE-2009-0316-debian.patch ++++++
--- /var/tmp/diff_new_pack.nn1Kn3/_old 2013-02-25 20:46:01.000000000 +0100
+++ /var/tmp/diff_new_pack.nn1Kn3/_new 2013-02-25 20:46:01.000000000 +0100
@@ -1,7 +1,6 @@
-diff -p -up ./src/if_python.c.tv ./src/if_python.c
---- ./src/if_python.c.tv 2009-02-25 09:58:07.000000000 +0100
-+++ ./src/if_python.c 2009-02-25 09:58:11.000000000 +0100
-@@ -394,6 +394,7 @@ static PyInt RangeEnd;
+--- ./src/if_python.c 2013-02-21 15:31:24.901839791 +0100
++++ ./src/if_python.c 2013-02-21 15:36:32.938839246 +0100
+@@ -631,6 +631,7 @@
static void PythonIO_Flush(void);
static int PythonIO_Init(void);
static int PythonMod_Init(void);
@@ -9,19 +8,19 @@
/* Utility functions for the vim/python interface
* ----------------------------------------------
-@@ -537,6 +538,11 @@ Python_Init(void)
+@@ -766,6 +767,11 @@
* the current directory in sys.path. */
PyRun_SimpleString("import sys; sys.path = filter(lambda x: x != '/must>not&exist', sys.path)");
-+ /* Remove empty elements from sys.path since that causes the PWD to be
-+ * used for imports, possibly masking system libraries and/or running
-+ * arbitrary code. */
-+ Python_FixPath();
++ /* Remove empty elements from sys.path since that causes the PWD to be
++ * used for imports, possibly masking system libraries and/or running
++ * arbitrary code. */
++ Python_FixPath();
+
- /* the first python thread is vim's, release the lock */
- Python_SaveThread();
-
-@@ -2390,6 +2396,28 @@ PythonMod_Init(void)
+ /* lock is created and acquired in PyEval_InitThreads() and thread
+ * state is created in Py_Initialize()
+ * there _PyGILState_NoteThreadState() also sets gilcounter to 1
+@@ -1598,6 +1604,28 @@
return 0;
}
++++++ vim-7.3-patches.tar.bz2 ++++++
++++ 8317 lines of diff (skipped)
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package usbutils for openSUSE:Factory checked in at 2013-02-25 20:45:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/usbutils (Old)
and /work/SRC/openSUSE:Factory/.usbutils.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "usbutils", Maintainer is "vojtech(a)suse.com"
Changes:
--------
--- /work/SRC/openSUSE:Factory/usbutils/usbutils.changes 2013-01-20 08:19:24.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.usbutils.new/usbutils.changes 2013-02-25 20:45:23.000000000 +0100
@@ -1,0 +2,6 @@
+Sun Feb 17 18:35:49 UTC 2013 - schwab(a)suse.de
+
+- config-guess-sub-update.patch:
+ Update config.guess/sub for aarch64
+
+-------------------------------------------------------------------
New:
----
config-guess-sub-update.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ usbutils.spec ++++++
--- /var/tmp/diff_new_pack.hTaiYi/_old 2013-02-25 20:45:25.000000000 +0100
+++ /var/tmp/diff_new_pack.hTaiYi/_new 2013-02-25 20:45:25.000000000 +0100
@@ -29,6 +29,7 @@
Source0: usbutils-%{version}.tar.xz
Source1: usbutils-rpmlintrc
Source2: usb.ids
+Patch: config-guess-sub-update.patch
%description
This package contains a utility for inspecting devices connected to USB
@@ -36,6 +37,7 @@
%prep
%setup -q
+%patch
cp %{S:2} usb.ids
%build
++++++ config-guess-sub-update.patch ++++++
++++ 1501 lines (skipped)
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package snapper for openSUSE:12.3 checked in at 2013-02-25 20:44:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.3/snapper (Old)
and /work/SRC/openSUSE:12.3/.snapper.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "snapper", Maintainer is "ASchnell(a)suse.com"
Changes:
--------
--- /work/SRC/openSUSE:12.3/snapper/snapper.changes 2013-02-22 17:02:12.000000000 +0100
+++ /work/SRC/openSUSE:12.3/.snapper.new/snapper.changes 2013-02-25 20:44:45.000000000 +0100
@@ -1,0 +2,5 @@
+Mon Feb 25 10:54:32 CET 2013 - aschnell(a)suse.de
+
+- updated translations
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ snapper-0.1.2.tar.bz2 ++++++
++++ 16835 lines of diff (skipped)
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0