Skip to content
  1. Jul 22, 2021
  2. Jul 21, 2021
  3. Jul 20, 2021
  4. Jul 19, 2021
  5. Jul 16, 2021
  6. Jul 15, 2021
  7. Jul 14, 2021
    • Douglas Raillard's avatar
      lisa.wa: Fix wa_path trimming logic · c82d0162
      Douglas Raillard authored
      Ensure path trimming will always work no matter how many folders are
      given.
      c82d0162
    • Vincent Donnefort's avatar
      lisa.wa: Fix common prefix for wa_path · 39146d8d
      Vincent Donnefort authored and Douglas Raillard's avatar Douglas Raillard committed
      When filling wa_path, WAOutput is looking for the longest common path,
      shared by all the WA folder path. e.g
      
        foo/bar foo/bar2 would become respectively bar and bar2.
      
      A problem occurs when using a path with WAOutput that is the root of a
      WA folder. (e.g. foobar where foobar/__meta exists). This common path
      (common_prefix) would then be PosixPath('.'). Pathlib cannot use a such
      path with relative_to() and raises the following error:
      
         ValueError: '/foo/bar/' does not start with ''
      
      Fixing this problem by converting common_prefix to an absolute path.
      39146d8d
  8. Jul 13, 2021
Loading