Skip to content
Snippets Groups Projects
  1. Feb 17, 2025
  2. Aug 27, 2024
  3. Mar 29, 2024
  4. Feb 05, 2024
  5. Dec 03, 2023
  6. Nov 28, 2023
  7. Jun 14, 2023
  8. Feb 17, 2023
  9. Feb 16, 2023
  10. Oct 18, 2022
  11. Apr 26, 2022
  12. Apr 08, 2022
  13. Dec 16, 2021
  14. May 11, 2021
  15. Apr 28, 2021
  16. Apr 12, 2021
  17. Apr 08, 2021
  18. Feb 19, 2021
    • vlorentz's avatar
      Add new class QualifiedSWHID to replace SWHID, and deprecate the latter. · 690b7f82
      vlorentz authored
      Following the discussion on T3034, we decided to replace SWHID with
      two or three classes:
      
      * QualifiedSWHID to replace the existing SWHID (standard types + qualifiers)
      * CoreSWHID, for "core SWHID" only (standard types + no qualifiers)
      * ExtendedSWHID for internal use in Software Heritage (extra types + no qualifiers)
      
      Since migrating from SWHID will break existing code, this commit uses
      the opportunity to modernize it a little, ie.:
      
      * `keyword`-only constructor, to get rid of the hacky default values for
        `object_type` and `object_id`
      * enum instead of strings for the object type
      * `bytes` instead of an hex string for the object id
      * rename `metadata` to `qualifiers`
      690b7f82
  19. Oct 02, 2020
  20. 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
  21. Nov 21, 2019
  22. Oct 09, 2019
  23. Sep 28, 2019
  24. Sep 20, 2019
  25. Oct 23, 2018
  26. Oct 18, 2018
Loading