[obs-commits] [PATCH] [backend] improve heuristic that sets the 'relase' element in the updateinfo
From: Michael Schroeder <mls@suse.de> --- src/backend/bs_sched | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/backend/bs_sched b/src/backend/bs_sched index cb4cace..57168b4 100755 --- a/src/backend/bs_sched +++ b/src/backend/bs_sched @@ -3555,8 +3555,9 @@ sub rebuildpatchinfo { $update->{'id'} = $patchinfo->{'incident'} || $patchinfo->{'name'}; $update->{'title'} = $patchinfo->{'summary'}; $update->{'description'} = $patchinfo->{'description'}; - # XXX + # FIXME: do not guess the release element! $update->{'release'} = $repoid eq 'standard' ? $projid : $repoid; + $update->{'release'} =~ s/_standard$//; $update->{'release'} =~ s/[_:]+/ /g; $update->{'issued'} = { 'date' => $now }; my @references; -- 1.7.7 -- To unsubscribe, e-mail: obs-commits+unsubscribe@opensuse.org To contact the owner, e-mail: obs-commits+owner@opensuse.org
participants (1)
-
OBS build-service