1. 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
  2. 16 Apr, 2021 4 commits
  3. 15 Apr, 2021 1 commit
  4. 23 Mar, 2021 1 commit
  5. 18 Mar, 2021 2 commits
  6. 19 Feb, 2021 1 commit
  7. 01 Feb, 2021 1 commit
  8. 19 Jan, 2021 3 commits
  9. 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
  10. 14 Jan, 2021 1 commit
  11. 18 Dec, 2020 1 commit
  12. 05 Nov, 2020 1 commit
  13. 04 Nov, 2020 1 commit
  14. 22 Sep, 2020 1 commit
  15. 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
  16. 11 Sep, 2020 2 commits
  17. 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
  18. 24 Jul, 2020 1 commit
  19. 30 Jun, 2020 1 commit
  20. 09 Jun, 2020 1 commit
  21. 08 Jun, 2020 3 commits
  22. 04 Jun, 2020 1 commit
  23. 03 Jun, 2020 1 commit
  24. 02 Jun, 2020 1 commit
  25. 26 May, 2020 1 commit
  26. 22 May, 2020 1 commit
  27. 18 May, 2020 1 commit
    • Andreas Jaeger's avatar
      Switch to newer openstackdocstheme and reno versions · f716c679
      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 problems
      
      Update Sphinx version as well.
      
      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.
      
      Set openstackdocs_auto_name to use 'project' as name.
      
      Depends-On: https://review.opendev.org/728938
      Change-Id: If90af1920749efd1b314884a4b366d6d2c939521
      f716c679
  28. 15 May, 2020 2 commits
  29. 04 May, 2020 1 commit