Title: [240359] trunk/Tools
Revision
240359
Author
aakash_j...@apple.com
Date
2019-01-23 13:52:34 -0800 (Wed, 23 Jan 2019)

Log Message

[ews-app] Rename ews model steps to step
https://bugs.webkit.org/show_bug.cgi?id=193697

Reviewed by Lucas Forschler.

* BuildSlaveSupport/ews-app/ews/models/step.py: Renamed from Tools/BuildSlaveSupport/ews-app/ews/models/steps.py.
(Step): Renamed Steps to Step.

Modified Paths

Added Paths

Removed Paths

Diff

Modified: trunk/Tools/BuildSlaveSupport/ews-app/ews/models/__init__.py (240358 => 240359)


--- trunk/Tools/BuildSlaveSupport/ews-app/ews/models/__init__.py	2019-01-23 21:39:19 UTC (rev 240358)
+++ trunk/Tools/BuildSlaveSupport/ews-app/ews/models/__init__.py	2019-01-23 21:52:34 UTC (rev 240359)
@@ -1,4 +1,4 @@
 from buildermappings import *
 from build import *
 from patch import *
-from steps import *
+from step import *

Copied: trunk/Tools/BuildSlaveSupport/ews-app/ews/models/step.py (from rev 240358, trunk/Tools/BuildSlaveSupport/ews-app/ews/models/steps.py) (0 => 240359)


--- trunk/Tools/BuildSlaveSupport/ews-app/ews/models/step.py	                        (rev 0)
+++ trunk/Tools/BuildSlaveSupport/ews-app/ews/models/step.py	2019-01-23 21:52:34 UTC (rev 240359)
@@ -0,0 +1,40 @@
+# 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
+from ews.models.build import Build
+
+
+class Step(models.Model):
+    stepid = models.IntegerField(primary_key=True)
+    build = models.ForeignKey(Build, _on_delete_=models.CASCADE)
+    result = models.IntegerField()
+    state_string = models.TextField()
+    started_at = models.IntegerField()
+    complete_at = models.IntegerField()
+    created = models.DateTimeField(auto_now_add=True)
+    modified = models.DateTimeField(auto_now=True)
+
+    def __str__(self):
+        return str(self.stepid)

Deleted: trunk/Tools/BuildSlaveSupport/ews-app/ews/models/steps.py (240358 => 240359)


--- trunk/Tools/BuildSlaveSupport/ews-app/ews/models/steps.py	2019-01-23 21:39:19 UTC (rev 240358)
+++ trunk/Tools/BuildSlaveSupport/ews-app/ews/models/steps.py	2019-01-23 21:52:34 UTC (rev 240359)
@@ -1,40 +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
-from ews.models.build import Build
-
-
-class Steps(models.Model):
-    stepid = models.IntegerField(primary_key=True)
-    build = models.ForeignKey(Build, _on_delete_=models.CASCADE)
-    result = models.IntegerField()
-    state_string = models.TextField()
-    started_at = models.IntegerField()
-    complete_at = models.IntegerField()
-    created = models.DateTimeField(auto_now_add=True)
-    modified = models.DateTimeField(auto_now=True)
-
-    def __str__(self):
-        return str(self.stepid)

Modified: trunk/Tools/ChangeLog (240358 => 240359)


--- trunk/Tools/ChangeLog	2019-01-23 21:39:19 UTC (rev 240358)
+++ trunk/Tools/ChangeLog	2019-01-23 21:52:34 UTC (rev 240359)
@@ -1,3 +1,13 @@
+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
+
+        Reviewed by Lucas Forschler.
+
+        * BuildSlaveSupport/ews-app/ews/models/step.py: Renamed from Tools/BuildSlaveSupport/ews-app/ews/models/steps.py.
+        (Step): Renamed Steps to Step.
+
 2019-01-23  Sihui Liu  <sihui_...@apple.com>
 
         Clean up IndexedDB files between tests
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to