

Unsourced material may be challenged and removed.įind sources: "Comparison of issue-tracking systems" – news Please help improve this article by adding citations to reliable sources. Navigate to the diff that arc created in your browser and the extension should be working just as the browser extension does on GitHub.This article needs additional citations for verification.
#Bitnami phabricator code
You are now at a point where you can test the Sourcegraph extensions in Phabricator code review. Sourcegraph either gets these changes from staging areas (cmd+f for "staging area") or it attempts to apply the patchset on a temporary clone of the repo. Create large diffs in your test cases.Īt this point, changes live on Phabricator that aren't in the git remote. Phabricator's philosophy is to keep diffs as small as possible so they can be reviewed quickly and thoroughly, but don't assume that users follow this.
#Bitnami phabricator Patch
git commit -m "some changes" arc diffĪrc uploaded the patch that git generated from your changes and creates an associated "diff". If you push the changes to the git remote, we no longer are testing a critical feature of the Sourcegraph Phabricator integration, which is that it uses staging areas if configured or attempts to apply patchsets. Make some changes, commit them, and upload the diff to Phabricator. Use arc to create a new branch arc branch my-branch Make some changes and push the diff to Phabricator's In your terminal, navigate to a repository that has been added to your Phabricator instance If you used the helper scripts, the root Phabricator directory SSH into your Phabricator instance and follow the installation steps in the README. You can use dev/phabricator/install-sourcegraph.sh.
#Bitnami phabricator install
Install the Sourcegraph Phabricator extension. If configured correctly, Phabricator will start mirroring Now go back to the "manage repository" page and click activate repository on the right. Then open conf/nf and give $USER read and write permissions to the repository. To add it to Gitolite, checkout the gitolite-admin repo and add the public key to keydir/ under the name $USER.pub. Give it a private key from a public/private key pair that has access to your gitolite. Once created, click "Set Credential" on the rightĬlick "Add New Credential".

Go to the URIs list again and click Add New URI on the right side of the page, click edit, then set it to Observe and Visible. Give the repository a name and a callsign with onlyĪlphanumeric characters (just the name in all caps works).Ĭlick on each URI that's already there, click edit, and set it to no I/O and hidden.

# where is a release version from dev/phabricator/restart.sh cd sourcegraph/infrastructure/kubernetes/tooling Infrastructure repository and applying the PhabricatorĬonfig. The diff and attempts to apply them to theĬreate the phabricator pods by navigating to the If staging areas aren't enabled, Sourcegraph takes the patchset from Is the case, Sourcegraph simply takes changes from the staging area, Ideally, staging areas (cmd+f for "stagingĪre enabled for each repository and accessible by Sourcegraph. Must get the changes a user is viewing from somewhere else. This means that it doesn't have to uploadĬhanges to the git remote of a repository. my-new-feature) as is theĬase with pull requests. Reviews are of patches from a changeset rather than a diff between a Phabricator is primarily used as a code review tool. Once your changes in gitolite-admin are done, commit and push Gitolite will provision a new repository once you push the RW+ = create a new repository, add a new entry in this file and Modify gitolite-admin/conf/nf to look the following repo gitolite-admin Phabricator, add the public key to gitolite-admin/keydir and If you'd like to create a new private/public key pair for You simply clone it, commit configuration changesĪnd push back to the remote and gitolite will apply any changes Managing your gitolite instance is done via the gitolite-admin docker run -p 22:22 -e SSH_KEY = " $(cat ~/.ssh/id_rsa.pub ) " elsdoerfer/gitolite Getting your gitolite docker container to talk to your I suggest just using because it can messy cd sourcegraph/infrastructure/kubernetes/toolingĪlternatively, you can run gitolite via docker Spin up in the tooling cluster if it does not yet exist.Ĭreate the gitolite pods by navigating to the infrastructure repository and applying the Gitolite config.Configuring a test instance of Phabricator and Gitolite Gitolite Setup Kubernetes
