This method was used only by fedpkg in the past. With implementing a
similar functionality in rhpkg, move this code to rpkg where it can
be shared by multiple tools.
The original method accepted the token as a command-line argument
and this wasn't a sane approach. Now the token is safely put via
getpass method.
This method was used only by fedpkg in the past. With implementing a
similar functionality in rhpkg, move this code to rpkg where it can
be shared by multiple tools.
The original method accepted the token as a command-line argument
and this wasn't a sane approach. Now the token is safely put via
getpass method.
JIRA: RHELCMP-13435
Relates: rhbz#2089694
Signed-off-by: Ondřej Nosek onosek@redhat.com