Page MenuHomeSoftware Heritage

Drop no longer used db utilities
ClosedPublic

Authored by ardumont on Nov 23 2020, 6:02 PM.

Details

Summary

This utility tests were only used within swh.core.
By dropping those, we can then stop installing pifpaf within tox.

Test Plan

tox

Diff Detail

Repository
rDCORE Foundations and core functionalities
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

ardumont retitled this revision from Drop no longer remnant of db utilities which pulled pifpaf within tox to Drop db utilities remnants no longer used.Nov 23 2020, 6:03 PM

Build is green

Patch application report for D4561 (id=16208)

Rebasing onto 7b38110bca...

First, rewinding head to replay your work on top of it...
Applying: Drop no longer remnant of db utilities which pulled pifpaf within tox
Changes applied before test
commit dcda0a67620283c0cf30d9ba5671ff259667d9aa
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Mon Nov 23 17:59:45 2020 +0100

    Drop no longer remnant of db utilities which pulled pifpaf within tox
    
    This utility tests were only used within swh.core.
    By dropping those, we can then stop installing pifpaf within tox.

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

Build is green

Patch application report for D4561 (id=16209)

Rebasing onto 7b38110bca...

First, rewinding head to replay your work on top of it...
Applying: Drop no longer db utilities
Changes applied before test
commit dc71ed97207c54d6eab509a5b889cfe95867a00e
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Mon Nov 23 17:59:45 2020 +0100

    Drop no longer db utilities
    
    Those db utilities were only used within swh.core. By dropping those, we can
    then stop installing pifpaf within tox for the db tests.
    
    The tests are now probably faster than before as well.

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

ardumont retitled this revision from Drop db utilities remnants no longer used to Drop no longer used db utilities.Nov 23 2020, 6:18 PM

Build is green

Patch application report for D4561 (id=16211)

Rebasing onto 7b38110bca...

First, rewinding head to replay your work on top of it...
Applying: Drop no longer db utilities
Changes applied before test
commit dd9116b917d05f2b12c57fe1900c567cd49c73cb
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Mon Nov 23 17:59:45 2020 +0100

    Drop no longer db utilities
    
    Those db utilities were only used within swh.core. By dropping those, we can
    then stop installing pifpaf within tox for the db tests.
    
    The tests are now probably faster than before as well.

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

tox.ini
14

You must drop the db: prefix on that line as the command must be applied to all tests suite

Build is green

Patch application report for D4561 (id=16212)

Rebasing onto 7b38110bca...

First, rewinding head to replay your work on top of it...
Applying: Drop no longer used db utilities
Changes applied before test
commit d6f6f12b80b0375700de8b358c60b34e6299c0a3
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Mon Nov 23 17:59:45 2020 +0100

    Drop no longer used db utilities
    
    Those db utilities were only used within swh.core. By dropping those, we can
    then stop installing pifpaf within tox for the db tests.
    
    The tests are now probably faster than before as well.

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

tox.ini
14

oh right, i misread that part, thanks!

swh/core/db/tests/test_db.py
257

you can drop that line as it is already executed in the fixture

Build is green

Patch application report for D4561 (id=16214)

Rebasing onto 7b38110bca...

First, rewinding head to replay your work on top of it...
Applying: Drop no longer used db utilities
Changes applied before test
commit d7e661b8628b9447116cc40c5e310ca5610195e2
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Mon Nov 23 17:59:45 2020 +0100

    Drop no longer used db utilities
    
    Those db utilities were only used within swh.core. By dropping those, we can
    then stop installing pifpaf within tox for the db tests.
    
    The tests are now probably faster than before as well.

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

Update pytest.ini with filterwarning

Build is green

Patch application report for D4561 (id=16215)

Rebasing onto 7b38110bca...

First, rewinding head to replay your work on top of it...
Applying: Drop no longer used db utilities
Changes applied before test
commit 558f0fa74d65d57b77def4d24412397fcdc36fe6
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Mon Nov 23 17:59:45 2020 +0100

    Drop no longer used db utilities
    
    Those db utilities were only used within swh.core. By dropping those, we can
    then stop installing pifpaf within tox for the db tests.
    
    The tests are now probably faster than before as well.

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

Looks good to me, bye bye pifpaf !

This revision is now accepted and ready to land.Nov 23 2020, 6:37 PM

Build is green

Patch application report for D4561 (id=16216)

Rebasing onto 7b38110bca...

First, rewinding head to replay your work on top of it...
Applying: Drop no longer used db utilities
Changes applied before test
commit 4c2895fab31826fda9b26e2964e54a65d7932fcd
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Mon Nov 23 17:59:45 2020 +0100

    Drop no longer used db utilities
    
    Those db utilities were only used within swh.core. By dropping those, we can
    then stop installing pifpaf within tox for the db tests.
    
    The tests are now probably faster than before as well.

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

Build is green

Patch application report for D4561 (id=16217)

Rebasing onto 7b38110bca...

Current branch diff-target is up to date.
Changes applied before test
commit e0e55b71cce9bb75204b7ab74a0c749215785d1f
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Mon Nov 23 17:59:45 2020 +0100

    Drop no longer used db utilities
    
    Those db utilities were only used within swh.core. By dropping those, we can
    then stop installing pifpaf within tox for the db tests.
    
    The tests are now probably faster than before as well.

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

This revision was automatically updated to reflect the committed changes.