Skip to content
Snippets Groups Projects
  1. Aug 07, 2020
  2. Aug 06, 2020
  3. Aug 04, 2020
  4. Jul 30, 2020
  5. Jul 29, 2020
  6. Jul 20, 2020
  7. Jul 09, 2020
  8. Jul 08, 2020
  9. Jul 07, 2020
  10. 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
  11. 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
  12. Jul 02, 2020
  13. Jun 29, 2020
  14. Jun 24, 2020
  15. Jun 23, 2020
  16. Jun 22, 2020
  17. Jun 16, 2020
  18. Jun 15, 2020
  19. Jun 03, 2020
  20. May 29, 2020
  21. May 20, 2020
    • David Douard's avatar
      Add support for model object anonymization · 29312dff
      David Douard authored
      Simply add a BaseModel.anonymize() method. Default implementation returns
      None, meaning the object is not anonymizable.
      
      For Person, the method returns a Person whith hashed fullname (and unset
      name and email).
      
      For Revision and Release, the method returns an anonymized version of
      the object, i.e. with instance of Person replaced by anonymized ones.
      v0.2.0
      29312dff
  22. May 14, 2020
  23. May 05, 2020
  24. Apr 30, 2020
Loading