Closed Bug 1196934 Opened 10 years ago Closed 10 years ago

refactor SETA code to support all jobs types, including new ones

Categories

(Testing :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jmaher, Assigned: jmaher)

References

Details

Attachments

(1 file)

SETA has a lot of code which has hardcoded builder names or shorthand matching: 13:28 <jmaher|mtg> https://github.com/dminor/ouija/blob/master/static/js/seta.js#L73 13:30 <jmaher|mtg> https://github.com/dminor/ouija/blob/master/src/server.py#L373 13:30 <jmaher|mtg> https://github.com/dminor/ouija/blob/master/src/server.py#L507 13:31 <jmaher|mtg> https://github.com/dminor/ouija/blob/master/tools/dailyjobs_query.py#L70 <- ignores builds/valgrind 13:32 <jmaher|mtg> https://github.com/dminor/ouija/blob/master/tools/failures.py#L51 <- output 13:33 <jmaher|mtg> https://github.com/dminor/ouija/blob/master/tools/seta.py#L131 <- b2g With all of this if we had a package that translated for us (bug 1196933), then we could simplify this code and handle new jobs without a big headache. Ideally this package would be called as an API endpoint from ouija:server.py so we can get the data in python and javascript.
Blocks: 1196936
first pass of this, I want to have all data transformations in the same area, ideally just an api call.
Assignee: nobody → jmaher
Status: NEW → ASSIGNED
Attachment #8659383 - Flags: review?(vaibhavmagarwal)
Comment on attachment 8659383 [details] [review] https://github.com/dminor/ouija/pull/76 The first draft looks good, thanks for cleaning up Joel! Left some comments in the PR. Will take another look once they are addressed.
Attachment #8659383 - Flags: review?(vaibhavmagarwal) → review-
Comment on attachment 8659383 [details] [review] https://github.com/dminor/ouija/pull/76 Thank for the comments, I have updated, testing and re pushed some code- please review again.
Attachment #8659383 - Flags: review- → review?(vaibhavmagarwal)
Comment on attachment 8659383 [details] [review] https://github.com/dminor/ouija/pull/76 Minor nit to be addressed in github. Looks good!
Attachment #8659383 - Flags: review?(vaibhavmagarwal) → review+
I think this is completed, there are other bugs for additional refactoring.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: