Uploaded image for project: 'SR for Bitbucket - Development'
  1. SR for Bitbucket - Development
  2. SRBITB-475

Allow mirroring of private Github user repos

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 5.5.6
    • Fix Version/s: 6.43.0
    • Labels:
      None
    • Sprint:
      DevTools 61, DevTools 62, DevTools 103, DevTools 104, DevTools 105, DevTools 106, DevTools 107, DevTools 108, DevTools 109, DevTools 110
    • Critical Points:
      1.6

      Description

      At present, the mirroring script permits the mirroring of any of a Github organisation's repos - public or private - but only public repos owned by users. This appears to be because the endpoint we use to list repos (/users/:username/repos) only returns public repositories. Given, however, that the personal access code supplied in the config should grant us the full repository permissions of that user, we should be able to use /user/repos as well (or instead) in order to pick up their private repos.

        Attachments

          Activity

            People

            Assignee:
            twozniak Tomasz Wozniak [X] (Inactive)
            Reporter:
            jchoules Joanna Choules
            Votes:
            1 Vote for this issue
            Watchers:
            9 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: