Skip to content
Snippets Groups Projects
  1. Feb 20, 2024
  2. Feb 05, 2024
  3. Jan 26, 2024
  4. Jan 16, 2024
  5. Dec 03, 2023
  6. Nov 28, 2023
  7. Nov 20, 2023
  8. Nov 16, 2023
  9. Oct 13, 2023
  10. Oct 12, 2023
  11. Oct 10, 2023
  12. Jun 09, 2023
  13. Jun 05, 2023
  14. Jun 02, 2023
  15. May 10, 2023
    • Antoine Lambert's avatar
      loader: Fix no longer existing hg node filtering · 594a2b68
      Antoine Lambert authored
      When a mercurial origin is loaded, SWH stores the mapping between
      the original hg revision ids and SWH revision ids as extids.
      This mapping is then reused in subsequent loads to determine which
      new revisions should be archived.
      
      However it exist cases where previously seen hg revisions were
      removed from the mercurial repository between two loads by SWH.
      
      Previously the code filtering such no longer existing revisions
      was not catching the right exception and thus an error was raised
      when attempting to reload such mercurial origins.
      
      Related to #4583
      594a2b68
  16. Feb 17, 2023
  17. Feb 16, 2023
  18. Feb 02, 2023
  19. Dec 19, 2022
  20. Oct 19, 2022
  21. Oct 18, 2022
  22. Sep 28, 2022
    • Stefan Sperling's avatar
      pin billiard dependency to versions < 4 · 610ba8ad
      Stefan Sperling authored
      Billiard version 4 is known to cause trouble in the git-loader's test
      suite because of specific requirements set by the celery package:
      
        pkg_resources.ContextualVersionConflict: (billiard 4.0.2
         (/home/stsp/.virtualenvs/swh/lib/python3.9/site-packages),
        Requirement.parse('billiard<4.0,>=3.6.4.0'), {'celery'})
      
      Until that is fixed, pin billiard to known-working versions.
      610ba8ad
  23. May 09, 2022
  24. Apr 27, 2022
    • Antoine Lambert's avatar
      tasks: Simplify implementation and add tests for listed origins · 3a551fa9
      Antoine Lambert authored
      Recent changes in swh-scheduler add new parameters to the celery tasks
      produced from swh.scheduler.model.ListedOrigin instances.
      
      So ensure to handle any new parameters by not hardcoding the expected
      ones in task signatures.
      
      Remove unsafe use of unnamed task parameters.
      
      Add new tests checking task parameters produced from ListedOrigin
      instances do no raise error when attempting to create a hg loader.
      
      Related to T4187
      v3.1.1
      3a551fa9
  25. Apr 26, 2022
  26. Apr 21, 2022
  27. Apr 08, 2022
  28. Apr 06, 2022
  29. Mar 22, 2022
    • Antoine Lambert's avatar
      pytest: Exclude build directory for tests discovery · 193aaa29
      Antoine Lambert authored
      Due to test modules being copied in subdirectories of the
      build directory by setuptools, it makes pytest fail by raising
      ImportPathMismatchError exceptions when invoked from root
      directory of the module.
      
      So ignore the build folder to discover tests.
      193aaa29
  30. Feb 10, 2022
  31. Feb 08, 2022
Loading