Changeset 242719 in webkit
- Timestamp:
- Mar 11, 2019, 11:22:02 AM (7 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 added
- 4 edited
-
BuildSlaveSupport/ews-app/ews/fetcher.py (modified) (1 diff)
-
BuildSlaveSupport/ews-app/ews/templates/statusbubble.html (modified) (1 diff)
-
BuildSlaveSupport/ews-app/ews/templates/submittoews.html (added)
-
BuildSlaveSupport/ews-app/ews/urls.py (modified) (2 diffs)
-
BuildSlaveSupport/ews-app/ews/views/submittoews.py (added)
-
ChangeLog (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/BuildSlaveSupport/ews-app/ews/fetcher.py
r240303 r242719 49 49 50 50 class BugzillaPatchFetcher(): 51 def fetch(self): 52 patch_ids = Bugzilla.get_list_of_patches_needing_reviews() 51 def fetch(self, patch_ids=None): 52 if patch_ids and type(patch_ids) != list: 53 _log.error('Error: patch_ids should be a list, found: {}'.format(type(patch_ids))) 54 return -1 55 56 if not patch_ids: 57 patch_ids = Bugzilla.get_list_of_patches_needing_reviews() 53 58 patch_ids = BugzillaPatchFetcher.filter_valid_patches(patch_ids) 54 59 _log.debug('r? patches: {}'.format(patch_ids)) -
trunk/Tools/BuildSlaveSupport/ews-app/ews/templates/statusbubble.html
r241440 r242719 92 92 93 93 {% if show_submit_to_ews %} 94 <form name="submit_to_ews" method="POST" action="/submit-to-ews ">94 <form name="submit_to_ews" method="POST" action="/submit-to-ews/">{% csrf_token %} 95 95 <input type="hidden" name="patch_id" value="{{ patch_id }}"> 96 96 <input type="hidden" name="next_action" value="return_to_bubbles"> -
trunk/Tools/BuildSlaveSupport/ews-app/ews/urls.py
r240673 r242719 27 27 from ews.views.results import Results 28 28 from ews.views.statusbubble import StatusBubble 29 from ews.views.submittoews import SubmitToEWS 29 30 30 31 app_name = 'ews' … … 38 39 # ex: /status-bubble/5 39 40 url(r'^status-bubble/(?P<patch_id>[0-9]+)/$', StatusBubble.as_view(), name='statusbubble'), 41 # ex: /submit-to-ews/ 42 url(r'^submit-to-ews/$', SubmitToEWS.as_view(), name='submittoews'), 40 43 ] -
trunk/Tools/ChangeLog
r242714 r242719 1 2019-03-11 Aakash Jain <aakash_jain@apple.com> 2 3 [ews-app] Add support for submit-to-ews url 4 https://bugs.webkit.org/show_bug.cgi?id=195477 5 6 Reviewed by Lucas Forschler. 7 8 * BuildSlaveSupport/ews-app/ews/fetcher.py: 9 * BuildSlaveSupport/ews-app/ews/templates/statusbubble.html: 10 * BuildSlaveSupport/ews-app/ews/templates/submittoews.html: Copied from QueueStatusServer/templates/submittoews.html. 11 * BuildSlaveSupport/ews-app/ews/urls.py: 12 * BuildSlaveSupport/ews-app/ews/views/submittoews.py: Added. 13 1 14 2019-03-11 Ryan Haddad <ryanhaddad@apple.com> 2 15
Note:
See TracChangeset
for help on using the changeset viewer.