Page MenuHomeSoftware Heritage

SvnLoaderFromRemoteDump: Fix not_found visit status for non first visit
ClosedPublic

Authored by anlambert on Apr 21 2022, 11:33 AM.

Details

Summary

When a subversion origin no longer exists since its last visit,
SvnLoaderFromRemoteDump was not setting visit status to "not_found" but
to "failed. So ensure to set correct visit status when encountering
such cases.

Fixes SWH-LOADER-SVN-7A.

Diff Detail

Repository
rDLDSVN Subversion (SVN) loader
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Build is green

Patch application report for D7619 (id=27593)

Rebasing onto 821a51307a...

Current branch diff-target is up to date.
Changes applied before test
commit 5b81f38eb75fe8e4f3439bc2f233731859d636e6
Author: Antoine Lambert <anlambert@softwareheritage.org>
Date:   Thu Apr 21 11:19:50 2022 +0200

    SvnLoaderFromRemoteDump: Fix not_found visit status for non first visit
    
    When a subversion origin no longer exists since its last visit,
    SvnLoaderFromRemoteDump was not setting visit status to "not_found" but
    to "failed. So ensure to set correct visit status when encountering
    such cases.

See https://jenkins.softwareheritage.org/job/DLDSVN/job/tests-on-diff/318/ for more details.

Build is green

Patch application report for D7619 (id=27595)

Rebasing onto 056dfe7804...

Current branch diff-target is up to date.
Changes applied before test
commit 8e7fffa7823a253b6e19abb75b6376b319a7d4e5
Author: Antoine Lambert <anlambert@softwareheritage.org>
Date:   Thu Apr 21 11:19:50 2022 +0200

    SvnLoaderFromRemoteDump: Fix not_found visit status for non first visit
    
    When a subversion origin no longer exists since its last visit,
    SvnLoaderFromRemoteDump was not setting visit status to "not_found" but
    to "failed. So ensure to set correct visit status when encountering
    such cases.

See https://jenkins.softwareheritage.org/job/DLDSVN/job/tests-on-diff/319/ for more details.

This revision is now accepted and ready to land.Apr 21 2022, 2:28 PM

Build is green

Patch application report for D7619 (id=27604)

Rebasing onto 5b9065fd64...

Current branch diff-target is up to date.
Changes applied before test
commit e198d4e514468a402cf8b8ee24c809b6824229be
Author: Antoine Lambert <anlambert@softwareheritage.org>
Date:   Thu Apr 21 11:19:50 2022 +0200

    SvnLoaderFromRemoteDump: Fix not_found visit status for non first visit
    
    When a subversion origin no longer exists since its last visit,
    SvnLoaderFromRemoteDump was not setting visit status to "not_found" but
    to "failed. So ensure to set correct visit status when encountering
    such cases.

See https://jenkins.softwareheritage.org/job/DLDSVN/job/tests-on-diff/321/ for more details.