Our GitHub Enterprise (GHE) instance (used for testing) is available at https://ghe.sgdev.org.
The TLS is provided by Cloudflare, which interacts weirdly with GHE’s own HSTS headers and TLS detection (which may still be stuck in your browser). If you can’t access it or all images/stylesheets are broken, add
$IP ghe.sgdev.org (where
$IP is the origin IP, not Cloudflare’s proxy IP) to your
/etc/hosts then access it over HTTP on http://ghe.sgdev.org (using a different browser if your browser has permanently stored its HSTS headers).
ghe-repos.json has a list of 1000 popular github.com repositories for each of the following languages:
For each repository in ghe-repos.json, I used a script to
/character in the repository’s name with
Upload the repository to a specific “sourcegraph-$LANGUAGE” organization (where $LANGUAGE is the primary language of the repository as identified by github.com), (e.x. the “sourcegraph-go” organization for https://ghe.sgdev.org/sourcegraph-go/gorilla-mux)
This means that the “sourcegraph” organization is the superset of all repositores that exist on the instance (~35K repos), and each language-specific organization should contain only ~1000 repos.
Note: some repositories in ghe-repos.json might be missing from ghe.sgdev.org if my script ran into an error when trying to process them (too much load on the machine, too much load on ghe.sgdev.org, huge >100mb blobs in some repositories, etc.)
Sourcegraph has a GitHub Enterprise license through their GitHub Developer Program.
Going forward we should consider joining their new Partner Program for continued assistance.
Please note to manage the license you need access to the GitHub Enterprise portal: https://enterprise.github.com (Currently only Beyang and Jean can access it and add new members as needed.)
If you need to renew the license follow the following steps:
- Log into the GHE instance’s management console (Shared vault in 1Password): https://ghe.sgdev.org:8443/
- Click on Support in the main menu bar
- Click on New support request
- You will be redirected to the GitHub support portal with a support bundle attached. Complete the form asking for a license renewal.
- Once support confirms a new license has been issued sign into the GitHub Enterprise portal and download the new license.
- Return to the GHE instance’s management console and upload the new license file: https://ghe.sgdev.org:8443/setup/upgrade