Project

General

Profile

Actions

action #81890

closed

Extend help for openQA client config, e.g. mention the environment variable OPENQA_CONFIG

Added by okurz almost 4 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Low
Assignee:
Category:
Feature requests
Target version:
Start date:
2021-01-08
Due date:
% Done:

0%

Estimated time:

Description

Motivation

Many users use API key and secret command line parameters because they are not aware of the config file or the according format. Also bots are all using the same user, e.g. "geekotest", likely because people are not aware how OPENQA_CONFIG works, see https://github.com/os-autoinst/openQA/blob/master/lib/OpenQA/UserAgent.pm#L37 . We can improve the help.

Acceptance criteria

  • AC1: --help of openqa-client and openqa-cli make the information about the config file and OPENQA_CONFIG easily accessible

Suggestions

  • Extend the help
  • Consolidate the different comments and help strings we have
  • Ensure the env variable OPENQA_CONFIG is mentioned in help+doc

Related issues 1 (0 open1 closed)

Related to openQA Project - action #90038: Better error handling when reading API key+secret from ~/.config/openqa/client.confResolvedmkittler2021-03-12

Actions
Actions #1

Updated by okurz over 2 years ago

  • Related to action #90038: Better error handling when reading API key+secret from ~/.config/openqa/client.conf added
Actions #2

Updated by okurz over 2 years ago

  • Status changed from Workable to Resolved
  • Assignee set to mkittler
  • Target version changed from future to Ready

Done by mkittler in #90038

Actions

Also available in: Atom PDF