Skip to content
Snippets Groups Projects
  1. Oct 18, 2022
  2. Apr 26, 2022
  3. Apr 08, 2022
  4. Dec 16, 2021
  5. Apr 27, 2021
    • Antoine Lambert's avatar
      tox: Add sphinx environments to check sane doc build · 615d719c
      Antoine Lambert authored
      Enable to check package documentation can be built without producing
      sphinx warnings.
      
      The sphinx environment is designed to be used in continuous integration
      in order to prevent breaking documentation build when committing changes.
      
      The sphinx-dev environment is designed to be used inside a full swh
      development environment.
      
      Related to T3258
      615d719c
  6. Jan 13, 2021
  7. Sep 28, 2020
  8. Jul 15, 2020
    • Antoine R. Dumont's avatar
      Allow cassandra binary path to be configured through env variable · f5811da1
      Antoine R. Dumont authored
      The current hard-coded value won't work for other distributions not relying on
      standard conventions (e.g. nixos...).
      
      This keeps the original behavior and only allow to diverge based on the
      environment variable SWH_CASSANDRA_BIN.
      
      This also:
      - fixes an issue on log path inexistence which raises.
      - renames the other env variable LOG_CASSANDRA to SWH_CASSANDRA_LOG (for
        consistency)
      Verified
      f5811da1
  9. Apr 08, 2020
    • David Douard's avatar
      Enable black · cd52a03b
      David Douard authored
      - blackify all the python files,
      - enable black in pre-commit,
      - add a black tox environment.
      cd52a03b
  10. Jan 31, 2020
  11. Dec 17, 2019
  12. Dec 09, 2019
  13. Nov 21, 2019
  14. Nov 14, 2019
  15. Nov 13, 2019
  16. Oct 30, 2019
  17. Oct 14, 2019
    • David Douard's avatar
      tests: refactor main storage tests · fb70f881
      David Douard authored
      - use pytest instead of unittest.TestCase plumbing
      - extract data from the TestStorageData into a data `storage_data` module;
        this module also provide a simple helper `StorageData` class that mimics
        the original class (access by attributes),
      - implement a series of pytest fixtures for these storage specific tests,
      - get rid of most hypothesis-based tests,
      - replace usage of the use_url hypothesis boolean statetgy by
        pytest.mark.parametrize fixtures; this allows to prevent from
        the need of resetting the storage, since tests are truly executed
        twice (thus with a new swh_storage),
      - refactor test_db to use pytest-postgresql.
      
      Disable (xfail) tests from test_snapshot.py, test_api_client
      and test_in_memory for now.
      
      Fixes/refactorings come with following revisions.
      fb70f881
  18. Oct 09, 2019
  19. Oct 01, 2019
  20. Jul 10, 2019
  21. Dec 20, 2018
  22. Nov 14, 2018
  23. Oct 24, 2018
  24. Oct 22, 2018
Loading