Scott Little 8b8ea31dc3 Remove pkgbuilder help text from repomgr commands
Repomgr commands are often forwarded into the
package builder for execution.  They are run under the
user's id, and a help text is displayed as if the
'stx control enter' command had been used.  That help
text is confusing in this context.

The mechanism to run these commands failed to distinguish
'user' from 'interactive'.   This update adds that distinction.

Only an interactive session should display the help text.

Repomgr will use the non-interactive method, avoiding the
unwanted help text.

This update also adds some missing repomgr sub-commands supported
by the repo_manage.py back end, e.g. search_pkg.  It also fixes
arguement passing so that --help functions as expected on sub-commands.

NOTE: While testing, I noticed that two recently added repomgr commands,
'merge' and 'search_pkg', available within the build container, were
reflected in the external wrapper.  I've added them

Testing
stx control enter ... displays help text
stx repomgr list ... shows repo list without help text
stx repomgr search_pkg --help ...
              command is valid and help functions as expected
stx repomgr merge --help
              command is valid and help functions as expected

Story: 2008862
Task: 44683

Signed-off-by: Scott Little <scott.little@windriver.com>
Change-Id: Iad96b3f93ce15c52837ddebed16b9f67899ea27c
2022-03-09 16:14:27 -05:00
..
2021-10-19 17:20:40 -04:00
2021-12-20 09:31:02 +08:00