File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 1
1
"""Models for the builds app."""
2
-
3
2
import datetime
4
3
import os .path
5
4
import re
86
85
87
86
88
87
class Version (TimeStampedModel ):
88
+
89
89
"""Version of a ``Project``."""
90
90
91
91
project = models .ForeignKey (
@@ -567,6 +567,7 @@ def get_storage_paths(self, version_slug=None):
567
567
568
568
569
569
class APIVersion (Version ):
570
+
570
571
"""
571
572
Version proxy model for API data deserialization.
572
573
@@ -1013,6 +1014,7 @@ def reset(self):
1013
1014
1014
1015
1015
1016
class BuildCommandResultMixin :
1017
+
1016
1018
"""
1017
1019
Mixin for common command result methods/properties.
1018
1020
@@ -1036,6 +1038,7 @@ def failed(self):
1036
1038
1037
1039
1038
1040
class BuildCommandResult (BuildCommandResultMixin , models .Model ):
1041
+
1039
1042
"""Build command for a ``Build``."""
1040
1043
1041
1044
build = models .ForeignKey (
@@ -1068,6 +1071,7 @@ def run_time(self):
1068
1071
1069
1072
1070
1073
class VersionAutomationRule (PolymorphicModel , TimeStampedModel ):
1074
+
1071
1075
"""Versions automation rules for projects."""
1072
1076
1073
1077
ACTIVATE_VERSION_ACTION = "activate-version"
You can’t perform that action at this time.
0 commit comments