Skip to content

Update private repository detection logic for Gitlab and Github

Administrator requested to merge erzhtor/update-private-repo-detection-logic into main

Created by: erzhtor

Closes https://github.com/sourcegraph/sourcegraph/issues/27382

Description

This PR:

  • Updates private repository detection logic for Github & Gitlab by using corresponding REST APIs

NOTE: it still sends repo names to check if the repo exists in Sourcegraph or not.

Before merging

  • Test on different code hosts (if applicable)

    • GitHub
    • Gitlab
    • GitHub Enterprise
    • Refined GitHub
    • Phabricator
    • Phabricator integration
    • Bitbucket
    • Bitbucket integration
  • Test on different browsers (if applicable)

    • Chrome
    • Firefox
    • Safari
  • Add change log message to client/browser/CHANGELOG.md, under "Unreleased" section. (if applicable)

Merge request reports

Loading