Skip to content
Snippets Groups Projects
  1. Feb 11, 2022
  2. Feb 10, 2022
  3. Feb 04, 2022
  4. Jan 20, 2022
  5. Jan 17, 2022
  6. Jan 14, 2022
  7. Dec 16, 2021
  8. Dec 02, 2021
  9. Dec 01, 2021
  10. Nov 25, 2021
  11. Nov 08, 2021
  12. Sep 17, 2021
  13. Sep 15, 2021
  14. Aug 30, 2021
  15. Aug 25, 2021
  16. Jul 30, 2021
  17. Jun 11, 2021
  18. Jun 10, 2021
  19. Jun 09, 2021
  20. Jun 08, 2021
  21. May 10, 2021
  22. May 06, 2021
  23. May 05, 2021
  24. 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
  25. Apr 23, 2021
  26. Apr 16, 2021
  27. Apr 15, 2021
  28. 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
  29. Apr 02, 2021
  30. Mar 26, 2021
Loading