Skip to content

Commit 8e8b3e0

Browse files
committed
Move branch and change events to 0.1.1
The schema for branch and change events was updated to make the repository non-mandatory. Update the event version in the spec. Update the valid spec version in the schema, so that events 0.1.1 are only available in spec 0.1.1. Signed-off-by: Andrea Frittoli <[email protected]>
1 parent 480abea commit 8e8b3e0

File tree

8 files changed

+7
-14
lines changed

8 files changed

+7
-14
lines changed

schemas/branchcreated.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
"version": {
88
"type": "string",
99
"enum": [
10-
"0.1.0",
1110
"0.1.1"
1211
],
1312
"default": "0.1.1"

schemas/branchdeleted.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
"version": {
88
"type": "string",
99
"enum": [
10-
"0.1.0",
1110
"0.1.1"
1211
],
1312
"default": "0.1.1"

schemas/changeabandoned.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
"version": {
88
"type": "string",
99
"enum": [
10-
"0.1.0",
1110
"0.1.1"
1211
],
1312
"default": "0.1.1"

schemas/changecreated.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
"version": {
88
"type": "string",
99
"enum": [
10-
"0.1.0",
1110
"0.1.1"
1211
],
1312
"default": "0.1.1"

schemas/changemerged.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
"version": {
88
"type": "string",
99
"enum": [
10-
"0.1.0",
1110
"0.1.1"
1211
],
1312
"default": "0.1.1"

schemas/changereviewed.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
"version": {
88
"type": "string",
99
"enum": [
10-
"0.1.0",
1110
"0.1.1"
1211
],
1312
"default": "0.1.1"

schemas/changeupdated.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
"version": {
88
"type": "string",
99
"enum": [
10-
"0.1.0",
1110
"0.1.1"
1211
],
1312
"default": "0.1.1"

source-code-version-control.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ A Source Code Repository modified some of its attributes, like location, or owne
110110

111111
A branch inside the Repository was created.
112112

113-
- Event Type: __`dev.cdevents.branch.created.0.1.0`__
113+
- Event Type: __`dev.cdevents.branch.created.0.1.1`__
114114
- Predicate: created
115115
- Subject: [`branch`](#branch)
116116

@@ -124,7 +124,7 @@ A branch inside the Repository was created.
124124

125125
A branch inside the Repository was deleted.
126126

127-
- Event Type: __`dev.cdevents.branch.deleted.0.1.0`__
127+
- Event Type: __`dev.cdevents.branch.deleted.0.1.1`__
128128
- Predicate: deleted
129129
- Subject: [`branch`](#branch)
130130

@@ -138,7 +138,7 @@ A branch inside the Repository was deleted.
138138

139139
A source code change was created and submitted to a repository specific branch. Examples: PullRequest sent to Github, MergeRequest sent to Gitlab, Change created in Gerrit.
140140

141-
- Event Type: __`dev.cdevents.change.created.0.1.0`__
141+
- Event Type: __`dev.cdevents.change.created.0.1.1`__
142142
- Predicate: created
143143
- Subject: [`change`](#change)
144144

@@ -152,7 +152,7 @@ A source code change was created and submitted to a repository specific branch.
152152

153153
Someone (user) or an automated system submitted an review to the source code change. A user or an automated system needs to be in charge of understanding how many approvals/rejections are needed for this change to be merged or rejected. The review event needs to include if the change is approved by the reviewer, more changes are needed or if the change is rejected.
154154

155-
- Event Type: __`dev.cdevents.change.reviewed.0.1.0`__
155+
- Event Type: __`dev.cdevents.change.reviewed.0.1.1`__
156156
- Predicate: reviewed
157157
- Subject: [`change`](#change)
158158

@@ -166,7 +166,7 @@ Someone (user) or an automated system submitted an review to the source code cha
166166

167167
A change is merged to the target branch where it was submitted.
168168

169-
- Event Type: __`dev.cdevents.change.merged.0.1.0`__
169+
- Event Type: __`dev.cdevents.change.merged.0.1.1`__
170170
- Predicate: merged
171171
- Subject: [`change`](#change)
172172

@@ -180,7 +180,7 @@ A change is merged to the target branch where it was submitted.
180180

181181
A tool or a user decides that the change has been inactive for a while and it can be considered abandoned.
182182

183-
- Event Type: __`dev.cdevents.change.abandoned.0.1.0`__
183+
- Event Type: __`dev.cdevents.change.abandoned.0.1.1`__
184184
- Predicate: abandoned
185185
- Subject: [`change`](#change)
186186

@@ -194,7 +194,7 @@ A tool or a user decides that the change has been inactive for a while and it ca
194194

195195
A Change has been updated, for example a new commit is added or removed from an existing Change.
196196

197-
- Event Type: __`dev.cdevents.change.updated.0.1.0`__
197+
- Event Type: __`dev.cdevents.change.updated.0.1.1`__
198198
- Predicate: updated
199199
- Subject: [`change`](#change)
200200

0 commit comments

Comments
 (0)