From 61c30d0847b145dd0386fdb48c51454b2e8dbeb4 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 11 Feb 2025 01:17:41 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- common-practices-tools/contribution/contrib-first.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common-practices-tools/contribution/contrib-first.md b/common-practices-tools/contribution/contrib-first.md index f4ced8dfa2..5c822bfe43 100644 --- a/common-practices-tools/contribution/contrib-first.md +++ b/common-practices-tools/contribution/contrib-first.md @@ -39,7 +39,9 @@ It is a best practice to consider first if we are building something that could See more of [CivicActions Drupal contributions](https://drupal.org/civicactions). ## Frequently Asked Questions + + ### Does building by Contrib First cost more? Not typically. There are three significant offsets that make Contrib First the more affordable option: @@ -52,10 +54,8 @@ Not typically. There are three significant offsets that make Contrib First the m Generally speaking, no it does not cost more. In total cost of ownership, contributed code is less expensive to maintain than custom code. Contributed code usually gets updated by update bots when there are changes needed. They make issues and merge requests automatically. The same code existing as custom code has to be updated by project personnel when the need for a change is discovered. In addition, with a broader user base, Open Source community members are more likely to uncover bugs or inefficiencies and provide improvements. - ## How de we decide between what is worth contributing and what is too specific to a project to have more general appeal? - Our engineers are pretty good at recognizing opportunities to re-use their work across multiple projects. This is especially true in the Government sector where agencies often have similar requirements. If we have even a hint that multiple agencies could benefit, we build it as contributed code first. If it starts out as something so specific to a given project that it can no be generalized, the we build it as custom code for that project. However we continually re-evaluate our custom code to see if, over time, it has become something that is worth contributing. ### Does developing by Contrib First take longer?