From 60e89a9311c32c3126ddfac1831fe283b63ce7dd Mon Sep 17 00:00:00 2001 From: Tomas Kopecek Date: Oct 03 2019 13:40:54 +0000 Subject: docs for build.extra.source Fixes: https://pagure.io/koji/issue/1673 --- diff --git a/hub/kojihub.py b/hub/kojihub.py index 6a9711d..575a083 100644 --- a/hub/kojihub.py +++ b/hub/kojihub.py @@ -3754,8 +3754,13 @@ def get_build(buildInfo, strict=False): start_ts: time the build was started (epoch, may be null) completion_time: time the build was completed (may be null) completion_ts: time the build was completed (epoch, may be null) - source: the SCM URL of the sources used in the build + source: the SCM URL of the sources used in the build - + dereferenced git hash is stored here extra: dictionary with extra data about the build + - source: + - original_url: while build.source contains concrete + SCM hash, this field can contain SCM url which was + used when launching build (e.g. git_url#master) cg_id: ID of CG which reserved or imported this build cg_name: name of CG which reserved or imported this build