Skip to content
Snippets Groups Projects
  1. Sep 14, 2023
    • vlorentz's avatar
      to_disk: Represent revisions as empty directories instead of symlinks · e8fa9a45
      vlorentz authored
      The symlink representation is slightly ambiguous, so not necessarily
      very useful.
      Additionally, it made directory-flat bundles differ from a non-recursive
      'git clone' checkout, which confuses Guix and potentially other tools.
      
      We may revisit this in the future, eg. by adding a dotfile in the
      directory or metadata at the root.
      v1.9.0
      e8fa9a45
  2. Jul 19, 2023
  3. Jul 13, 2023
    • Antoine Lambert's avatar
      backend: Move postgresql backend initialization in a separate class · 1614bb65
      Antoine Lambert authored
      Since commit swh-core@89d48572, the "swh db init" command attempts
      to instantiate the postgresql backend of a swh module using the get_datastore
      function of the module with a "cls" and "db" parameters.
      
      While it works fine for most of swh modules, it does not for the vault as more
      parameters are expected by the "get_vault" function and thus the database init
      is failing. The issue was spotted in the docker environment after updating the
      swh/stack image.
      
      So extract postgresql backend initialization for the vault in a new class named
      VaultBackendDataStore and set it as swh.vault.get_datastore attribute value.
      v1.8.2
      1614bb65
  4. Jul 07, 2023
  5. Jun 26, 2023
  6. May 11, 2023
  7. Mar 03, 2023
  8. Feb 23, 2023
  9. Feb 17, 2023
  10. Feb 16, 2023
  11. Feb 02, 2023
  12. Dec 19, 2022
  13. Nov 23, 2022
  14. Nov 07, 2022
  15. Oct 19, 2022
  16. Oct 18, 2022
  17. 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
  18. Aug 30, 2022
  19. Aug 04, 2022
  20. Jul 29, 2022
  21. 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
  22. Jun 23, 2022
  23. Jun 22, 2022
  24. Jun 21, 2022
  25. Jun 07, 2022
  26. May 31, 2022
  27. May 09, 2022
  28. May 06, 2022
  29. May 02, 2022
  30. Apr 26, 2022
  31. Apr 21, 2022
Loading