Home | History | Annotate | Download | only in net

Lines Matching full:patch

62     def _add_patch(self, patch):
63 if not patch:
65 if patch.bug_id():
66 self._browser["bug_id"] = unicode(patch.bug_id())
67 if patch.id():
68 self._browser["patch_id"] = unicode(patch.id())
82 def _post_status_to_server(self, queue_name, status, patch, results_file):
93 self._add_patch(patch)
128 patch_status_url = "%s/next-patch/%s" % (self.url, queue_name)
131 def _post_release_work_item(self, queue_name, patch):
132 release_patch_url = "%s/release-patch" % (self.url)
136 self._browser["attachment_id"] = unicode(patch.id())
139 def release_work_item(self, queue_name, patch):
140 _log.info("Releasing work item %s from %s" % (patch.id(), queue_name))
141 return NetworkTransaction(convert_404_to_None=True).run(lambda: self._post_release_work_item(queue_name, patch))
147 def update_status(self, queue_name, status, patch=None, results_file=None):
149 return NetworkTransaction().run(lambda: self._post_status_to_server(queue_name, status, patch, results_file))
165 patch_status_url = "%s/patch-status/%s/%s" % (self.url, queue_name, patch_id)