1. 05 Oct, 2021 1 commit
  2. 10 Sep, 2021 2 commits
  3. 14 May, 2021 1 commit
    • yangyawei's avatar
      setup.cfg: Replace dashes with underscores · 2b94a4f9
      yangyawei 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: Ieac40473f778b971873ce2e5e2c95011a7aa7665
      2b94a4f9
  4. 05 May, 2021 1 commit
    • jiangzhilin's avatar
      setup.cfg: Replace dashes with underscores · 521d4035
      jiangzhilin 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: Ib5e331ca851474bc4db8287d6a8abaafe75724cd
      521d4035
  5. 16 Apr, 2021 4 commits
  6. 15 Apr, 2021 1 commit
  7. 23 Mar, 2021 1 commit
  8. 18 Mar, 2021 2 commits
  9. 19 Feb, 2021 1 commit
  10. 01 Feb, 2021 1 commit
  11. 19 Jan, 2021 3 commits
  12. 18 Jan, 2021 1 commit
    • Sofia Enriquez's avatar
      Fix json to_primitive when using IO OBjects · 02037330
      Sofia Enriquez authored
      
      
      Currently, using Cinder's backup service with RBD the
      backup-create operation gets stuck when logging
      ('use_json=True' must be set in the config file).
      
      The oslo.log JSONFormatter gets stuck when passing an
      RBDVolumeIOWrapper from os-brick. This happens via os-brick's
      utils.trace() method which passes a connector containing
      {'path': RBDVolumeIOWrapper}.
      The oslo.log JSONFormatter format() method calls
      oslo_serialization's jsonutils.to_primitive and passes in
      this RBDVolumeIOWrapper object.
       
      Therefore the to_primitive method eventually calls
      RBDVolumeIOWrapper.read(). In order to fix this the current
      path avoids mapping io.IOBase objects and fallback the wrapper
      RBD volume object.
      
      Co-authored-by: default avatarEric Harney <eharney@redhat.com>
      Closes-Bug: #1908607
      Change-Id: I3c416e855cb5f0dc32d14b2749ba92aba8964574
      02037330
  13. 14 Jan, 2021 1 commit
  14. 18 Dec, 2020 1 commit
  15. 05 Nov, 2020 1 commit
  16. 04 Nov, 2020 1 commit
  17. 22 Sep, 2020 1 commit
  18. 17 Sep, 2020 1 commit
    • zhoulinhui's avatar
      Fix hacking min version to 3.0.1 · a2b52b13
      zhoulinhui authored
      flake8 new release 3.8.0 added new checks and gate pep8
      job start failing. hacking 3.0.1 fix the pinning of flake8 to
      avoid bringing in a new version with new checks.
      
      Though it is fixed in latest hacking but 2.0 and 3.0 has cap for
      flake8 as <4.0.0 which mean flake8 new version 3.9.0 can also
      break the pep8 job if new check are added.
      
      To avoid similar gate break in future, we need to bump the hacking min
      version.
      
      - http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html
      
      Change-Id: Idc5d70e753953aeb006caeb3ba8f78f5ceeafdf3
      a2b52b13
  19. 11 Sep, 2020 2 commits
  20. 08 Sep, 2020 2 commits
    • Hervé Beraud's avatar
      ignore reno generated artifacts · be517b4a
      Hervé Beraud authored
      Change-Id: I81068c9d9c3aa542684c6f9f8bbb5113ddbfe05a
      be517b4a
    • Hervé Beraud's avatar
      Adding pre-commit · b8289101
      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: I8c993d6ffa...
      b8289101
  21. 24 Jul, 2020 1 commit
  22. 30 Jun, 2020 1 commit
  23. 09 Jun, 2020 1 commit
  24. 08 Jun, 2020 3 commits
  25. 04 Jun, 2020 1 commit
  26. 03 Jun, 2020 1 commit
  27. 02 Jun, 2020 1 commit
  28. 26 May, 2020 1 commit
  29. 22 May, 2020 1 commit