Skip to content

Commit

Permalink
[backend] scmsync: delete person/group element from package meta
Browse files Browse the repository at this point in the history
As the package is coming from scm, there's no need to have them.
  • Loading branch information
mlschroe committed Apr 28, 2023
1 parent 20a57fc commit e245e75
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/backend/BSSrcServer/Scmsync.pm
Expand Up @@ -196,6 +196,8 @@ sub sync_project {
$pack = BSUtil::fromxml($packxml, $BSXML::pack);
$pack->{'project'} = $projid;
$pack->{'name'} = $packid;
delete $pack->{'person'};
delete $pack->{'group'};
BSVerify::verify_pack($pack);
};
if ($@) {
Expand Down

0 comments on commit e245e75

Please sign in to comment.