Diff
Modified: trunk/Tools/BuildSlaveSupport/ews-app/ews/models/__init__.py (240360 => 240361)
--- trunk/Tools/BuildSlaveSupport/ews-app/ews/models/__init__.py 2019-01-23 21:55:47 UTC (rev 240360)
+++ trunk/Tools/BuildSlaveSupport/ews-app/ews/models/__init__.py 2019-01-23 21:58:47 UTC (rev 240361)
@@ -1,4 +1,4 @@
-from buildermappings import *
+from buildermapping import *
from build import *
from patch import *
from step import *
Copied: trunk/Tools/BuildSlaveSupport/ews-app/ews/models/buildermapping.py (from rev 240359, trunk/Tools/BuildSlaveSupport/ews-app/ews/models/buildermappings.py) (0 => 240361)
--- trunk/Tools/BuildSlaveSupport/ews-app/ews/models/buildermapping.py (rev 0)
+++ trunk/Tools/BuildSlaveSupport/ews-app/ews/models/buildermapping.py 2019-01-23 21:58:47 UTC (rev 240361)
@@ -0,0 +1,33 @@
+# Copyright (C) 2018-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 BuilderMapping(models.Model):
+ builderid = models.IntegerField(primary_key=True)
+ name = models.TextField()
+
+ def __str__(self):
+ return "{}: {}".format(self.builderid, self.name)
Deleted: trunk/Tools/BuildSlaveSupport/ews-app/ews/models/buildermappings.py (240360 => 240361)
--- trunk/Tools/BuildSlaveSupport/ews-app/ews/models/buildermappings.py 2019-01-23 21:55:47 UTC (rev 240360)
+++ trunk/Tools/BuildSlaveSupport/ews-app/ews/models/buildermappings.py 2019-01-23 21:58:47 UTC (rev 240361)
@@ -1,33 +0,0 @@
-# Copyright (C) 2018 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 BuilderMappings(models.Model):
- builderid = models.IntegerField(primary_key=True)
- name = models.TextField()
-
- def __str__(self):
- return "{}: {}".format(self.builderid, self.name)
Modified: trunk/Tools/ChangeLog (240360 => 240361)
--- trunk/Tools/ChangeLog 2019-01-23 21:55:47 UTC (rev 240360)
+++ trunk/Tools/ChangeLog 2019-01-23 21:58:47 UTC (rev 240361)
@@ -1,5 +1,16 @@
2019-01-23 Aakash Jain <aakash_j...@apple.com>
+ [ews-app] Rename ews model buildermappings to buildermapping
+ https://bugs.webkit.org/show_bug.cgi?id=193729
+
+ Reviewed by Lucas Forschler.
+
+ * BuildSlaveSupport/ews-app/ews/models/buildermapping.py: Renamed from Tools/BuildSlaveSupport/ews-app/ews/models/buildermappings.py.
+ (BuilderMapping): Renamed BuildMappings to BuilderMapping.
+ * BuildSlaveSupport/ews-app/ews/models/__init__.py: Ditto.
+
+2019-01-23 Aakash Jain <aakash_j...@apple.com>
+
[ews-app] Rename ews model steps to step
https://bugs.webkit.org/show_bug.cgi?id=193697