File tree 3 files changed +64
-0
lines changed
3 files changed +64
-0
lines changed Original file line number Diff line number Diff line change @@ -246,6 +246,46 @@ def test_env_var_expansion(self):
246
246
success = False ,
247
247
)
248
248
249
+ def test_maintainers (self ):
250
+ self .write_conf (
251
+ """
252
+ version: 2
253
+ defaults:
254
+ products:
255
+ - test-dunfell
256
+ mode: mode
257
+ site: site
258
+
259
+ versions:
260
+ dunfell:
261
+ oeinit: {ROOT}/ci/dummy-init
262
+
263
+ products:
264
+ test-dunfell:
265
+ maintainers:
266
+ - name: John Doe
267
+
268
+ - name: Jane Doe
269
+
270
+ default_version: dunfell
271
+
272
+ modes:
273
+ mode: {{}}
274
+
275
+ sites:
276
+ site: {{}}
277
+
278
+ """ .format (
279
+ ROOT = ROOT
280
+ )
281
+ )
282
+
283
+ self .assertShellCode (
284
+ """\
285
+ . init-build-env
286
+ """
287
+ )
288
+
249
289
def test_tags (self ):
250
290
self .write_conf (
251
291
"""\
Original file line number Diff line number Diff line change @@ -217,6 +217,12 @@ products:
217
217
# particularly if you use a lot of codenames (optional)
218
218
description : A test qemux86-64 product
219
219
220
+ # The list of maintainers for the product. The name of the maintainer is
221
+ # required, but the email is optional.
222
+ maintainers :
223
+ - name : John Doe
224
+
225
+
220
226
# The default version that this product will build with if unspecified, or
221
227
# if the user specifies the default should be used. The user can force a
222
228
# product to use a different version if they are feeling adventurous
Original file line number Diff line number Diff line change 222
222
"description" : {
223
223
"type" : " string"
224
224
},
225
+ "maintainers" : {
226
+ "type" : " array" ,
227
+ "items" : {
228
+ "type" : " object" ,
229
+ "properties" : {
230
+ "name" : {
231
+ "type" : " string"
232
+ },
233
+ "email" : {
234
+ "type" : " string"
235
+ }
236
+ }
237
+ },
238
+ "additionalProperties" : false ,
239
+ "required" : [
240
+ " name"
241
+ ]
242
+ },
225
243
"default_version" : {
226
244
"type" : " string"
227
245
},
You can’t perform that action at this time.
0 commit comments