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 ^
Showing
- mypy.ini 3 additions, 1 deletionmypy.ini
- requirements-swh.txt 1 addition, 0 deletionsrequirements-swh.txt
- requirements-test.txt 1 addition, 0 deletionsrequirements-test.txt
- requirements.txt 1 addition, 0 deletionsrequirements.txt
- swh/provenance/cli.py 76 additions, 1 deletionswh/provenance/cli.py
- swh/provenance/journal_client.py 22 additions, 0 deletionsswh/provenance/journal_client.py
- swh/provenance/postgresql/provenance.py 5 additions, 0 deletionsswh/provenance/postgresql/provenance.py
- swh/provenance/tests/data/origins.csv 1 addition, 0 deletionsswh/provenance/tests/data/origins.csv
- swh/provenance/tests/test_cli.py 57 additions, 2 deletionsswh/provenance/tests/test_cli.py
- swh/provenance/tests/test_journal_client.py 81 additions, 0 deletionsswh/provenance/tests/test_journal_client.py
- swh/provenance/tests/test_utils.py 31 additions, 0 deletionsswh/provenance/tests/test_utils.py
Loading
Please register or sign in to comment