Skip to content
Snippets Groups Projects
  1. Nov 28, 2023
  2. Nov 14, 2023
  3. Sep 28, 2023
  4. Aug 25, 2023
    • Antoine Lambert's avatar
      loader: Do not include content of nested trees · 47bf80ca
      Antoine Lambert authored
      Previously the loader was raising an error when encountering a nested
      tree (inventory entry of kind 'tree-reference').
      
      Those nested trees are typically created from git submodules when importing
      a bazaar repository from a git one.
      
      By default bazaar does not recurse on a nested tree content when exporting
      a revision and simply creates an empty directory instead.
      
      So adopt the same behavior in the loader as it exists cases where a nested
      tree cannot be resolved.
      
      Related to #4583.
      47bf80ca
    • Antoine Lambert's avatar
      tests: Generate example repositories using breezy API · 6b891fab
      Antoine Lambert authored
      Instead of having example repositories used as tests data stored in
      tarballs, prefer to build them in tests implementation instead using
      the breezy API.
      
      It helps reading the tests and it gives more flexibility to update
      them if required.
      6b891fab
  5. Aug 24, 2023
    • Antoine Lambert's avatar
      loader: Add parameter to check validity of computed revisions · 1feb0320
      Antoine Lambert authored
      Add check_revision int parameter to the BzrLoader class.
      
      Similarly to the subversion loader, every check_revision computed revisions
      the filesystem associated to a bazaar revision is exported to a temporary
      folder, the hash of its root directory computed and then compared to the SWH
      directory id associated to the SWH revision. If they differ, the loading is
      stopped by raising an exception.
      
      Use this new parameter in tests to check sample repositories are correctly
      loaded into the archive.
      1feb0320
    • Antoine Lambert's avatar
      loader: Fix removal of an empty directory in a revision tree · 8364584a
      Antoine Lambert authored
      Ensure that when an empty directory is removed in a bazaar revision
      it is also removed from the SWH directory data model.
      8364584a
    • Antoine Lambert's avatar
      loader: Ensure empty directory is preserved when added in a revision · 3dea7f1b
      Antoine Lambert authored
      Previously, an empty directory added in a bazaar revision was incorrectly
      mapped to a content object with directory permission in the SWH data model.
      
      So ensure it is properly mapped to a directory object in the SWH data model.
      3dea7f1b
  6. Aug 23, 2023
  7. Jul 21, 2023
  8. Jun 09, 2023
  9. May 03, 2023
  10. May 02, 2023
  11. Apr 20, 2023
  12. Feb 23, 2023
  13. Feb 17, 2023
  14. Feb 16, 2023
  15. Feb 08, 2023
  16. Feb 02, 2023
  17. Jan 26, 2023
  18. Jan 25, 2023
  19. Dec 19, 2022
  20. Oct 18, 2022
  21. Oct 10, 2022
  22. May 09, 2022
  23. Apr 27, 2022
  24. Apr 26, 2022
  25. Apr 21, 2022
  26. Apr 08, 2022
  27. Apr 06, 2022
  28. Mar 22, 2022
Loading