Skip to content
Snippets Groups Projects
  1. Oct 18, 2022
  2. 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
  3. Aug 30, 2022
  4. Aug 04, 2022
  5. Jul 29, 2022
  6. 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
  7. Jun 23, 2022
  8. Jun 22, 2022
  9. Jun 21, 2022
  10. Jun 07, 2022
  11. May 31, 2022
  12. May 09, 2022
  13. May 06, 2022
  14. May 02, 2022
  15. Apr 26, 2022
  16. Apr 21, 2022
  17. 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
  18. Apr 08, 2022
  19. Apr 06, 2022
  20. 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
  21. Mar 04, 2022
  22. Mar 02, 2022
  23. 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
  24. Feb 14, 2022
  25. Feb 10, 2022
  26. Feb 08, 2022
Loading