Use parent pipeline ID for buildid
RPM packages for MRs are marked via .mrid_pipelineid
for QE to easily
determine whether a package belongs to a certain MR and to determine
whether they are working with the most up-to-date files. Currently, this
pipeline id is the id of the child pipeline, which makes it impossible
to determine whether an RPM is up-to-date with the MR pipeline view
which only shows the pipeline ID of the upstream (parent) pipelines.
Change the build id to contain the upstream (parent) pipeline ID instead, and fall back to the downstream (child) pipeline ID if not available.
Fixes #146 (closed)
Signed-off-by: Michael Hofmann mhofmann@redhat.com