Skip to content
Snippets Groups Projects
  1. Aug 09, 2022
  2. Aug 05, 2022
  3. Aug 04, 2022
  4. Jul 05, 2022
  5. Jul 04, 2022
  6. Jun 16, 2022
  7. Jun 09, 2022
  8. Jun 08, 2022
  9. Jun 02, 2022
  10. Jun 01, 2022
  11. May 30, 2022
  12. May 20, 2022
  13. May 17, 2022
  14. May 16, 2022
    • Antoine R. Dumont's avatar
      Add utility function to retrieve canonical github urls · 60f384d3
      Antoine R. Dumont authored
      This new code is within a new arborescence as some more code will get moved alongside in
      a new commit (the new session github currently in swh.lister module).
      
      That current code is making anonymous requests to the github api for now.
      
      Related to T4232
      60f384d3
  15. May 11, 2022
  16. Apr 26, 2022
  17. Apr 25, 2022
  18. Apr 21, 2022
  19. Apr 15, 2022
    • Nicolas Dandrimont's avatar
      sentry: always override init settings with the environment variables · c1b2e937
      Nicolas Dandrimont authored
      Instead of only overriding the initial settings when they're left unset,
      always override the defaults when the environment variables are set.
      
      This makes the behavior more consistent with the way we usually handle
      environment variables. It also allows setting the environment variable
      `SWH_SENTRY_DISABLE_LOGGING_EVENTS=false`, to enable events based on the
      logging framework in gunicorn backends (where the default has been
      flipped to true).
      c1b2e937
    • Nicolas Dandrimont's avatar
      cli: Ensure tests don't mess with the global logging setup · 151a2f95
      Nicolas Dandrimont authored
      Notably, using logging.config.dictConfig disables all loggers before
      setting its own config. There's no simple way of undoing these changes
      to the logging config.
      
      Even if we had a way to reset a basic logging config, pytest reuses its
      log handler instances across tests, so it's not even that simple to be
      able to reset the logging config from scratch and still have pytest able
      to capture logs.
      
      Instead of any of that, just add a fixture to reset the root logger
      level, and to mock logging.config.dictConfig so that it doesn't actually
      get called.
      151a2f95
  20. Apr 14, 2022
  21. Apr 08, 2022
Loading