-
Notifications
You must be signed in to change notification settings - Fork 97
Expand file tree
/
Copy pathpkg_in_pipe.schema.json
More file actions
143 lines (143 loc) · 7.21 KB
/
Copy pathpkg_in_pipe.schema.json
File metadata and controls
143 lines (143 loc) · 7.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://xcp-ng.org/schemas/pkg_in_pipe.json",
"title": "XCP-ng package in the pipe report",
"type": "object",
"required": ["generated_at", "generated_info", "warnings", "error", "tags"],
"properties": {
"generated_at": {
"description": "Timestamp of the start of the report generation, in ISO 8601 format",
"type": "string",
"format": "date-time"
},
"generated_info": {
"description": "Message about the generation included in the report",
"type": ["string", "null"]
},
"warnings": {
"description": "Whether some external sources could not be reached",
"type": "object",
"required": ["plane", "github"],
"properties": {
"plane": {
"description": "True if the issues could not be retrieved from plane",
"type": "boolean"
},
"github": {
"description": "True if github is not available and the pull requests may come from the cache",
"type": "boolean"
}
}
},
"error": {
"description": "Set when the report could not be fully generated",
"enum": [null, "koji", "unknown"]
},
"tags": {
"type": "array",
"items": {
"type": "object",
"required": ["tag", "builds"],
"properties": {
"tag": {
"description": "The koji tag this section is about, e.g. v8.3-incoming",
"type": "string"
},
"builds": {
"type": "array",
"items": {
"type": "object",
"required": [
"nvr", "package", "url", "built_by", "maintained_by", "issues", "pull_requests",
"build_linked"
],
"properties": {
"nvr": {
"description": "The package name, version and release of the build",
"type": "string"
},
"previous_nvr": {
"description": "The NVR of the previously released build of the package (newest build in the updates or base tag), when one exists",
"type": ["string", "null"]
},
"package": {
"description": "The name of the package this build is about",
"type": "string"
},
"url": {
"description": "URL to the build on koji",
"type": "string",
"format": "uri"
},
"built_by": {
"description": "The koji user who built the package",
"type": "string"
},
"maintained_by": {
"description": "The maintainer of the package, when known",
"type": ["string", "null"]
},
"issues": {
"description": "The plane cards related to this build or its pull requests",
"type": "array",
"items": {
"type": "object",
"required": ["sequence_id", "url", "milestones"],
"properties": {
"sequence_id": {
"description": "The XCPNG sequence id of the card",
"type": "string"
},
"url": {
"description": "URL to the card on plane",
"type": "string",
"format": "uri"
},
"milestones": {
"type": "array",
"items": {"type": "string"},
"uniqueItems": true
}
}
}
},
"pull_requests": {
"description": "The pull requests related to this build",
"type": "array",
"items": {
"type": "object",
"required": ["number", "title", "url", "linked"],
"properties": {
"number": {
"description": "The pull request number on github",
"type": "integer",
"minimum": 1
},
"title": {
"description": "The title of the pull request",
"type": "string"
},
"url": {
"description": "URL to the pull request on github",
"type": "string",
"format": "uri"
},
"linked": {
"description": "True if the pull request is listed in one of the related cards",
"type": "boolean"
}
}
}
},
"build_linked": {
"description": "True if the build is listed in one of the related cards",
"type": "boolean"
}
}
}
}
}
}
}
}
}