Skip to content
Snippets Groups Projects
  1. Apr 20, 2020
  2. Apr 14, 2020
  3. Apr 10, 2020
  4. Apr 09, 2020
  5. Apr 08, 2020
    • David Douard's avatar
      600f761d
    • David Douard's avatar
      Enable black · c48ca0dc
      David Douard authored
      - blackify all the python files,
      - enable black in pre-commit,
      - add a black tox environment.
      c48ca0dc
    • Nicolas Dandrimont's avatar
      Allow overriding broker settings in the kafka server fixture · bf7908bc
      Nicolas Dandrimont authored
      To test the behavior of swh.journal under different settings of the kafka
      broker, split the kafka_server fixture into:
      
       - a persistent session_kafka_server fixture, spawning a single broker for the
       whole test session
      
       - a function-scoped kafka_server fixture, which uses the kafka admin client to
       override broker settings if needed, for the current test (and restores the
       original setting values afterwards)
      
      The broker settings can be overridden for a given function using the parametrize
      decorator to change the return value of the kafka_server_config_overrides
      fixture.
      bf7908bc
    • David Douard's avatar
      Remove useless deepcopy in the inmemory journal writer · a68e8006
      David Douard authored
      InMemoryJournalWriter.write_addition() is expected to receive a (frozen) model
      entity (not a dict) so it makes no sense any more to deepcopy it.
      a68e8006
  6. Apr 06, 2020
  7. Apr 03, 2020
  8. Apr 02, 2020
  9. Mar 30, 2020
  10. Mar 27, 2020
  11. Mar 24, 2020
  12. Mar 23, 2020
    • Antoine Pietri's avatar
      replayer: factor out legacy objects fixers · 099d8190
      Antoine Pietri authored
      This will allow other journal clients to use the fixers, instead of this
      being solely a replayer feature.
      
      One could also imagine integrating the fixer directly in the journal so
      that the fixes happen transparently for all the users without having to
      call the fixer explicitely, and this diff is a first step in this
      direction.
      099d8190
  13. Mar 18, 2020
  14. Mar 17, 2020
  15. Mar 16, 2020
Loading