WebKit Bugzilla
Attachment 362080 Details for
Bug 194683
: [ews-app] Add method to fetch Builder Mappings
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch
BuilderMappingFetcher.patch (text/plain), 1.50 KB, created by
Aakash Jain
on 2019-02-14 16:57:43 PST
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Aakash Jain
Created:
2019-02-14 16:57:43 PST
Size:
1.50 KB
patch
obsolete
>Index: Tools/ChangeLog >=================================================================== >--- Tools/ChangeLog (revision 241573) >+++ Tools/ChangeLog (working copy) >@@ -1,3 +1,14 @@ >+2019-02-14 Aakash Jain <aakash_jain@apple.com> >+ >+ [ews-app] Add method to fetch Builder Mappings >+ https://bugs.webkit.org/show_bug.cgi?id=194683 >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ * BuildSlaveSupport/ews-app/ews/fetcher.py: >+ (BuilderMappingFetcher): >+ (BuilderMappingFetcher.fetch): >+ > 2019-02-14 Tim Horton <timothy_horton@apple.com> > > Fix the build. >Index: Tools/BuildSlaveSupport/ews-app/ews/fetcher.py >=================================================================== >--- Tools/BuildSlaveSupport/ews-app/ews/fetcher.py (revision 241573) >+++ Tools/BuildSlaveSupport/ews-app/ews/fetcher.py (working copy) >@@ -27,6 +27,7 @@ import time > from ews.common.bugzilla import Bugzilla > from ews.common.buildbot import Buildbot > from ews.models.patch import Patch >+from ews.models.buildermapping import BuilderMapping > > _log = logging.getLogger(__name__) > >@@ -81,3 +82,10 @@ class BugzillaPatchFetcher(): > @classmethod > def filter_valid_patches(cls, patch_ids): > return list(filter(lambda p: Patch.is_valid_patch_id(p), patch_ids)) >+ >+ >+class BuilderMappingFetcher(): >+ def fetch(self): >+ mappings = Buildbot.get_builder_id_to_name_mapping() >+ for k, v in mappings.iteritems(): >+ BuilderMapping.save_mapping(k, v.get('builder_name'), v.get('display_name'))
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 194683
: 362080