Skip to content

Commit

Permalink
[backend] put project config constraints in jobinfo
Browse files Browse the repository at this point in the history
  • Loading branch information
mlschroe committed Oct 29, 2012
1 parent abfd77b commit 47be09e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/backend/BSXML.pm
Expand Up @@ -485,6 +485,7 @@ our $buildinfo = [
'release',
'debuginfo',
'constraintsmd5',
[ 'prjconfconstraint' ],
[ 'subpack' ],
[ 'imagetype' ],
[ 'dep' ],
Expand Down
1 change: 1 addition & 0 deletions src/backend/bs_sched
Expand Up @@ -727,6 +727,7 @@ sub set_building {
$binfo->{'syspath'} = $syspath if $syspath;
$binfo->{'hostarch'} = $bconf->{'hostarch'} if $bconf->{'hostarch'};
$binfo->{'constraintsmd5'} = $pdata->{'constraintsmd5'} if $pdata->{'constraintsmd5'};
$binfo->{'prjconfconstraint'} = $bconf->{'constraint'} if @{$bconf->{'constraint'} || []};
if ($pdata->{'revtime'}) {
$binfo->{'revtime'} = $pdata->{'revtime'};
# use max of revtime for interproject links
Expand Down

0 comments on commit 47be09e

Please sign in to comment.