Skip to content
Snippets Groups Projects
  1. Apr 29, 2022
  2. Apr 27, 2022
    • Antoine Lambert's avatar
      tasks: Simplify implementation and add tests for listed origins · 4fc65233
      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 cvs loader.
      
      Related to T4187
  3. Apr 26, 2022
  4. Apr 25, 2022
  5. Apr 22, 2022
  6. Apr 21, 2022
  7. Apr 14, 2022
  8. Apr 08, 2022
  9. Apr 06, 2022
  10. Mar 22, 2022
    • Antoine Lambert's avatar
      pytest: Exclude build directory for tests discovery · ecb447a3
      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.
      ecb447a3
  11. Feb 18, 2022
  12. Feb 10, 2022
  13. Feb 07, 2022
  14. Jan 07, 2022
  15. Jan 06, 2022
  16. Dec 16, 2021
  17. Dec 15, 2021
  18. Dec 13, 2021
  19. Dec 09, 2021
    • Stefan Sperling's avatar
      fix Log keyword expansion with trailing whitespace in prefix · a66c6b49
      Stefan Sperling authored
      Our expansion of the Log keyword was slightly wrong. We need to
      trim trailing whitespace from the "prefix" line content which
      preceeds the Log keyword when we write out line content which
      followed the Log keyword. Update the Log expansion example given
      in a comment to document this (see there for details; this behaviour
      of CVS is hard to explain without illustration).
      
      Found while testing conversion of the OpenBSD CVS repository.
      Add a new test which uses an RCS file from this repository to
      reproduce this problem.
      a66c6b49
Loading