[Bug 431058] New: no error message for request on non-existing package
https://bugzilla.novell.com/show_bug.cgi?id=431058 Summary: no error message for request on non-existing package Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Minor Priority: P5 - None Component: BuildService AssignedTo: abauer@novell.com ReportedBy: poeml@novell.com QAContact: adrian@novell.com Found By: --- For an URL like https://api.opensuse.org/build/Apache/SLE_10/i586/apache2 (which would return the binary list for that package) I get an error message for non-existing project, non-existing repo, non-existing arch -- but not for non-existing package: % osc -d getbinaries Apache___ apache2 SLE_10 i586 -d /tmp/foobar GET https://api.opensuse.org/build/Apache___/SLE_10/i586/apache2 Server returned an error: HTTP Error 404: Not Found X-Opensuse-Apiversion: 0.1.2 Cache-Control: no-cache Date: Tue, 30 Sep 2008 14:38:46 GMT Server: lighttpd/1.5.0 Content-Type: text/html; charset=utf-8 Connection: close Content-Length: 103 Via: 1.1 ICS_SERVER (iChain 2.3.410) <status code='404' origin='backend'> <summary>project 'Apache___' does not exist</summary> </status> project 'Apache___' does not exist [2] 24965 exit 1 osc -d getbinaries Apache___ apache2 SLE_10 i586 -d /tmp/foobar % osc -d getbinaries Apache apache2___ SLE_10 i586 -d /tmp/foobar GET https://api.opensuse.org/build/Apache/SLE_10/i586/apache2___ % osc -d getbinaries Apache apache2 SLE_10___ i586 -d /tmp/foobar GET https://api.opensuse.org/build/Apache/SLE_10___/i586/apache2 Server returned an error: HTTP Error 404: Not Found X-Opensuse-Apiversion: 0.1.2 Cache-Control: no-cache Date: Tue, 30 Sep 2008 14:39:16 GMT Server: lighttpd/1.5.0 Content-Type: text/html; charset=utf-8 Connection: close Content-Length: 106 Via: 1.1 ICS_SERVER (iChain 2.3.410) <status code='404' origin='backend'> <summary>project has no repository 'SLE_10___'</summary> </status> project has no repository 'SLE_10___' [2] 24979 exit 1 osc -d getbinaries Apache apache2 SLE_10___ i586 -d /tmp/foobar % osc -d getbinaries Apache apache2 SLE_10 i586___ -d /tmp/foobar GET https://api.opensuse.org/build/Apache/SLE_10/i586___/apache2 Server returned an error: HTTP Error 404: Not Found X-Opensuse-Apiversion: 0.1.2 Cache-Control: no-cache Date: Tue, 30 Sep 2008 14:39:23 GMT Server: lighttpd/1.5.0 Content-Type: text/html; charset=utf-8 Connection: close Content-Length: 106 Via: 1.1 ICS_SERVER (iChain 2.3.410) <status code='404' origin='backend'> <summary>project has no architecture 'i586___'</summary> </status> project has no architecture 'i586___' [2] 24982 exit 1 osc -d getbinaries Apache apache2 SLE_10 i586___ -d /tmp/foobar -- 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