WebKit Bugzilla
Attachment 362527 Details for
Bug 194863
: [ews-app] Add model for handling multiple Buildbot instances
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch
instance-model.patch (text/plain), 2.66 KB, created by
Aakash Jain
on 2019-02-20 12:56:21 PST
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Aakash Jain
Created:
2019-02-20 12:56:21 PST
Size:
2.66 KB
patch
obsolete
>Index: Tools/ChangeLog >=================================================================== >--- Tools/ChangeLog (revision 241827) >+++ Tools/ChangeLog (working copy) >@@ -1,3 +1,13 @@ >+2019-02-20 Aakash Jain <aakash_jain@apple.com> >+ >+ [ews-app] Add model for handling multiple Buildbot instances >+ https://bugs.webkit.org/show_bug.cgi?id=194863 >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ * BuildSlaveSupport/ews-app/ews/models/instance.py: Added. >+ (Instance): >+ > 2019-02-20 Chris Dumez <cdumez@apple.com> > > Regression(PSON) Crash under WebKit::WebPageProxy::decidePolicyForNavigationActionSync >Index: Tools/BuildSlaveSupport/ews-app/ews/models/instance.py >=================================================================== >--- Tools/BuildSlaveSupport/ews-app/ews/models/instance.py (nonexistent) >+++ Tools/BuildSlaveSupport/ews-app/ews/models/instance.py (working copy) >@@ -0,0 +1,36 @@ >+# Copyright (C) 2019 Apple Inc. All rights reserved. >+# >+# Redistribution and use in source and binary forms, with or without >+# modification, are permitted provided that the following conditions >+# are met: >+# 1. Redistributions of source code must retain the above copyright >+# notice, this list of conditions and the following disclaimer. >+# 2. Redistributions in binary form must reproduce the above copyright >+# notice, this list of conditions and the following disclaimer in the >+# documentation and/or other materials provided with the distribution. >+# >+# THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' AND >+# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED >+# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE >+# DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS BE LIABLE FOR >+# ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL >+# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR >+# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER >+# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, >+# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE >+# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. >+ >+from __future__ import unicode_literals >+ >+from django.db import models >+ >+ >+class Instance(models.Model): >+ instance_id = models.AutoField(primary_key=True) >+ hostname = models.TextField() >+ active = models.BooleanField(default=True) >+ created = models.DateTimeField(auto_now_add=True) >+ modified = models.DateTimeField(auto_now=True) >+ >+ def __str__(self): >+ return '{}_{}'.format(self.instance_id, self.hostname)
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 194863
:
362527
|
362868