Skip to content
Snippets Groups Projects
  1. Sep 19, 2022
  2. Sep 15, 2022
  3. Jul 11, 2022
  4. Jul 08, 2022
  5. Jul 07, 2022
  6. Jul 06, 2022
    • Antoine Lambert's avatar
      Fix loading of CVS repositories with non valid UTF-8 paths · d89f8d13
      Antoine Lambert authored
      Some CVS repositories have paths which are non valid UTF-8 (typically
      ISO-8859-1 ones) but the loader implementation assumed all paths can
      be safely encoded to UTF-8 and was raising UnicodeEncodeError when
      attempting to encode non UTF-8 paths.
      
      That commit modifies the way CVS paths are handled by the loader by
      using their raw bytes representation instead of their UTF-8 decoded
      string representation.
      
      Also rcsparse.rcsfile constructor has been modified to take bytes path
      as argument instead of an unicode one in order to be able to successfully
      open non UTF-8 paths.
      
      Such CVS repositories can now be successfully loaded, either using rsync
      or pserver protocol.
      
      Related to T3980
      d89f8d13
  7. Jun 17, 2022
  8. May 20, 2022
  9. May 11, 2022
  10. May 10, 2022
  11. May 09, 2022
  12. May 02, 2022
  13. Apr 29, 2022
  14. 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
  15. Apr 26, 2022
  16. Apr 25, 2022
  17. Apr 22, 2022
  18. Apr 21, 2022
  19. Apr 14, 2022
  20. Apr 08, 2022
  21. Apr 06, 2022
  22. 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
  23. Feb 18, 2022
  24. Feb 10, 2022
  25. Feb 07, 2022
  26. Jan 07, 2022
  27. 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
  28. Dec 16, 2021
Loading