Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This is part of the Community initiative on Install Profile Packaging.
Once
#779460: Allow dynamic application of patches to dependencies
#779998: Add support to record patches applied to release packages
are in place, we need to document them properly under Packaging a profile on drupal.org.
Comments
Comment #1
dwwBoth of the issues in the OP are done and deployed, so this can happen any time.
Comment #2
juan_g CreditAttribution: juan_g commentedgeerlingguy added the following to Packaging a profile on drupal.org on January 15 or 16, for the drupal-org.make file:
Is that enough? Maybe adding that the patch URL should begin with "http://drupal.org/files".
BTW, an interesting real life example is Acquia Commons. Until Commons 6.x-2.3 (2011-11-03), they included a PATCHES.txt file in the profile, with a list of patches such as:
Since Commons 6.x-2.4 (2012-01-18), they include instead a drupal_commons.make file (not drupal-org.make yet) with for example:
From manual to automatic. Congrats! Given the date of the change, it looks like this is a just a step, and they are probably preparing to use drupal-org.make, maybe for the next release 6.x-2.5, hopefully.
In fact, they said in October about their plans:
Comment #3
juan_g CreditAttribution: juan_g commentedAdding a documentation tag for distributions.
Comment #4
JoeAndrieu CreditAttribution: JoeAndrieu commentedWe aren't using Documentation issue reports to report problems with Community Documentation pages any more. I added a link to this issue as a comment on the page. Please feel free to edit the page! (per http://drupal.org/node/1204344 and http://drupal.org/node/1421874)
Comment #5
jhodgdonIn this case, I think a group of several people are discussing some updates to a group of documentation, so let's leave this open until they're done with those issues.
Comment #6
juan_g CreditAttribution: juan_g commentedAbout the current drupal-org.make comment from Packaging a profile on drupal.org mentioned above (#2):
possibly a more detailed phrasing could be:
Would that be enough for this issue?
Also, while we are adding this, we could update the title of the handbook page from "Packaging a profile on drupal.org" to "Packaging a profile as a distribution on drupal.org".
Comment #7
juan_g CreditAttribution: juan_g commentedIt seems that page is being restructured since yesterday. Now, this possible issue fix would apply to the new subpage Full example drupal-org.make file.
Comment #8
dwwI just updated Full example drupal-org.make file with some of juan_g's proposed text here. Also, both this example .make file page and Packaging a distribution on Drupal.org itself have sections about
drupal-org-core.make
files if you need to patch core. And, the main docs page mentions patches and the requirement that they live on d.o.Therefore, I think this is sufficiently documented. Calling this fixed.
Yay,
-Derek
Comment #9
jhodgdonYeah Docs Team!