Page MenuHomeSoftware Heritage

aur: Simplify pathlib logic
ClosedPublic

Authored by vlorentz on Aug 24 2022, 5:25 PM.

Details

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 D8309 (id=29992)

Could not rebase; Attempt merge onto 4b511b4181...

Updating 4b511b4..fb9a387
Fast-forward
 swh/lister/arch/lister.py                 | 203 +++++++++++++++---------------
 swh/lister/arch/tests/test_lister.py      |  22 ++--
 swh/lister/aur/lister.py                  |   5 +-
 swh/lister/aur/tests/test_lister.py       |  18 +--
 swh/lister/bitbucket/tests/test_lister.py |  12 +-
 swh/lister/crates/tests/test_lister.py    |  60 ++++-----
 swh/lister/gitea/tests/test_lister.py     |   9 +-
 swh/lister/gogs/tests/test_lister.py      |   9 +-
 swh/lister/pypi/tests/test_lister.py      |   9 +-
 swh/lister/tuleap/tests/test_lister.py    |   8 +-
 10 files changed, 157 insertions(+), 198 deletions(-)
Changes applied before test
commit fb9a38740139a5d1f1db34cf9e7d409e1c1d6883
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Wed Aug 24 17:25:16 2022 +0200

    aur: Simplify pathlib logic

commit 319041612cd44fc79b2cbe881c1ca37e3f058d48
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Wed Aug 24 17:23:45 2022 +0200

    arch: Un-nest long method

commit b7ec6cb120b4c2a5f2fb3153794a4c0f4fb97135
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Wed Aug 24 17:21:24 2022 +0200

    tests: Simplify origin comparison and improve pytest diff on failure
    
    By using a single equality instead of checking len() then zip()
    to check one by one, pytest can find the common/missing elements
    and print them nicely when the two lists are unequal.

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

This revision is now accepted and ready to land.Aug 24 2022, 5:44 PM

Build is green

Patch application report for D8309 (id=30002)

Could not rebase; Attempt merge onto 4b511b4181...

Updating 4b511b4..ce72969
Fast-forward
 swh/lister/arch/lister.py                 | 205 +++++++++++++++---------------
 swh/lister/arch/tests/test_lister.py      |  22 ++--
 swh/lister/aur/lister.py                  |   5 +-
 swh/lister/aur/tests/test_lister.py       |  18 +--
 swh/lister/bitbucket/tests/test_lister.py |  12 +-
 swh/lister/crates/tests/test_lister.py    |  60 +++++----
 swh/lister/gitea/tests/test_lister.py     |   9 +-
 swh/lister/gogs/tests/test_lister.py      |   9 +-
 swh/lister/pypi/tests/test_lister.py      |   9 +-
 swh/lister/tuleap/tests/test_lister.py    |   8 +-
 10 files changed, 159 insertions(+), 198 deletions(-)
Changes applied before test
commit ce72969de5ead06fd6188db5195188de400d82f2
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Wed Aug 24 17:25:16 2022 +0200

    aur: Simplify pathlib logic

commit 766fbbcc918218f02a998aaff201cee0f9b88be3
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Wed Aug 24 17:23:45 2022 +0200

    arch: Un-nest long method

commit b7ec6cb120b4c2a5f2fb3153794a4c0f4fb97135
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Wed Aug 24 17:21:24 2022 +0200

    tests: Simplify origin comparison and improve pytest diff on failure
    
    By using a single equality instead of checking len() then zip()
    to check one by one, pytest can find the common/missing elements
    and print them nicely when the two lists are unequal.

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

This revision was automatically updated to reflect the committed changes.