action #1824
closedrequest finder bugs
100%
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
Updated by aplanas almost 11 years ago
- Status changed from New to In Progress
Updated by aplanas almost 11 years ago
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100