Page MenuHomeSoftware Heritage

arch: Use lazy interpolation in logging statements
ClosedPublic

Authored by vlorentz on Aug 23 2022, 1:44 PM.

Diff Detail

Repository
rDLS Listers
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 D8293 (id=29946)

Could not rebase; Attempt merge onto dde7865ac4...

Updating dde7865..4b511b4
Fast-forward
 swh/lister/arch/lister.py             |  13 ++--
 swh/lister/gitea/lister.py            | 125 ++--------------------------------
 swh/lister/gitea/tests/test_lister.py |  29 +++++---
 swh/lister/gogs/lister.py             |  14 ++--
 4 files changed, 40 insertions(+), 141 deletions(-)
Changes applied before test
commit 4b511b4181dab27811d2453d698ccf2fa3051103
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Tue Aug 23 13:43:07 2022 +0200

    arch: Use lazy interpolation in logging statements

commit 31c44330e84afced357174384d427608efff1569
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Tue Aug 23 13:40:11 2022 +0200

    gogs: Lower unnecessarily verbose logging statement

commit 17a219ece0846b4cb4a27ac0ac6ab1b9d681b0ad
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Tue Aug 23 11:49:40 2022 +0200

    gitea: Inherit from Gogs lister
    
    This removes code and adds support for incremental pagination.
    
    While both are essentially the same lister now, it still makes sense to
    keep the Gitea lister separate, in order to:
    
    1. display them in different categories on https://archive.softwareheritage.org/
    2. support possible divergence of APIs in the future

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

This revision is now accepted and ready to land.Aug 23 2022, 2:00 PM