1. 04 Aug, 2022 2 commits
  2. 18 Jul, 2022 5 commits
  3. 15 Jul, 2022 1 commit
    • Stephen Finucane's avatar
      Remove final use of pkg_resources · 86061ad8
      Stephen Finucane authored
      
      
      'pkg_resources' is slow, while 'importlib.metadata' is the new shiny and
      is *much* faster. Recent version of 'importlib.metadata' - namely those
      found in Python 3.10 or provided by the 4.4 'importlib-metadata'
      backport - now provide the last bit of functionality we were missing to
      remove 'pkg_resources' entirely, namely the ability to map package names
      to modules. This is used for generating epilogs.
      
      The benefits of this are huge, yielding a near 40% decrease in runtime
      for the cliffdemo app (100mS after compared to 160mS) before.
      
      Change-Id: I934d8a196d76622671781643f36bdb8a07d2f319
      Signed-off-by: default avatarStephen Finucane <sfinucan@redhat.com>
      86061ad8
  4. 14 Jul, 2022 1 commit
  5. 27 May, 2022 1 commit
  6. 25 May, 2022 7 commits
  7. 24 May, 2022 1 commit
    • Takashi Kajinami's avatar
      Migrate Python 3.6/7 jobs to Python 3.8 · 5df8c37e
      Takashi Kajinami authored
      Support for Python 3.6 and 3.7 is being removed globally. The current
      latest release of python-novaclient (18.0.0) does not support these two
      versions. The next python-neutronclient release does not, either.
      
      This migrates Python 3.6/7 jobs to Python 3.8 because 3.8 is now
      the minimum supported version.
      
      This also replaces Python3 yoga unit tests by zena unit tests.
      
      Depends-on: https://review.opendev.org/843115
      Change-Id: I03957cf4bd0a96cb1d07e80727c184854b869fc3
      5df8c37e
  8. 04 Mar, 2022 1 commit
  9. 19 Nov, 2021 1 commit
    • Jiri Podivin's avatar
      Removing modindex link from docs · a04a48f4
      Jiri Podivin authored
      
      
      The global module documentation is no longer being generated
      and the link points to a non-existent document.
      
      The purpose of global module documentation is now fulfilled by
      the automatically generated class, and function level reference
      documents which are linked properly.
      
      As such there is no need to keep the link around, or to
      reestablish module level documentation.
      
      Signed-off-by: default avatarJiri Podivin <jpodivin@redhat.com>
      Change-Id: I05e5144a36f33aa5feb996964d1a098b1716cf6a
      a04a48f4
  10. 20 Sep, 2021 1 commit
  11. 10 Sep, 2021 1 commit
  12. 06 Aug, 2021 2 commits
  13. 20 Jul, 2021 1 commit
  14. 13 Jul, 2021 2 commits
    • Zane Bitter's avatar
      Automatically page interactive root help output · 4e7c882c
      Zane Bitter authored
      The previous commit already ensures that the interactive help for
      individual commands is sent to a pager. This does the same for the
      'help' command with no arguments.
      
      Change-Id: If5e38421d21e09f88a572dbb508b1997381bdb87
      4e7c882c
    • Zane Bitter's avatar
      Colourise and automatically page help output · 8fa916e9
      Zane Bitter authored
      Using the autopage library we can automatically send the help output to
      a pager (less, by default), git-style. The pager is configured to not
      reset the terminal on exit, avoiding the problem when piping to less
      manually that the help text you want to refer to disappears off the
      screen when you go to use it. The pager is only invoked when the output
      is to the terminal.
      
      Since we invoke the pager, we can ensure that it is correctly set up to
      interpret ANSI escape codes, so it is safe to use colour to make the
      output easier to read. The autopage library provides light styling of
      the default argparse help output, and some additional colour
      highlighting is added here for the command list (which is generated by
      cliff, not using argparse's formatting code).
      
      Change-Id: If9e1aa5166da32c58cc0fa617f4f81eaa9b2c470
      Depends-On: https://review.opendev.org/c/openstack/requirements/+/799343
      8fa916e9
  15. 15 Jun, 2021 1 commit
  16. 07 Jun, 2021 1 commit
    • Zane Bitter's avatar
      Handle SIGPIPE exit gracefully · 392f3b2e
      Zane Bitter authored
      If we are piping output to a command that exits before the entire
      output is written (e.g. "head") then we will receive a BrokenPipeError.
      This is expected and we should react by exiting gracefully, setting an
      appropriate return code (128 + SIGPIPE).
      
      Change-Id: I0d60e44450da1f48dbd8f459549da80fda69aad5
      392f3b2e
  17. 04 Jun, 2021 1 commit
    • matbu's avatar
      Add conflict_handler parameter as attribut in Command class · 452fff3a
      matbu authored
      Adding conflict_handler as attribut in the Command class in order to be
      able to take control of this parameter and change to different behavior
      that argparse is handling: error / resolve / ignore.
      
      Callers will be able to override it and get a proper Parser object.
      
      Change-Id: I327ece99a04bc8b2ebfa554dea643b1f2a456336
      452fff3a
  18. 14 May, 2021 1 commit
  19. 13 May, 2021 2 commits
  20. 26 Apr, 2021 1 commit
    • Yandong Xuan's avatar
      setup.cfg: Replace dashes with underscores · fbff6de9
      Yandong Xuan authored
      Resolves warnings like the following:
      
        UserWarning: Usage of dash-separated 'description-file' will not be
        supported in future versions. Please use the underscore name
        'description_file' instead
      
      Change-Id: I328d2e7843e3ba62a6de4ef221c4f8564a64f234
      fbff6de9
  21. 20 Apr, 2021 1 commit
  22. 19 Mar, 2021 1 commit
  23. 11 Feb, 2021 1 commit
  24. 10 Feb, 2021 2 commits
  25. 09 Feb, 2021 1 commit