Skip to content
Snippets Groups Projects
  1. Oct 12, 2020
  2. Oct 08, 2020
    • vlorentz's avatar
      Add a 'unique_key' method on model objects · a251df2e
      vlorentz authored
      that returns a value suitable for unicity constraints.
      
      Motivation:
      
      * this is somewhat more of a model concern than a journal/kafka
        concern IMO
      * this is one step toward adding support for non-model objects in
        KafkaJournalWriter
      
      Implementation of the unique_key methods comes from
      `swh.journal.serializers.object_key`.
      v0.7.1
      a251df2e
  3. Oct 07, 2020
  4. Oct 05, 2020
  5. Oct 02, 2020
  6. Sep 29, 2020
  7. Sep 25, 2020
  8. Sep 18, 2020
  9. Sep 17, 2020
  10. Sep 10, 2020
  11. Aug 25, 2020
  12. Aug 14, 2020
    • vlorentz's avatar
      model: Raise error on naive datetimes. · 6dd6acec
      vlorentz authored
      We may unknowingly pass naive datetimes to the storage through them,
      causing the underlying DB to assign them a timezone that might not match
      the actual one.
      
      It already happens in swh.model and swh.loader.package tests.
      6dd6acec
  13. Aug 07, 2020
  14. Aug 06, 2020
  15. Aug 04, 2020
Loading