Skip to content
Snippets Groups Projects
  1. 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
  2. Apr 03, 2024
  3. Mar 29, 2024
  4. Feb 05, 2024
  5. Dec 03, 2023
  6. Nov 28, 2023
  7. Nov 14, 2023
  8. Sep 28, 2023
  9. 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
  10. 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
  11. Aug 23, 2023
  12. Jul 21, 2023
  13. Jun 09, 2023
  14. May 03, 2023
  15. May 02, 2023
  16. Apr 20, 2023
  17. Feb 23, 2023
  18. Feb 17, 2023
  19. Feb 16, 2023
  20. Feb 08, 2023
  21. Feb 02, 2023
  22. Jan 26, 2023
  23. Jan 25, 2023
  24. Dec 19, 2022
  25. Oct 18, 2022
  26. Oct 10, 2022
  27. May 09, 2022
  28. Apr 27, 2022
  29. Apr 26, 2022
  30. Apr 21, 2022
Loading