Skip to content
Snippets Groups Projects
  1. Oct 13, 2023
  2. Oct 12, 2023
  3. Oct 10, 2023
  4. Jun 09, 2023
  5. Jun 05, 2023
  6. Jun 02, 2023
  7. 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
  8. Feb 17, 2023
  9. Feb 16, 2023
  10. Feb 02, 2023
  11. Dec 19, 2022
  12. Oct 19, 2022
  13. Oct 18, 2022
  14. 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
  15. May 09, 2022
  16. 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
  17. Apr 26, 2022
  18. Apr 21, 2022
  19. Apr 08, 2022
  20. Apr 06, 2022
  21. 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
  22. Feb 10, 2022
  23. Feb 08, 2022
  24. Feb 07, 2022
  25. Jan 20, 2022
  26. Dec 16, 2021
  27. Dec 01, 2021
    • Raphaël Gomès's avatar
      Fix context for the first revision in a run · 8ac42a9a
      Raphaël Gomès authored
      See inline comments: in essence, currently the first revision
      in a run (incremental or not) will get the null revision as a
      parent and no cached directory, which creates the wrong diff for that
      revision (i.e. lots of files become added etc).
      
      We fix this problem by doing a full listing of the first revision
      in a run.
      8ac42a9a
    • Raphaël Gomès's avatar
      Don't accidentally do a full run on incremental · 6f1ef81f
      Raphaël Gomès authored
      Filtering against the storage then asking for new revisions only makes
      sense if there are revisions not in storage and not ancestors of heads.
      If there are none, the current behavior lists all revisions, which is a
      whole lot of wasted work.
      6f1ef81f
  28. Oct 11, 2021
  29. Oct 02, 2021
  30. Sep 28, 2021
Loading