Mailinglist Archive: opensuse-buildservice (137 mails)

< Previous Next >
Re: [opensuse-buildservice] backend consistency error when using linked projects and source services with OBS 2.3
On Wed, Dec 7, 2011 at 12:18 PM, Michael Schroeder <mls@xxxxxxx> wrote:
Dunno, I'd prefer to just copy the MD5SUM blob (if available).

So, I added the following code after the code you quoted and found
that it seems to resolve the problem:

my $treedir = $BSConfig::nosharedtrees ?
"$treesdir/$projid/$packid" : "$treesdir/$packid";
my $ltreedir = $BSConfig::nosharedtrees ?
"$treesdir/$lprojid/$packid" : "$treesdir/$packid";
if (-e "$ltreedir/$lrev->{'srcmd5'}-MD5SUMS" && ! -e
"$treedir/$lrev->{'srcmd5'}-MD5SUMS") {

Is this what you had in mind? Do you see a problem with that code or
do you think it should generally work that way?

To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups