Mailinglist Archive: opensuse-bugs (14006 mails)

< Previous Next >
[Bug 280034] osc buildinfo has bad error handling
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Fri, 25 Apr 2008 04:43:25 -0600 (MDT)
  • Message-id: <20080425104325.5D347CC6CF@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=280034

User poeml@xxxxxxxxxx added comment
https://bugzilla.novell.com/show_bug.cgi?id=280034#c9





--- Comment #9 from Peter Poeml <poeml@xxxxxxxxxx> 2008-04-25 04:43:24 MST ---
The above scenarios have been fixed meanwhile:


% osc buildinfo
error: '.' is not an osc working copy

% osc buildinfo openSUSE_10.2 nixmitarch
HTTP Error 404: Not Found


# after changing password or username in .oscrc (and removing cookies)
% osc ci
HTTP Error 401: Unauthorized


# server not reachable:
% osc ci
Failed to reach a server: (111, 'Connection refused')
# or for instance
% osc ci
Failed to reach a server: (-2, 'Name or service not known')


# copypac with non-existing projects/packages:
% osc copypac home:poeml apachestats foobar
Sending meta data...
HTTP Error 404: Not Found

% osc copypac foo bar baz
Error getting meta for project 'foo' package 'bar'
HTTP Error 404: Not Found

% osc copypac home:poeml bar baz
Error getting meta for project 'home:poeml' package 'bar'
HTTP Error 404: Not Found



Marcus and I are working on a branch which is allowing to fix these things
cleanly:
https://forgesvn1.novell.com/svn/opensuse/branches/buildservice/osc-exception-handling
Substantial fixes have already gone there. Most common error paths can and will
be fixed systematically now.


--
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.

< Previous Next >
This Thread
  • No further messages