Page MenuHomeSoftware Heritage

misc/coverage: Display counters for bzr/cvs visit types conditionally
ClosedPublic

Authored by anlambert on Feb 22 2022, 3:03 PM.

Details

Summary

When loading task types are available for these visit types in the
swh deployment environment (currently staging and docker), display
the associated counters in the coverage widget.

Related to T3945

Related to T3835

Diff Detail

Repository
rDWAPPS Web applications
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 D7221 (id=26174)

Rebasing onto 937a1d59c5...

Current branch diff-target is up to date.
Changes applied before test
commit c14cfd1b281438f7c98bf46d4142e6e8c659cf95
Author: Antoine Lambert <anlambert@softwareheritage.org>
Date:   Tue Feb 22 14:58:11 2022 +0100

    misc/coverage: Display counters for bzr/cvs visit types conditionally
    
    When loading task types are available for these visit types in the
    swh deployment environment (currently staging and docker), display
    the associated counters in the coverage widget.
    
    Related to T3945
    
    Related to T3835

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

ardumont added a subscriber: ardumont.

lgtm, one suggestion inline.

swh/web/tests/misc/test_coverage.py
134–135

to make sure we do have some visit types to go through?

This revision is now accepted and ready to land.Feb 22 2022, 3:20 PM
swh/web/tests/misc/test_coverage.py
134–135

this is not needed as we iterate on a hard-coded list if visit types.

swh/web/tests/misc/test_coverage.py
134–135

ok