[ews-app] Rename ews model Builds to Build
authoraakash_jain@apple.com <aakash_jain@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 23 Jan 2019 21:37:30 +0000 (21:37 +0000)
committeraakash_jain@apple.com <aakash_jain@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 23 Jan 2019 21:37:30 +0000 (21:37 +0000)
https://bugs.webkit.org/show_bug.cgi?id=193695

Reviewed by Lucas Forschler.

* BuildSlaveSupport/ews-app/ews/models/build.py: Renamed from Tools/BuildSlaveSupport/ews-app/ews/models/builds.py.
(Build): Renamed Builds to Build.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@240357 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/BuildSlaveSupport/ews-app/ews/models/__init__.py
Tools/BuildSlaveSupport/ews-app/ews/models/build.py [moved from Tools/BuildSlaveSupport/ews-app/ews/models/builds.py with 98% similarity]
Tools/BuildSlaveSupport/ews-app/ews/models/steps.py
Tools/ChangeLog

index 27b41dd..486484d 100644 (file)
@@ -1,4 +1,4 @@
 from buildermappings import *
-from builds import *
+from build import *
 from patch import *
 from steps import *
@@ -26,7 +26,7 @@ from django.db import models
 from ews.models.patch import Patch
 
 
-class Builds(models.Model):
+class Build(models.Model):
     patch = models.ForeignKey(Patch, on_delete=models.CASCADE)
     buildid = models.IntegerField(primary_key=True)
     builderid = models.IntegerField()
index dae8f53..821b295 100644 (file)
 from __future__ import unicode_literals
 
 from django.db import models
-from ews.models.builds import Builds
+from ews.models.build import Build
 
 
 class Steps(models.Model):
     stepid = models.IntegerField(primary_key=True)
-    build = models.ForeignKey(Builds, on_delete=models.CASCADE)
+    build = models.ForeignKey(Build, on_delete=models.CASCADE)
     result = models.IntegerField()
     state_string = models.TextField()
     started_at = models.IntegerField()
index 52dabab..9e3e960 100644 (file)
@@ -1,3 +1,13 @@
+2019-01-23  Aakash Jain  <aakash_jain@apple.com>
+
+        [ews-app] Rename ews model Builds to Build
+        https://bugs.webkit.org/show_bug.cgi?id=193695
+
+        Reviewed by Lucas Forschler.
+
+        * BuildSlaveSupport/ews-app/ews/models/build.py: Renamed from Tools/BuildSlaveSupport/ews-app/ews/models/builds.py.
+        (Build): Renamed Builds to Build.
+
 2019-01-23  Jonathan Bedard  <jbedard@apple.com>
 
         webkitpy: Wait longer when launching WebKitTestRunner