Skip to content
Snippets Groups Projects
  1. Jul 08, 2020
  2. Jul 07, 2020
  3. Jul 06, 2020
    • David Douard's avatar
      Extract the extra_headers from metadata on the Revision model class · a7d9aca2
      David Douard authored
      Add a new extra_headers attribute on Revision and use it for computing
      the revision's id instead of extract it from the metadata field.
      
      Only accept (bytes, bytes) as extra_header.
      
      Add a post init hook to Revision to initialize this new attribute from
      given metadata, if any, for bw compat.
      
      Also amend the revision_d hyptothesis strategy to generate extra_headers.
      v0.4.0
      a7d9aca2
  4. Jul 03, 2020
    • Antoine Lambert's avatar
      identifiers: Rename some functions and types related to SWHIDs · 1ff05161
      Antoine Lambert authored
      When Software Heritage persistent identifiers were introduced, they were not
      yet abbreviated as SWHIDs.
      
      Now that abbreviation is growing adoption, rename some functions and types in
      swh.model.identifiers for consistency:
      
        - PersistentId -> SWHID
      
        - persistent_identifier -> swhid
      
        - parse_persistent_identifier -> parse_swhid
      
      Backward compatibility with previous naming is maintained but deprecation
      warnings are introduced to encourage the use of the new names.
      
      Numerous variables in swh.model codebase have also been renamed accordingly.
      
      Also rework and improve documentation.
      v0.3.8
      1ff05161
  5. Jun 15, 2020
  6. Apr 17, 2020
  7. Apr 08, 2020
    • David Douard's avatar
      Enable black · bf3f1cec
      David Douard authored
      - blackify all the python files,
      - enable black in pre-commit,
      - add a black tox environment.
      bf3f1cec
  8. Mar 23, 2020
  9. Feb 21, 2020
  10. Nov 29, 2019
  11. Oct 06, 2019
  12. Oct 04, 2019
  13. Sep 20, 2019
  14. Aug 23, 2019
  15. Jul 10, 2019
  16. Jun 27, 2019
  17. Apr 08, 2019
  18. Apr 04, 2019
  19. Sep 21, 2018
  20. Jul 20, 2018
  21. Jun 29, 2018
  22. Jun 21, 2018
  23. May 18, 2018
  24. Jan 31, 2018
  25. Jan 17, 2018
  26. Jan 15, 2018
  27. Dec 13, 2017
  28. Sep 06, 2017
  29. Mar 24, 2017
  30. Feb 15, 2017
  31. Feb 14, 2017
    • Nicolas Dandrimont's avatar
      identifiers: force timestamps as integers everywhere · 79127102
      Nicolas Dandrimont authored
      The subversion loader (T680) has shown that throwing floating point values
      around for timestamps is a mess waiting to happen.
      
      We now coerce all clients to send us timestamps as integer numbers of seconds
      and microseconds, avoiding data losses everywhere.
      79127102
Loading