Skip to content

Commit

Permalink
fix BSXML::attribute definition, fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mlschroe committed Oct 8, 2012
1 parent 8f0b48d commit f5e5d96
Showing 1 changed file with 26 additions and 28 deletions.
54 changes: 26 additions & 28 deletions src/backend/BSXML.pm
Expand Up @@ -1472,49 +1472,47 @@ our $appdata = [

our $attribute = [
'attribute' =>
'namespace',
'name',
'binary',
[[ 'value' =>
'_content',
]],
'namespace',
'name',
'binary',
[ 'value' ],
];

our $attributes = [
'attributes' =>
[ $attribute ],
[ $attribute ],
];

# define constraints for build jobs in packages or projects.
our $constraints = [
[],
'hostlabel', # workers might get labels defined by admin, for example for benchmarking.
'sandbox', # xen/kvm/chroot/secure
[],
'hostlabel', # workers might get labels defined by admin, for example for benchmarking.
'sandbox', # xen/kvm/chroot/secure
[ 'linux' =>
[ 'version' =>
[ 'version' =>
[],
'max' ,
'min' ,
],
],
'flavor',
],
[ 'hardware' =>
[ 'cpu' =>
[[ 'flag' ]],
],
'processors',
[ 'disk' =>
[ 'size' =>
'unit',
'_content'
],
],
[ 'memory' =>
[ 'size' =>
'unit',
'_content'
],
],
[ 'cpu' =>
[[ 'flag' ]],
],
'processors',
[ 'disk' =>
[ 'size' =>
'unit',
'_content'
],
],
[ 'memory' =>
[ 'size' =>
'unit',
'_content'
],
],
],
];

Expand Down

0 comments on commit f5e5d96

Please sign in to comment.