[meta] Provide credit to organizations / customers who contribute to Drupal issues
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #2288727. -->
Reported by: [webchick](https://www.drupal.org/user/24967)
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>In <a href="http://buytaert.net/a-method-for-giving-credit-to-organizations-that-contribute-code-to-open-source">http://buytaert.net/a-method-for-giving-credit-to-organizations-that-contribute-code-to-open-source</a>, Dries proposed a commit message format that would allow providing credit to customers and agencies who fund contribution back to Drupal.</p>
<p>The goals around this are three-fold:</p>
<ol>
<li>Give credit to the funders of work in the community. The hope is that exposing this credit will give companies incentive to give back more.</li>
<li>Study how the community works, by studying the relationships between customers, agencies, and volunteer contributions and how and where the money is flowing.</li>
<li>Clearly identify "teams" of people who work for the same employer/customer (and thus raise potential conflicts of interest on controversial issues)</li>
</ol>
<p>The idea seems to have a pretty broad base of support, both from business people and from individual contributors, even outside of Drupal.</p>
<p>This issue is to figure out how to make that happen on Drupal.org.</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Start with a UI for collecting credit information on issues and store this in the database. Over time, expose this information on organization profiles and use it in other ways (e.g. sorting the list of marketplace vendors by biggest contributors).</p>
<ol>
<li><strong>Expose fields in issue comment form for "attribution."</strong> & <strong>Display organization/customer info in node/comment view</strong><br>
<span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-7"><a href="https://www.drupal.org/project/drupalorg/issues/2340363" title="Status: Closed (fixed)">#2340363: Add issue comment attribution</a></span></li>
<li><strong>Auto-generate commit messages with org credit</strong> since obviously this will not be sustainable for a human to figure out on every commit. See also <span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-7"><a href="https://www.drupal.org/project/drupalorg/issues/2295411" title="Status: Closed (fixed)">#2295411: Auto-generate Git attribution info / commit messages on Drupal.org</a></span><br>
<span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-7"><a href="https://www.drupal.org/project/drupalorg/issues/2369159" title="Status: Closed (fixed)">#2369159: Extend crediting UI to include organizations & customers</a></span></li>
<li><strong>Add contribution info to organization pages</strong> No mockup yet.</li>
</ol>
<p>In order to support that, we need the following:</p>
<ol>
<li>Make the current "Organizations" profile field an entity reference off to canonical organization nodes. <span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-7"><a href="https://www.drupal.org/project/drupalorg/issues/2323705" title="Status: Closed (fixed)">#2323705: Add user's organization computed reference field</a></span></li>
<li>Possibly others.</li>
</ol>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<ol>
<li><span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-7"><a href="https://www.drupal.org/project/drupalorg/issues/2295411" title="Status: Closed (fixed)">#2295411: Auto-generate Git attribution info / commit messages on Drupal.org</a></span></li>
<li>Resolve the child issues.</li>
<li>Do that.</li>
</ol>
<h3 id="summary-ui-changes">User interface changes</h3>
<p>See above.</p>
<h3 id="summary-api-changes">API changes</h3>
<p>None?</p>
> Related issue: [Issue #968994](https://www.drupal.org/node/968994)
> Related issue: [Issue #2230579](https://www.drupal.org/node/2230579)
> Related issue: [Issue #2177459](https://www.drupal.org/node/2177459)
> Related issue: [Issue #2649100](https://www.drupal.org/node/2649100)
> Related issue: [Issue #2705733](https://www.drupal.org/node/2705733)
> Related issue: [Issue #2810485](https://www.drupal.org/node/2810485)
issue