[Bug 706741] New: 'osc ci' fails if a _service file is deleted
https://bugzilla.novell.com/show_bug.cgi?id=706741 https://bugzilla.novell.com/show_bug.cgi?id=706741#c0 Summary: 'osc ci' fails if a _service file is deleted Classification: Internal Novell Products Product: openSUSE Build Service Version: 2.2 Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: osc AssignedTo: adrian@novell.com ReportedBy: cgiboudeaux@gmx.com QAContact: adrian@novell.com Found By: --- Blocker: --- User-Agent: Opera/9.80 (X11; Linux x86_64; U; Edition Next; en) Presto/2.9.181 Version/12.00 Using OpenSuse Factory # osc --version 0.132.5 #rpm -qi osc Name : osc Version : 0.132.5 Release : 1.1 Architecture: noarch Install Date: ven. 08 juil. 2011 14:54:47 CEST Group : Development/Tools/Other Size : 1496753 License : GPLv2+ Signature : RSA/SHA256, jeu. 07 juil. 2011 15:47:15 CEST, Key ID b88b2fd43dbdc284 Source RPM : osc-0.132.5-1.1.src.rpm Build Date : jeu. 07 juil. 2011 15:46:27 CEST Build Host : build14 Relocations : (not relocatable) Packager : http://bugs.opensuse.org Vendor : openSUSE URL : http://www.gitorious.org/opensuse/osc Summary : openSUSE Build Service Commander Description : Commandline client for the openSUSE Build Service. Reproducible: Always Steps to Reproduce: 1. Delete a _service file and add a new file in the same commit 2. Commit 3. Actual Results: OSC returns an error: # osc addremove A prison-1.0.tar.bz2 D _service # osc ci . -m "Prepare for O:F submit" Traceback (most recent call last): File "/usr/bin/osc", line 21, in <module> r = babysitter.run(osccli) File "/usr/lib/python2.7/site-packages/osc/babysitter.py", line 52, in run return prg.main() File "/usr/lib/python2.7/site-packages/osc/cmdln.py", line 310, in main return self.cmd(args) File "/usr/lib/python2.7/site-packages/osc/cmdln.py", line 333, in cmd retval = self.onecmd(argv) File "/usr/lib/python2.7/site-packages/osc/cmdln.py", line 449, in onecmd return self._dispatch_cmd(handler, argv) File "/usr/lib/python2.7/site-packages/osc/cmdln.py", line 1179, in _dispatch_cmd return handler(argv[0], opts, *args) File "/usr/lib/python2.7/site-packages/osc/commandline.py", line 3746, in do_commit prj.commit(packages, validators_dir=validators, msg=msg, files=files, skip_local_service_run=opts.skip_local_service_run, verbose=opts.verbose) File "/usr/lib/python2.7/site-packages/osc/core.py", line 770, in commit p.commit(msg, validators_dir=validators_dir, verbose=verbose, skip_local_service_run=skip_local_service_run) File "/usr/lib/python2.7/site-packages/osc/core.py", line 1219, in commit r = self.run_source_services(mode="trylocal", verbose=verbose) File "/usr/lib/python2.7/site-packages/osc/core.py", line 2067, in run_source_services service = ET.parse(os.path.join(self.absdir, '_service')).getroot() File "<string>", line 56, in parse File "<string>", line 25, in parse IOError: [Errno 2] No such file or directory: '/devel/RPMS/home:cgiboudeaux/libprison/_service' -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=706741 https://bugzilla.novell.com/show_bug.cgi?id=706741#c1 Adrian Schröter <adrian@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #1 from Adrian Schröter <adrian@suse.com> 2012-04-04 07:50:56 UTC --- fixed in 0.134 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com