Uploaded image for project: 'RHEL Conversions'
  1. RHEL Conversions
  2. RHELC-1740

Override tool_opts settings when environment variable is detected

    • 3
    • Testable

      Following the effort of deprecating the environment variables, we need to make sure that we will make the transition to use the toolopts smoothly enough in our code base that no user will notice.

      For that, let's start using toolopts everywhere in the codebase, with the following criteria:
      1. If the user set the inhibitor via config file, it should work normally
      2. If the user set the inhibitor via environment variable, we should update toolopts according to that env var and use it
      3. If the user has not set anything, default to empty values.

      Acceptance Criteria

      • Replace all conditions that check for environment variables in the code to use the toolopts variant
      • Keep the deprecation warning, but do not rely on that.

              rolivier@redhat.com Rodolfo Olivieri
              rolivier@redhat.com Rodolfo Olivieri
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: