Project

General

Profile

Actions

action #17182

closed

clone_job.pl doesn't work without http(s):// in the hostname

Added by pgeorgiadis about 7 years ago. Updated almost 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Feature requests
Target version:
Start date:
2017-02-17
Due date:
% Done:

100%

Estimated time:

Description

If you do not provide http(s) then you will end up with the following error:

ultron:~ # /usr/share/openqa/script/clone_job.pl --from openqa.opensuse.org --skip-chained-deps --host `hostname -f` -v 356589 TESTDEBUG=1
unexpected return code: 301 Moved Permanently at /usr/share/openqa/script/clone_job.pl line 189.

Workaround, is to use http(s):// in the hostname:

ultron:~ # /usr/share/openqa/script/clone_job.pl --from https://openqa.opensuse.org --skip-chained-deps --host `hostname -f` -v 356589 TESTDEBUG=1

I would like the error message to say something like: please use http(s):// or (better) add the missing http(s):// part automatically in the background.

Actions

Also available in: Atom PDF