Page MenuHomeSoftware Heritage

Install `swh provenance origin from-journal` cli and tests
Needs ReviewPublic

Authored by ardumont on Wed, Jun 22, 3:48 PM.

Details

Summary

As a consequence, this introduces the use of swh.journal in the provenance swh
requirements.

This also:

  • deprecates the swh provenance iter-origins
  • in favor of the new swh provenance origin from-csv cli
  • Add tests around those CLIs ^

Co-authored with @douardda (author of the initial commit)

Test Plan

tox

Diff Detail

Repository
rDPROV Provenance database
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 30005
Build 46905: Phabricator diff pipeline on jenkinsJenkins console · Jenkins
Build 46904: arc lint + arc unit

Event Timeline

Build has FAILED

Patch application report for D8023 (id=28894)

Rebasing onto 80434e3b21...

Current branch diff-target is up to date.
Changes applied before test
commit 4522b2a111239c3d185f592d40c1061f69d9374e
Author: David Douard <david.douard@sdfa3.org>
Date:   Wed Jun 22 12:40:38 2022 +0200

    Install `swh provenance origin from-journal` cli and tests
    
    As a consequence, this introduces the use of swh.journal in the provenance swh
    requirements.
    
    This also:
    - deprecates the `swh provenance iter-origins`
    - in favor of the new `swh provenance origin from-csv` cli
    - Add tests around those CLIs ^

Link to build: https://jenkins.softwareheritage.org/job/DPROV/job/tests-on-diff/604/
See console output for more information: https://jenkins.softwareheritage.org/job/DPROV/job/tests-on-diff/604/console

Harbormaster returned this revision to the author for changes because remote builds failed.Wed, Jun 22, 3:50 PM
Harbormaster failed remote builds in B29985: Diff 28894!

Build has FAILED

Patch application report for D8023 (id=28905)

Rebasing onto 80434e3b21...

Current branch diff-target is up to date.
Changes applied before test
commit a1fddfc2b51e8fde4aa0fa052f8412dc8b11da09
Author: David Douard <david.douard@sdfa3.org>
Date:   Wed Jun 22 12:40:38 2022 +0200

    Install `swh provenance origin from-journal` cli and tests
    
    As a consequence, this introduces the use of swh.journal in the provenance swh
    requirements.
    
    This also:
    - deprecates the `swh provenance iter-origins`
    - in favor of the new `swh provenance origin from-csv` cli
    - Add tests around those CLIs ^

Link to build: https://jenkins.softwareheritage.org/job/DPROV/job/tests-on-diff/605/
See console output for more information: https://jenkins.softwareheritage.org/job/DPROV/job/tests-on-diff/605/console

Build is green

Patch application report for D8023 (id=28906)

Rebasing onto 80434e3b21...

Current branch diff-target is up to date.
Changes applied before test
commit db7be64ef1d574441ecb475597f617f8af5d7c31
Author: David Douard <david.douard@sdfa3.org>
Date:   Wed Jun 22 12:40:38 2022 +0200

    Install `swh provenance origin from-journal` cli and tests
    
    As a consequence, this introduces the use of swh.journal in the provenance swh
    requirements.
    
    This also:
    - deprecates the `swh provenance iter-origins`
    - in favor of the new `swh provenance origin from-csv` cli
    - Add tests around those CLIs ^

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

This revision was not accepted when it landed; it landed in state Needs Review.Wed, Jun 22, 4:38 PM
This revision was automatically updated to reflect the committed changes.

This revision was not accepted when it landed; it landed in state Needs Review.

Yeah, well, i pushed it on a branch not master so...
Opened it back against origin/master

Build has FAILED

Patch application report for D8023 (id=28911)

Rebasing onto 80434e3b21...

Current branch diff-target is up to date.
Changes applied before test
commit db7be64ef1d574441ecb475597f617f8af5d7c31
Author: David Douard <david.douard@sdfa3.org>
Date:   Wed Jun 22 12:40:38 2022 +0200

    Install `swh provenance origin from-journal` cli and tests
    
    As a consequence, this introduces the use of swh.journal in the provenance swh
    requirements.
    
    This also:
    - deprecates the `swh provenance iter-origins`
    - in favor of the new `swh provenance origin from-csv` cli
    - Add tests around those CLIs ^

Link to build: https://jenkins.softwareheritage.org/job/DPROV/job/tests-on-diff/607/
See console output for more information: https://jenkins.softwareheritage.org/job/DPROV/job/tests-on-diff/607/console

Build is green

Patch application report for D8023 (id=28911)

Rebasing onto 80434e3b21...

Current branch diff-target is up to date.
Changes applied before test
commit db7be64ef1d574441ecb475597f617f8af5d7c31
Author: David Douard <david.douard@sdfa3.org>
Date:   Wed Jun 22 12:40:38 2022 +0200

    Install `swh provenance origin from-journal` cli and tests
    
    As a consequence, this introduces the use of swh.journal in the provenance swh
    requirements.
    
    This also:
    - deprecates the `swh provenance iter-origins`
    - in favor of the new `swh provenance origin from-csv` cli
    - Add tests around those CLIs ^

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