Skip to content
Snippets Groups Projects
  1. Feb 16, 2023
  2. Feb 02, 2023
  3. Dec 19, 2022
  4. Nov 23, 2022
  5. Nov 07, 2022
  6. Oct 19, 2022
  7. Oct 18, 2022
  8. Sep 14, 2022
    • David Douard's avatar
      Bump swh dependencies · c315c245
      David Douard authored
      to more reasonable versions...
      v1.8.0
      c315c245
    • David Douard's avatar
      Instanciate the SMTP class only when needed · cab17e72
      David Douard authored
      instead of creating it in the VaultBackend constructor: when configured
      (with host and port), SMTP.connect() is immediately called, which makes
      it mandatory to have the smtp server up and running to be able to create
      the VaultBackend object (which makes it hard to run properly in an elastic
      environment like docker or k8s).
      
      This also removes the fallback to hardcoded 'localhost:25' smtp server;
      if the smtp server is not configured or not reachable, the call to
      _smtp_send() will fail logging the failure (both in logging and sentry).
      cab17e72
  9. Aug 30, 2022
  10. Aug 04, 2022
  11. Jul 29, 2022
  12. Jul 19, 2022
    • vlorentz's avatar
      Fix mypy error · ceb26750
      vlorentz authored
      This is not a runtime issue, because when the supplied mode is DentryPerms.symlink,
      the target is only used passed to os.symlink, which does allow str too.
      ceb26750
  13. Jun 23, 2022
  14. Jun 22, 2022
  15. Jun 21, 2022
  16. Jun 07, 2022
  17. May 31, 2022
  18. May 09, 2022
  19. May 06, 2022
  20. May 02, 2022
  21. Apr 26, 2022
  22. Apr 21, 2022
  23. Apr 13, 2022
    • Antoine R. Dumont's avatar
      api/server: Drop dead code · c8b9c6fd
      Antoine R. Dumont authored
      It was a class parameter from the swh.core.api.asynchronous.RPCServerApp which got
      removed some time ago.
      
      This is not defined in the swh.core.api.RPCServerApp.
      c8b9c6fd
  24. Apr 08, 2022
  25. Apr 06, 2022
  26. Mar 22, 2022
    • Antoine Lambert's avatar
      pytest: Exclude build directory for tests discovery · 295174cd
      Antoine Lambert authored
      Due to test modules being copied in subdirectories of the
      build directory by setuptools, it makes pytest fail by raising
      ImportPathMismatchError exceptions when invoked from root
      directory of the module.
      
      So ignore the build folder to discover tests.
      295174cd
  27. Mar 04, 2022
  28. Mar 02, 2022
  29. Feb 24, 2022
    • David Douard's avatar
      Adapt to swh-core 2.0.0 · e4c9935c
      David Douard authored
      - add the `get_datastore` function in `swh.vault`
      - add the `get_current_version` method in `VaultBackend`,
      - remove dbversion management from sql init script
      - update tests accordingly
      v1.5.0
      e4c9935c
Loading