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
      v0.2.2
      4fc65233
  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
    • Stefan Sperling's avatar
      validate input paths in the CVS loader · 238c9c03
      Stefan Sperling authored
      The CVS loader creates files on the local file system based on
      paths which were read from a local copy of a CVS repository or
      sent by a CVS server as part of its "cvs rlog" response.
      
      Ensure that such paths will not be able to escape the temporary
      directory which stores checked out versions of files.
      v0.1.0
      238c9c03
  16. Dec 16, 2021
  17. Dec 15, 2021
  18. Dec 13, 2021
Loading