Skip to content
Snippets Groups Projects
  1. Nov 16, 2020
  2. Nov 12, 2020
  3. Nov 10, 2020
  4. Oct 27, 2020
  5. Oct 26, 2020
  6. Oct 23, 2020
  7. Oct 14, 2020
    • Nicolas Dandrimont's avatar
      Make revision/release identifiers explicitly the hash of a manifest · 9224c8ca
      Nicolas Dandrimont authored
      This collapses the shared logic between these two identifier computations into a
      few more explicit steps:
       - generate data for the manifest (in either identifier computation);
       - format the manifest (in the new format_manifest function);
       - hash the manifest (in the new hash_manifest function).
      
      This will enable reusing this logic for more object types, as well as stronger
      typing for the manifest computation.
      9224c8ca
  8. 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
  9. Oct 05, 2020
  10. Oct 02, 2020
  11. Sep 29, 2020
  12. Sep 25, 2020
  13. Sep 18, 2020
  14. Sep 17, 2020
  15. Sep 10, 2020
  16. Aug 25, 2020
  17. 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
  18. Aug 07, 2020
  19. Aug 06, 2020
  20. Aug 04, 2020
  21. Jul 30, 2020
  22. Jul 29, 2020
  23. Jul 20, 2020
  24. Jul 09, 2020
  25. Jul 08, 2020
  26. Jul 07, 2020
Loading