clear-skies-gitlab 2.0.5__py3-none-any.whl → 2.0.7__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {clear_skies_gitlab-2.0.5.dist-info → clear_skies_gitlab-2.0.7.dist-info}/METADATA +1 -1
- {clear_skies_gitlab-2.0.5.dist-info → clear_skies_gitlab-2.0.7.dist-info}/RECORD +5 -5
- clearskies_gitlab/rest/models/gitlab_rest_project_approval_config.py +45 -3
- {clear_skies_gitlab-2.0.5.dist-info → clear_skies_gitlab-2.0.7.dist-info}/WHEEL +0 -0
- {clear_skies_gitlab-2.0.5.dist-info → clear_skies_gitlab-2.0.7.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: clear-skies-gitlab
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.7
|
|
4
4
|
Summary: Gitlab module for Clearskies
|
|
5
5
|
Project-URL: Docs, https://https://clearskies.info/modules/clear-skies-gitlab
|
|
6
6
|
Project-URL: Repository, https://github.com/clearskies-py/gitlab
|
|
@@ -44,7 +44,7 @@ clearskies_gitlab/rest/models/gitlab_rest_group_variable.py,sha256=20vldlXL69Y52
|
|
|
44
44
|
clearskies_gitlab/rest/models/gitlab_rest_group_variable_reference.py,sha256=rGgqrOY-HCxpsstDb1_Hy_KwPt6Z37xxIJnBRD9eXXw,341
|
|
45
45
|
clearskies_gitlab/rest/models/gitlab_rest_namespace.py,sha256=nTqDb2CDFAa1SBFnGZxw-s4M8DJZS7yqyPI16poY0Ew,5610
|
|
46
46
|
clearskies_gitlab/rest/models/gitlab_rest_project.py,sha256=PcI08WIkv9c4H-b0d8qsxfYMKLGSAT8Ms9mbul0g9IQ,15019
|
|
47
|
-
clearskies_gitlab/rest/models/gitlab_rest_project_approval_config.py,sha256=
|
|
47
|
+
clearskies_gitlab/rest/models/gitlab_rest_project_approval_config.py,sha256=wOMoE0_zjzG_asCRvizU6s7HUNCxxb8jTSOmTm2kD_Q,4462
|
|
48
48
|
clearskies_gitlab/rest/models/gitlab_rest_project_approval_config_reference.py,sha256=Gfs1iFo8VOH8llpcdOquZ7uNA5qFv6LNaGx-glTC3AM,383
|
|
49
49
|
clearskies_gitlab/rest/models/gitlab_rest_project_approval_rule.py,sha256=Cc5rk6KbBhibtIgUVQ7LT9WBrIXI3AepFcYsdmvzw00,3710
|
|
50
50
|
clearskies_gitlab/rest/models/gitlab_rest_project_approval_rule_reference.py,sha256=VTWBcv225UQyxFr8ZdTpgEdXCiTerYGIbYyGdt1j-tc,373
|
|
@@ -62,7 +62,7 @@ clearskies_gitlab/rest/models/gitlab_rest_project_repository_file_raw.py,sha256=
|
|
|
62
62
|
clearskies_gitlab/rest/models/gitlab_rest_project_repository_file_reference.py,sha256=WiK7aOhBZD_8HRvvlTQ6oWk3hXOJAyfEKdqmCIUIM9M,383
|
|
63
63
|
clearskies_gitlab/rest/models/gitlab_rest_project_variable.py,sha256=D8FjgGafJOUQhM62hSWgYbNDABrF4mBNigY8lWBH7f4,2097
|
|
64
64
|
clearskies_gitlab/rest/models/gitlab_rest_project_variable_reference.py,sha256=6P-9TbvhYMZGoBMM-BFFDFKsN40LEXd9FKYNTFpNayU,351
|
|
65
|
-
clear_skies_gitlab-2.0.
|
|
66
|
-
clear_skies_gitlab-2.0.
|
|
67
|
-
clear_skies_gitlab-2.0.
|
|
68
|
-
clear_skies_gitlab-2.0.
|
|
65
|
+
clear_skies_gitlab-2.0.7.dist-info/METADATA,sha256=CIypbYNTCGtrdnwXwgJRgJI1iY2QZUjE-xHhru2wEiU,2143
|
|
66
|
+
clear_skies_gitlab-2.0.7.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
67
|
+
clear_skies_gitlab-2.0.7.dist-info/licenses/LICENSE,sha256=S7gzTni6Tje0gBaQnXxs5BXdrBBKQ9eAVWjMHZccST8,1069
|
|
68
|
+
clear_skies_gitlab-2.0.7.dist-info/RECORD,,
|
|
@@ -3,10 +3,10 @@ from __future__ import annotations
|
|
|
3
3
|
from typing import Self
|
|
4
4
|
|
|
5
5
|
from clearskies import Model
|
|
6
|
-
from clearskies.columns import BelongsToId, BelongsToModel, Boolean
|
|
6
|
+
from clearskies.columns import BelongsToId, BelongsToModel, Boolean, HasMany, Integer, Json
|
|
7
7
|
|
|
8
8
|
from clearskies_gitlab.rest.backends import GitlabRestBackend
|
|
9
|
-
from clearskies_gitlab.rest.models import gitlab_rest_project_reference
|
|
9
|
+
from clearskies_gitlab.rest.models import gitlab_rest_project_approval_rule, gitlab_rest_project_reference
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
class GitlabRestProjectApprovalConfig(
|
|
@@ -69,9 +69,10 @@ class GitlabRestProjectApprovalConfig(
|
|
|
69
69
|
"""
|
|
70
70
|
Whether users must enter their password to approve.
|
|
71
71
|
|
|
72
|
+
Deprecated in GitLab 16.9. Use require_reauthentication_to_approve instead.
|
|
72
73
|
Adds an extra layer of security by requiring password confirmation.
|
|
73
74
|
"""
|
|
74
|
-
|
|
75
|
+
require_password_to_approve = Boolean()
|
|
75
76
|
|
|
76
77
|
"""
|
|
77
78
|
Whether to prevent overriding approvers per merge request.
|
|
@@ -103,3 +104,44 @@ class GitlabRestProjectApprovalConfig(
|
|
|
103
104
|
a merge request.
|
|
104
105
|
"""
|
|
105
106
|
require_reauthentication_to_approve = Boolean()
|
|
107
|
+
|
|
108
|
+
"""
|
|
109
|
+
Whether to reset approvals from Code Owners if their files change.
|
|
110
|
+
|
|
111
|
+
When enabled, approvals from Code Owners are reset when files they
|
|
112
|
+
own are modified. Note: To use this field, reset_approvals_on_push
|
|
113
|
+
must be False.
|
|
114
|
+
"""
|
|
115
|
+
selective_code_owner_removals = Boolean()
|
|
116
|
+
|
|
117
|
+
"""
|
|
118
|
+
The number of required approvals before a merge request can merge.
|
|
119
|
+
|
|
120
|
+
Deprecated in GitLab 12.3. Use Approval Rules instead.
|
|
121
|
+
This field is still returned by the API for backwards compatibility.
|
|
122
|
+
"""
|
|
123
|
+
approvals_before_merge = Integer()
|
|
124
|
+
|
|
125
|
+
"""
|
|
126
|
+
Approval rules associated with this project approval configuration.
|
|
127
|
+
"""
|
|
128
|
+
approval_rules = HasMany(
|
|
129
|
+
gitlab_rest_project_approval_rule.GitlabRestProjectApprovalRule,
|
|
130
|
+
foreign_column_name="project_id",
|
|
131
|
+
)
|
|
132
|
+
|
|
133
|
+
"""
|
|
134
|
+
List of approvers for this project.
|
|
135
|
+
|
|
136
|
+
Deprecated in GitLab 12.3. Always returns an empty array.
|
|
137
|
+
Use approval_rules instead.
|
|
138
|
+
"""
|
|
139
|
+
approvers = Json()
|
|
140
|
+
|
|
141
|
+
"""
|
|
142
|
+
List of approver groups for this project.
|
|
143
|
+
|
|
144
|
+
Deprecated in GitLab 12.3. Always returns an empty array.
|
|
145
|
+
Use approval_rules instead.
|
|
146
|
+
"""
|
|
147
|
+
approver_groups = Json()
|
|
File without changes
|
|
File without changes
|