Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-13451

Commits not found on GitHub when there are more than 100 commits

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.5
    • Component/s: Branch & PR
    • Labels:
      None
    • Edition:
      Developer
    • Production Notes:
      None

      Description

      Pull decoration with GitHub fails if there are more than 100 commits in the P/R.
      The reason is that pagination of /repos/%s/pulls/%s/commits is not done properly when trying to find the commit in the P/R. Looks like in most cases there is a maximum of 100 results per page instead of the assumed 250.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              duarte.meneses Duarte Meneses
              Reporter:
              duarte.meneses Duarte Meneses
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: