1. 13 Jan, 2022 1 commit
    • David Vallee Delisle's avatar
      CommandFilter should allow exec from full path · 1b1b960d
      David Vallee Delisle authored
      The current logic prevents from using a full path as argument.
      We can't just compare basename to basename as it would allow passing
      bogus paths. We need to make sure that passing a full path will compare
      to the config's full path.
      
      Closes-Bug: #1956606
      
      Change-Id: I76094065de5b37f59a2500fbce7f500ada9915da
      1b1b960d
  2. 05 May, 2021 1 commit
    • YuehuiLei's avatar
      setup.cfg: Replace dashes with underscores · 25fcff99
      YuehuiLei authored
      Setuptools v54.1.0 introduces a warning that the use of dash-separated
      options in 'setup.cfg' will not be supported in a future version [1].
      Get ahead of the issue by replacing the dashes with underscores. Without
      this, we see 'UserWarning' messages like the following on new enough
      versions of setuptools:
      
        UserWarning: Usage of dash-separated 'description-file' will not be
        supported in future versions. Please use the underscore name
        'description_file' instead
      
      [1] https://github.com/pypa/setuptools/commit/a2e9ae4cb
      
      Change-Id: I8fc4f3b027aaacaf023e54fe0b138bdddaef0c3f
      25fcff99
  3. 16 Apr, 2021 1 commit
  4. 23 Mar, 2021 1 commit
  5. 19 Feb, 2021 1 commit
  6. 22 Jan, 2021 1 commit
  7. 14 Jan, 2021 1 commit
  8. 18 Dec, 2020 1 commit
  9. 04 Nov, 2020 2 commits
  10. 09 Oct, 2020 1 commit
    • wangzihao's avatar
      Remove six · 0e62293a
      wangzihao authored
      Replace the following items with Python 3 style code.
      
      - six.moves
      - six.StringIO
      
      Change-Id: Ie06dc3b6cc5a3d88defa4fdfd071ed2c9dcfb1d0
      0e62293a
  11. 30 Sep, 2020 1 commit
    • wangzihao's avatar
      Remove six.PY3 · 81352d08
      wangzihao authored
      The Python 2.7 Support has been dropped since Ussuri.
      So remove hacking rules for compatibility between python 2 and 3.
      
      Change-Id: Idd6a1efd1857a70fc7d960b365bfc58d6cbe00d3
      81352d08
  12. 22 Sep, 2020 1 commit
  13. 14 Sep, 2020 2 commits
  14. 11 Sep, 2020 2 commits
  15. 03 Sep, 2020 2 commits
    • Hervé Beraud's avatar
      Adding pre-commit · b1122e81
      Hervé Beraud authored
      Introduced changes:
      - pre-commit config and rules
      - Add pre-commit to pep8 gate, Flake8 is covered in the pre-commit hooks.
      - Applying fixes for pre-commit compliance in all code.
      
      Also commit hash will be used instead of version tags in pre-commit to
      prevend arbitrary code from running in developer's machines.
      
      pre-commit will be used to:
      - trailing whitespace;
      - Replaces or checks mixed line ending (mixed-line-ending);
      - Forbid files which have a UTF-8 byte-order marker (check-byte-order-marker);
      - Checks that non-binary executables have a proper
        shebang (check-executables-have-shebangs);
      - Check for files that contain merge conflict strings (check-merge-conflict);
      - Check for debugger imports and py37+ breakpoint()
        calls in python source (debug-statements);
      - Attempts to load all yaml files to verify syntax (check-yaml);
      - Run flake8 checks (flake8) (local)
      
      For further details about tests please refer to:
      https://github.com/pre-commit/pre-commit-hooks
      
      
      
      Change-Id: I04e73b8a70d32fec3e6131526e0bed0be8599c28
      Signed-off-by: default avatarMoisés Guimarães de Medeiros <moguimar@redhat.com>
      b1122e81
    • Hervé Beraud's avatar
      ignore reno generated artifacts · ee58e4fc
      Hervé Beraud authored
      Change-Id: Iefca629ae61b1da28bddba67525f5c9df164ab14
      ee58e4fc
  16. 06 Aug, 2020 1 commit
  17. 04 Aug, 2020 1 commit
  18. 24 Jul, 2020 1 commit
  19. 30 Jun, 2020 1 commit
  20. 03 Jun, 2020 1 commit
  21. 02 Jun, 2020 1 commit
  22. 26 May, 2020 2 commits
  23. 22 May, 2020 2 commits
  24. 18 May, 2020 1 commit
    • Andreas Jaeger's avatar
      Switch to newer openstackdocstheme and reno versions · 4c048064
      Andreas Jaeger authored
      Switch to openstackdocstheme 2.2.0 and reno 3.1.0 versions. Using
      these versions will allow especially:
      * Linking from HTML to PDF document
      * Allow parallel building of documents
      * Fix some rendering
      
      Update Sphinx version as well.
      
      Remove docs requirements from lower-constraints, they are not needed
      during install or test but only for docs building.
      
      openstackdocstheme renames some variables, so follow the renames
      before the next release removes them. A couple of variables are also
      not needed anymore, remove them.
      
      Depends-On: https://review.opendev.org/728938
      Change-Id: Ie162c8e72f4edec345c20de4517304cc14f7fe0d
      4c048064
  25. 15 May, 2020 1 commit
  26. 13 May, 2020 1 commit
    • Rodolfo Alonso Hernandez's avatar
      Avoid raising a RuntimeError during the shutdown · ee39ce31
      Rodolfo Alonso Hernandez authored
      When the client stops, sends a shutdown command to the root daemon.
      If the socket is still in use, it will return a RuntimeError and
      stop the code execution.
      
      Instead of this, this exception is now captured and the shutdown
      command re-executed up to 3 times. In case of not succeeding, the
      process will continue the client shutdown.
      
      Change-Id: I0302b49e38523d6170be407d4563928cfcc3c1a3
      Closes-Bug: #1878222
      ee39ce31
  27. 04 May, 2020 1 commit
  28. 27 Apr, 2020 1 commit
  29. 24 Apr, 2020 2 commits
    • Sean McGinnis's avatar
      Bump default tox env from py37 to py38 · 6caa7f05
      Sean McGinnis authored
      
      
      Python 3.8 is now our highest level supported python runtime.
      This updates the default tox target environments to swap out
      py37 for py38 to make sure local development testing is
      covering this version.
      
      This does not impact zuul jobs in any way, nor prevent local
      tests against py37. It just changes the default if none is
      explicitly provided.
      
      Change-Id: Ie4a88297493182929b6620dd42d2e2b9d85dc637
      Signed-off-by: default avatarSean McGinnis <sean.mcginnis@gmail.com>
      6caa7f05
    • Sean McGinnis's avatar
      Add py38 package metadata · 9fd61c81
      Sean McGinnis authored
      
      
      Now that we are running the Victoria tests that include a
      voting py38, we can now add the Python 3.8 metadata to the
      package information to reflect that support.
      
      Change-Id: I27acd7a90e439a7e7f7529001afa73f7b9d055ce
      Signed-off-by: default avatarSean McGinnis <sean.mcginnis@gmail.com>
      9fd61c81
  30. 16 Apr, 2020 1 commit
  31. 14 Apr, 2020 2 commits
  32. 02 Apr, 2020 1 commit
    • Andreas Jaeger's avatar
      Update hacking for Python3 · 4445f329
      Andreas Jaeger authored
      The repo is Python 3 now, so update hacking to version 3.0 which
      supports Python 3.
      
      Fix problems found.
      
      Remove hacking and friends from lower-constraints, they are not needed
      for installation.
      
      Change-Id: If75153300f07e6d1c5bf433af35a0dd4d98e6c7f
      4445f329