Page MenuHomeSoftware Heritage

Remove the content replayer code
ClosedPublic

Authored by douardda on Apr 29 2020, 1:47 PM.

Details

Summary

The content replayer code has moved to the swh.objstorage.replayer project.

Depends on D3086
Related to T2355

Diff Detail

Repository
rDJNL Journal infrastructure
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

douardda created this revision.Apr 29 2020, 1:47 PM

Build is green

Patch application report for D3087 (id=10982)

Could not rebase; Attempt merge onto dc96335dbf...

Updating dc96335..cdf9da8
Fast-forward
 requirements-swh.txt                   |   1 -
 requirements-test.txt                  |   1 -
 setup.py                               |   4 -
 swh/journal/backfill.py                | 489 ------------------------
 swh/journal/cli.py                     | 194 +---------
 swh/journal/direct_writer.py           |   7 -
 swh/journal/fixer.py                   | 293 ---------------
 swh/journal/replay.py                  | 413 ---------------------
 swh/journal/tests/test_backfill.py     | 160 --------
 swh/journal/tests/test_cli.py          | 655 ---------------------------------
 swh/journal/tests/test_kafka_writer.py |  53 +--
 swh/journal/tests/test_replay.py       | 405 --------------------
 swh/journal/tests/test_write_replay.py | 165 ---------
 13 files changed, 12 insertions(+), 2828 deletions(-)
 delete mode 100644 swh/journal/backfill.py
 delete mode 100644 swh/journal/direct_writer.py
 delete mode 100644 swh/journal/fixer.py
 delete mode 100644 swh/journal/replay.py
 delete mode 100644 swh/journal/tests/test_backfill.py
 delete mode 100644 swh/journal/tests/test_cli.py
 delete mode 100644 swh/journal/tests/test_replay.py
 delete mode 100644 swh/journal/tests/test_write_replay.py
Changes applied before test
commit cdf9da82a4255e51c048bbe8b312a26813a9034a
Author: David Douard <david.douard@sdfa3.org>
Date:   Wed Apr 22 15:09:13 2020 +0200

    Remove the content replayer code
    
    The content replayer code has moved to the swh.objstorage.replayer project.

commit 92e0379803d9ff0bf662f3b4fe1c10d61e425f08
Author: David Douard <david.douard@sdfa3.org>
Date:   Fri Apr 10 17:16:17 2020 +0200

    Remove the backfiller and the (storage) replayer
    
    These have been move to swh-storage v0.0.188.

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

ardumont accepted this revision.Apr 29 2020, 1:52 PM
This revision is now accepted and ready to land.Apr 29 2020, 1:52 PM
This revision was automatically updated to reflect the committed changes.