#3278 Download-logs with nvr without task ID downloads a logs
Merged by tkopecek. Opened by jcupova.
jcupova/koji issue-3232  into  master

Download 3278.patch

Fixes: https://pagure.io/koji/issue/3232

I would go the way Mike mentioned there. If we can download logs via webui for such build (https://koji.fedoraproject.org/koji/buildinfo?buildID=1908800) we should be able to do the same via CLI.

rebased onto c09eafd43d3434fbb4654619b3678ce3cacda567

rebased onto 0bde28d337610bab955a0ff9db90b35219011ea8

New api call is not needed. Just construct URL and download it via normal download_file cli lib function. To expand on this - new behaviour should work against old hub.

Simple os.path.join(topurl, log['path']) should return working URL.

rebased onto b8130517804266745955bba62817c8d279e85348

Some options (--match and --dir are ignored in this codepath).

rebased onto c50151adb2b296709f3d081e6c8314a9db750852

:thumbsup:

Metadata Update from @tkopecek:
- Pull-request tagged with: testing-ready

Metadata Update from @jobrauer:
- Pull-request tagged with: testing-done

Commit 5d5b02db fixes this pull-request

Pull-Request has been merged by tkopecek

Metadata