Skip to content
Snippets Groups Projects
Forked from Platform / Development / swh-journal
43 commits behind the upstream repository.
David Douard's avatar
David Douard authored
- pre-commit from 4.1.0 to 4.3.0,
- codespell from 2.2.1 to 2.2.2,
- black from 22.3.0 to 22.10.0 and
- flake8 from 4.0.1 to 5.0.4. Also freeze flake8 dependencies.

Also change flake8's repo config to github (the gitlab mirror
being outdated).
2c6d9e05
History

swh-journal

Persistent logger of changes to the archive, with publish-subscribe support.

See the documentation for more details.

Local test

As a pre-requisite, you need a kakfa installation path. The following target will take care of this:

make install

Then, provided you are in the right virtual environment as described in the swh getting-started:

pytest

or:

tox

Running

publisher

Command:

$ swh-journal --config-file ~/.config/swh/journal/publisher.yml \
              publisher

Auto-completion

To have the completion, add the following in your ~/.virtualenvs/swh/bin/postactivate:

eval "$(_SWH_JOURNAL_COMPLETE=$autocomplete_cmd swh-journal)"