Here's a rough outline of the FreeBSD's de-facto policies towards github pull requests. They represent an alternate way to submit mature, ready to commit patches.

Subject to change in the future as resources change and new tooling is created. Please see the FreeBSD handbook for information on Bugzilla, Phabricator and our code submission standards.

Fetching pull requests into local repo

To include pull requests when fetching add the following entry to the appropriate remote config in .git/config: fetch = +refs/pull/*/head:refs/remotes/upstream/pr/*

For example, the full remote entry may look like:

[remote "upstream"]
        url = https://github.com/freebsd/freebsd
        fetch = +refs/heads/*:refs/remotes/upstream/*
        fetch = +refs/notes/*:refs/notes/*
        fetch = +refs/pull/*/head:refs/remotes/upstream/pr/*

After fetching from this remote, individual pull requests can be examined with commands like git show upstream/pr/104 or git log ..upstream/pr/104.

GithubPullRequests (last edited 2017-03-01T21:00:42+0000 by EdMaste)