Confirmed users
4,467
edits
| Line 32: | Line 32: | ||
AutoLand.getBugs(): | AutoLand.getBugs(): | ||
* returns a list of bugs, each being a hash of data needed by the AutoLand polling server | * returns a list of bugs, each being a hash of data needed by the AutoLand polling server | ||
* [ { bug_id => $bug_id1, attachments => [ $attach_id1, $attach_id2 ] }, ... ] | * [ { bug_id => $bug_id1, attachments => [ $attach_id1, $attach_id2 ] }, branches => $branchListFromTextField ... ] | ||
* anything else needed by the server? | * anything else needed by the server? <-- Is it possible to get the user who submitted this request? | ||
AutoLand.landUpdate({ bug_id => $bug_id, attach_id => $attach_id, status => $status | AutoLand.landUpdate({ bug_id => $bug_id, attach_id => $attach_id, status => $status }): | ||
* Let's BMO know if a patch has landed or not and BMO will update the auto_land table accordingly | * Let's BMO know if a patch has landed or not and BMO will update the auto_land table accordingly | ||
* $status will be a predetermined set of | * $status will be a predetermined set of pending/complete codes -- when pending, the UI for submitting autoland will be locked and once complete status update occurs the UI can be unlocked and this entry can be removed from tracking by WebService API | ||
=== Database Schema === | === Database Schema === | ||