Project

General

Profile

Actions

action #1824

closed

request finder bugs

Added by coolo over 10 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
Start date:
2014-03-09
Due date:
% Done:

100%

Estimated time:

Description

Bug 1:

coolo@goneril#~>osc -d staging select B X11:MATE:Factory
GET https://api.opensuse.org/source/openSUSE:Factory:Rings:0-Bootstrap
GET https://api.opensuse.org/source/openSUSE:Factory:Rings:1-MinimalX
GET https://api.opensuse.org/search/project/id?match=starts-with(@name,'openSUSE:Factory:Staging:')
GET https://api.opensuse.org/source/openSUSE:Factory:Staging:A/_meta
GET https://api.opensuse.org/source/openSUSE:Factory:Staging:B/_meta
GET https://api.opensuse.org/source/openSUSE:Factory:Staging:C/_meta
GET https://api.opensuse.org/source/openSUSE:Factory:Staging:D/_meta
GET https://api.opensuse.org/source/openSUSE:Factory:Staging:E/_meta
GET https://api.opensuse.org/source/openSUSE:Factory:Staging:F/_meta
GET https://api.opensuse.org/source/openSUSE:Factory:Staging:G/_meta
GET https://api.opensuse.org/source/openSUSE:Factory:Staging:H/_meta
GET https://api.opensuse.org/source/openSUSE:Factory:Staging:I/_meta
GET https://api.opensuse.org/source/openSUSE:Factory:Staging:B/_meta
GET https://api.opensuse.org/source/openSUSE:Factory:Staging:B/_project?meta=1
GET https://api.opensuse.org/request?states=new,review,declined&project=openSUSE:Factory&view=collection&package=X11:MATE:Factory
GET https://api.opensuse.org/request?states=new,review&project=openSUSE:Factory&view=collection
Traceback (most recent call last):
File "/home/coolo/prod/osc/osc-wrapper.py", line 26, in
r = babysitter.run(osccli)
File "/home/coolo/prod/osc/osc/babysitter.py", line 60, in run
return prg.main(argv)
File "/home/coolo/prod/osc/osc/cmdln.py", line 343, in main
return self.cmd(args)
File "/home/coolo/prod/osc/osc/cmdln.py", line 366, in cmd
retval = self.onecmd(argv)
File "/home/coolo/prod/osc/osc/cmdln.py", line 484, in onecmd
return self.dispatch_cmd(handler, argv)
File "/home/coolo/prod/osc/osc/cmdln.py", line 1214, in _dispatch_cmd
return handler(argv[0], opts, *args)
File "/home/coolo/.osc-plugins/osc-staging.py", line 126, in do_staging
return SelectCommand(api).perform(tprj, args[2:], opts.move, opts.from
)
File "/home/coolo/.osc-plugins/osclib/select_command.py", line 92, in perform
for request, request_project in RequestFinder.find_sr(requests, self.api.apiurl).items():
File "/home/coolo/.osc-plugins/osclib/request_finder.py", line 211, in find_sr
finder.find(pkgs)
File "/home/coolo/.osc-plugins/osclib/request_finder.py", line 171, in find
if self.find_request_project(p):
File "/home/coolo/.osc-plugins/osclib/request_finder.py", line 152, in find_request_project
review = self._is_new_review_by_project(request, sr)
AttributeError: RequestFinder instance has no attribute '_is_new_review_by_project'

Bug 2:
osc -d staging select B 225233
GET https://api.opensuse.org/source/openSUSE:Factory:Rings:0-Bootstrap
GET https://api.opensuse.org/source/openSUSE:Factory:Rings:1-MinimalX
GET https://api.opensuse.org/search/project/id?match=starts-with(@name,'openSUSE:Factory:Staging:')
GET https://api.opensuse.org/source/openSUSE:Factory:Staging:A/_meta
GET https://api.opensuse.org/source/openSUSE:Factory:Staging:B/_meta
GET https://api.opensuse.org/source/openSUSE:Factory:Staging:C/_meta
GET https://api.opensuse.org/source/openSUSE:Factory:Staging:D/_meta
GET https://api.opensuse.org/source/openSUSE:Factory:Staging:E/_meta
GET https://api.opensuse.org/source/openSUSE:Factory:Staging:F/_meta
GET https://api.opensuse.org/source/openSUSE:Factory:Staging:G/_meta
GET https://api.opensuse.org/source/openSUSE:Factory:Staging:H/_meta
GET https://api.opensuse.org/source/openSUSE:Factory:Staging:I/_meta
GET https://api.opensuse.org/source/openSUSE:Factory:Staging:B/_meta
GET https://api.opensuse.org/source/openSUSE:Factory:Staging:B/_project?meta=1
GET https://api.opensuse.org/request?states=new,review,declined&project=openSUSE:Factory&view=collection&package=225233
GET https://api.opensuse.org/request?states=new,review&project=openSUSE:Factory&view=collection
No SR# found for: 225233

Actions

Also available in: Atom PDF