Uploaded image for project: 'OpenShift Workloads'
  1. OpenShift Workloads
  2. WRKLDS-537

R&D oc adm release info assumes PR from upstream belongs to forked repo


    • Icon: Story Story
    • Resolution: Done
    • Icon: Minor Minor
    • None
    • None
    • Workloads Sprint 227, Workloads Sprint 228, Workloads Sprint 229, Workloads Sprint 230, Workloads Sprint 231, Workloads Sprint 232, Workloads Sprint 233, Workloads Sprint 234, Workloads Sprint 235, Workloads Sprint 236, Workloads Sprint 237, Workloads Sprint 238, Workloads Sprint 239, Workloads Sprint 240, Workloads Sprint 241

      When the release controller shows the changelog between two releases, it ends up assuming a mentioned PR belongs to the fork, and makes a link
      to it, despite the PR actually belonging to upstream. It gets this data from `oc`, by running something like:

      oc adm release info --changelog=/tmp/git/ registry.ci.openshift.org/ocp/release:4.12.0-0.nightly-2022-09-26-111919 registry.ci.openshift.org/ocp/release:4.12.0-0.nightly-2022-09-28-204419

      If you look at that payload, you'll see the upstream kubernetes/kubernetes PR's are assumed to have belonged to openshift/kubernetes instead. This creates incorrect data, and sometimes links to wrong PR when a PR with the same number exists in both repos.

      Is there a way to only show PR's from the release payload repo?

            aguclu@redhat.com Arda Guclu
            stbenjam Stephen Benjamin
            0 Vote for this issue
            3 Start watching this issue