Installing the Source Code (Developers)
If you want to deploy the unmanaged version of this to your sandbox or production org, clone this repo and use the Salesforce DX toolchain for deployment. However the recommended deployment for these orgs is via the managed package links above.
Contributing to Declarative Rollup Summary Tools
This project now uses Salesforce DX and CumulusCI (CCI) for development and packaging. You can use either tool chain to contribute.
It’s easy:
-
Have VS Code with Salesforce DX Extended setup and running
- Clone this repo
A. If using windows: LF normalize “MetadataService.cls”,”MetadataServiceTest.cls”
Ex: In VS code you can change the file fromCRLF
toLF
within the program settings. - run
npm ci
- this will ensure our code formatting rules apply (via Prettier), and installs packages from the package-lock.json file - create a new branch from
main
, all branches must start withfeature/
, e.g.feature/newSetupUX
(use a descriptive name) - Deploy code to a Scratch Org via CCI or DX
A. If using SFDX: append the scratch org creation command with “–nonamespace”
Ex:sfdx force:org:create -f orgs/feature.json --nonamespace -a myTestOrgAlias
- Work on it
When done:
- Open up a PR and fill out the template. Once done, one of two things will happen
- If you are a DLRS team member, successful builds and reviews are required for merge
- If you are not a member (yet) then a team member will pick up your PR, close it and open a new PR with your changes. That way your contribution will be preserved. From there it is back to 1)