Coordinating with core

Where possible, we want to cordinate with the core team, contracting work to them when it makes sense for us, the core team, and the wider CiviCRM community.

Incorporating unreleased core code

From time to time, we might want to incorporate a feature in an upcoming release of CiviCRM into a client site. Maybe the core team is developing a new feature for us. Or it might be that someone has submitted a patch that we are also interested in.

If you know the PR, you can download a patch suitable to applying to CiviCRM as follows:

wget https://patch-diff.githubusercontent.com/raw/civicrm/civicrm-core/pull/<PATCH_NUMBER>.patch

Then from the repo of the site that you want to patch use git am to apply the patch. Use the --directory flag to specify the path to CiviCRM. Something like the following should work:

git am --directory=src/sites/all/modules/civicrm ~/<PATCH_NUMBER>.patch

If the patch relies on other commits that have been merged into master but not yet released, you might want to upgrade to the most recent 'nightly' build. You can find nightlies here: https://download.civicrm.org/latest/