#743 `srpm`: --offline arg to prevent connecting to Koji
Merged by onosek. Opened by onosek.
onosek/rpkg srpm_offline  into  master

Download 743.patch

Koji is queried in some cases when macros are stored there. And to
determine the correct target release. But for some branches, it is
not necessary. It is especially visible when Koji is unresponsive
or slow. A user can decide whether a connection to Koji is needed
for the intended operation. Right now, 'srpm' and 'sources' allow
using '--offline' argument for preventing such connections.

JIRA: RHELCMP-14513
Fixes: https://pagure.io/fedpkg/issue/600

Signed-off-by: Ondřej Nosek onosek@redhat.com

rebased onto 2c3ea5d3b04be82b558a927987b8cd567661e78a

Timeouts for Koji connections would resolve some issues as well. But with potentially bigger consequences for other use-cases.

rebased onto 2c3ea5d3b04be82b558a927987b8cd567661e78a

Timeouts for Koji connections would resolve some issues as well. But with potentially bigger consequences for other use-cases.

Pull-Request has been merged by onosek

Metadata