Skip to content
Snippets Groups Projects
  1. Sep 17, 2021
  2. Sep 15, 2021
  3. Aug 30, 2021
  4. Aug 25, 2021
  5. Jul 30, 2021
  6. Jun 11, 2021
  7. Jun 10, 2021
  8. Jun 09, 2021
  9. Jun 08, 2021
  10. May 10, 2021
  11. May 06, 2021
  12. May 05, 2021
  13. Apr 26, 2021
    • Nicolas Dandrimont's avatar
      tarball: properly normalize perms for all extracted files · 7d42035a
      Nicolas Dandrimont authored
      The previous implementation would not normalize permissions for
      files detected as executable. This would make the loader crash when a
      file has bogus permissions such as 0o100100 (executable but not
      readable).
      
      This adds a test that all possible file permissions properly normalize
      to either 0o100644 or 0o100755.
      7d42035a
  14. Apr 23, 2021
  15. Apr 16, 2021
  16. Apr 15, 2021
  17. Apr 06, 2021
    • Vincent Sellier's avatar
      Allow to use several backends with a RPCServerApp · cbc9b86b
      Vincent Sellier authored
      This is needed for the swh-counters module, one backend uses Redis to
      manage the counters by themselves, and another one manages the history
      files using prometheus.
      Each one can possibly evolve separately or can use a different backend
      implementation one day or another.
      
      Related to T3165
    • vlorentz's avatar
      Remove dependency on 'decorator' · 246abfb9
      vlorentz authored
      I don't understand what this library does or why we needed it.
      This commit replaces it with the good old functools.wraps(),
      which fixes this crash that started occuring with
      decorator 5.0.5:
      
      ```
      ERROR    testapp:app.py:1892 Exception on /foo [POST]
      Traceback (most recent call last):
        File "/home/dev/.local/lib/python3.7/site-packages/flask/app.py", line 2447, in wsgi_app
          response = self.full_dispatch_request()
        File "/home/dev/.local/lib/python3.7/site-packages/flask/app.py", line 1952, in full_dispatch_request
          rv = self.handle_user_exception(e)
        File "/home/dev/.local/lib/python3.7/site-packages/flask/app.py", line 1821, in handle_user_exception
          reraise(exc_type, exc_value, tb)
        File "/home/dev/.local/lib/python3.7/site-packages/flask/_compat.py", line 39, in reraise
          raise value
        File "/home/dev/.local/lib/python3.7/site-packages/flask/app.py", line 1950, in full_dispatch_request
          rv = self.dispatch_request()
        File "/home/dev/.local/lib/python3.7/site-packages/flask/app.py", line 1936, in dispatch_request
          return self.view_functions[rule.endpoint](**req.view_args)
        File "/home/dev/.local/lib/python3.7/site-packages/decorator.py", line 231, in fun
          args, kw = fix(args, kw, sig)
        File "/home/dev/.local/lib/python3.7/site-packages/decorator.py", line 203, in fix
          ba = sig.bind(*args, **kwargs)
        File "/usr/lib/python3.7/inspect.py", line 3015, in bind
          return args[0]._bind(args[1:], kwargs)
        File "/usr/lib/python3.7/inspect.py", line 2930, in _bind
          raise TypeError(msg) from None
      TypeError: missing a required argument: 'self'
      ```
      
      https://github.com/micheles/decorator/issues/109
  18. Apr 02, 2021
  19. Mar 26, 2021
  20. Mar 03, 2021
    • Antoine Lambert's avatar
      tests: Drop hypothesis < 6 requirement · 76360cc7
      Antoine Lambert authored
      Ensure tests can be executed using hypothesis >= 6 by suppressing
      the function_scoped_fixture health check on test that uses a function
      scope fixture in combination with @given that does not need to be reset
      between individual hypothesis examples.
      76360cc7
  21. Feb 16, 2021
  22. Jan 20, 2021
  23. Dec 11, 2020
  24. Dec 08, 2020
  25. Nov 27, 2020
Loading