Some revisions in the archive do not have committer date so workaround
it to avoid errors when walking on such revisions when using the class
CommitterDateRevisionsWalker.
Related sentry issue.
Depends on D6532
Differential D6533
algos/revisions_walker: Handle case of revision without committer date anlambert on Oct 21 2021, 5:18 PM. Authored by
Details
Some revisions in the archive do not have committer date so workaround Related sentry issue. Depends on D6532
Diff Detail
Event TimelineComment Actions Build is green Patch application report for D6533 (id=23751)Could not rebase; Attempt merge onto a986710477... Updating a9867104..ba63438d Fast-forward swh/storage/algos/revisions_walker.py | 10 +- swh/storage/tests/algos/test_revisions_walker.py | 273 +++++++++++++---------- 2 files changed, 161 insertions(+), 122 deletions(-) Changes applied before testcommit ba63438d6dd1015a63bbcccaaa91e6e2b792218c Author: Antoine Lambert <anlambert@softwareheritage.org> Date: Thu Oct 21 17:12:32 2021 +0200 algos/revisions_walker: Handle case of revision without committer date Some revisions in the archive do not have committer date so workaround it to avoid errors when walking on such revisions when using the class CommitterDateRevisionsWalker. commit c02be8ebacf311d1aa758cbaf62f25c3dbd7f673 Author: Antoine Lambert <anlambert@softwareheritage.org> Date: Thu Oct 21 16:50:57 2021 +0200 test_revisions_walker: Migrate from unittest to pytest See https://jenkins.softwareheritage.org/job/DSTO/job/tests-on-diff/1460/ for more details.
Comment Actions Build is green Patch application report for D6533 (id=23761)Could not rebase; Attempt merge onto a986710477... Updating a9867104..49a932c9 Fast-forward swh/storage/algos/revisions_walker.py | 10 +- swh/storage/tests/algos/test_revisions_walker.py | 273 +++++++++++++---------- 2 files changed, 161 insertions(+), 122 deletions(-) Changes applied before testcommit 49a932c98936163435ddda03ffa74fd3f9925fbd Author: Antoine Lambert <anlambert@softwareheritage.org> Date: Thu Oct 21 17:12:32 2021 +0200 algos/revisions_walker: Handle case of revision without committer date Some revisions in the archive do not have committer date so workaround it to avoid errors when walking on such revisions when using the class CommitterDateRevisionsWalker. commit c02be8ebacf311d1aa758cbaf62f25c3dbd7f673 Author: Antoine Lambert <anlambert@softwareheritage.org> Date: Thu Oct 21 16:50:57 2021 +0200 test_revisions_walker: Migrate from unittest to pytest See https://jenkins.softwareheritage.org/job/DSTO/job/tests-on-diff/1461/ for more details. |