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