Skip to content
Snippets Groups Projects
  1. May 22, 2024
  2. May 15, 2024
  3. Apr 29, 2024
  4. Apr 17, 2024
    • vlorentz's avatar
      Save DepositRequest record before scheduling loading · 2d68abb1
      vlorentz authored
      _complete_deposit() schedules a loading task; but it was called before the
      DepositRequest object was saved to the database.
      
      This means that if the loading tasks executes very fast, or the DepositRequest
      takes a while to save, then the loader won't see the current DepositRequest when
      it queries the deposit's current state.
      
      This is especially likely to happen with large code uploads, as saving them to
      disk happens before the DepositRequest row is written to the database.
      2d68abb1
  5. Mar 28, 2024
  6. Feb 05, 2024
  7. Feb 02, 2024
  8. Jan 24, 2024
  9. Jan 19, 2024
  10. Jan 10, 2024
  11. Dec 05, 2023
  12. Dec 04, 2023
  13. Dec 01, 2023
  14. Nov 29, 2023
  15. Nov 27, 2023
  16. Nov 24, 2023
  17. Nov 22, 2023
  18. Nov 20, 2023
  19. Nov 17, 2023
  20. Nov 16, 2023
  21. Nov 09, 2023
  22. Nov 07, 2023
  23. Oct 18, 2023
  24. Oct 13, 2023
    • David Douard's avatar
      model: replace contrib's JSONField by a custom one · ce37635b
      David Douard authored
      That uses django.db.models' by default, and fall back to the old contrib
      one if need be.
      
      This later has been deprecated for some time and is now producing
      errors.
      
      Doing this should work in any situation. The migration is actually only
      a matter of the name of the type in the field metadata, so using a
      stable one (swh.deposit.model.JSONField) make it backend-agnostic.
Loading