Skip to content
Snippets Groups Projects
  1. Mar 17, 2025
  2. Feb 17, 2025
  3. Nov 04, 2024
  4. Sep 10, 2024
  5. Aug 30, 2024
  6. Aug 27, 2024
  7. Jul 02, 2024
  8. May 30, 2024
  9. May 15, 2024
  10. May 03, 2024
    • Antoine Lambert's avatar
      test_loader: Workaround pytest 8.2 regression · 57c933d4
      Antoine Lambert authored
      pytest 8.2 fails to execute an unittest based test suite if the class
      containing the tests does not define a runTest method, so dynamically
      define it in the TestCaseWithTransport class from breezy.
      57c933d4
  11. Apr 03, 2024
  12. Mar 29, 2024
  13. Feb 05, 2024
  14. Dec 03, 2023
  15. Nov 28, 2023
  16. Nov 14, 2023
  17. Sep 28, 2023
  18. 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
  19. 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
  20. Aug 23, 2023
  21. Jul 21, 2023
  22. Jun 09, 2023
  23. May 03, 2023
  24. May 02, 2023
  25. Apr 20, 2023
  26. Feb 23, 2023
  27. Feb 17, 2023
  28. Feb 16, 2023
  29. Feb 08, 2023
  30. Feb 02, 2023
  31. Jan 26, 2023
  32. Jan 25, 2023
  33. Dec 19, 2022
  34. Oct 18, 2022
Loading