You are here

README.txt in PatchInfo 8.2

CONTENTS OF THIS FILE
---------------------

 * Introduction
 * Requirements
 * Recommended modules
 * Installation
 * Configuration


INTRODUCTION
------------

The PatchInfo Drupal.org module allows you to add Drupal.org information about
patches in the patchinfo-list drush command.


REQUIREMENTS
------------

This module does depend on the Patchinfo and Drush modules.


INSTALLATION
------------

 * Install as you would normally install a contributed Drupal module. See:
   https://www.drupal.org/documentation/install/modules-themes/modules-8
   for further information.


CONFIGURATION
-------------

 * Add information about a patch using info.yml patch source

   In the *.info.yml file of a patched theme or module, add a new list like the
   one shown below:

   patches:
     - 'https://www.drupal.org/node/1739718 Issue 1739718, Patch #32'

   You can add multiple entries to the list. Each entry should start with the
   URL of the issue or patch followed by any kind of information about the
   patch. The URL is optional.

   You can use any URL or description, that is convenient to you.

   If you are patching a submodule, you may add the patch entry to the
   *.info.yml file of the submodule.

 * Add information about a patch using composer.json patch source

   The composer.json patch source assumes, that 'cweagans/composer-patches' is
   used for patch management. See https://github.com/cweagans/composer-patches
   for more information.

   For Drupal Core, it will check for a composer.json in your Drupal root
   directory or in the 'core' folder.

   Presently, the source plugin will skip any patches for packages outside the
   'drupal/' namespace.

 * Add the drupal.org issue number to the description of the patch

   Add the issue number preferably at the front of the description. In case of
   the yml file directly after the patch url.

   Accepted are the following notations:

    * Issue 123456
    * issue 123456
    * #123456

   Followed by . or : or | or , or space or EOL.

File

modules/patchinfo_drupalorg/README.txt
View source
  1. CONTENTS OF THIS FILE
  2. ---------------------
  3. * Introduction
  4. * Requirements
  5. * Recommended modules
  6. * Installation
  7. * Configuration
  8. INTRODUCTION
  9. ------------
  10. The PatchInfo Drupal.org module allows you to add Drupal.org information about
  11. patches in the patchinfo-list drush command.
  12. REQUIREMENTS
  13. ------------
  14. This module does depend on the Patchinfo and Drush modules.
  15. INSTALLATION
  16. ------------
  17. * Install as you would normally install a contributed Drupal module. See:
  18. https://www.drupal.org/documentation/install/modules-themes/modules-8
  19. for further information.
  20. CONFIGURATION
  21. -------------
  22. * Add information about a patch using info.yml patch source
  23. In the *.info.yml file of a patched theme or module, add a new list like the
  24. one shown below:
  25. patches:
  26. - 'https://www.drupal.org/node/1739718 Issue 1739718, Patch #32'
  27. You can add multiple entries to the list. Each entry should start with the
  28. URL of the issue or patch followed by any kind of information about the
  29. patch. The URL is optional.
  30. You can use any URL or description, that is convenient to you.
  31. If you are patching a submodule, you may add the patch entry to the
  32. *.info.yml file of the submodule.
  33. * Add information about a patch using composer.json patch source
  34. The composer.json patch source assumes, that 'cweagans/composer-patches' is
  35. used for patch management. See https://github.com/cweagans/composer-patches
  36. for more information.
  37. For Drupal Core, it will check for a composer.json in your Drupal root
  38. directory or in the 'core' folder.
  39. Presently, the source plugin will skip any patches for packages outside the
  40. 'drupal/' namespace.
  41. * Add the drupal.org issue number to the description of the patch
  42. Add the issue number preferably at the front of the description. In case of
  43. the yml file directly after the patch url.
  44. Accepted are the following notations:
  45. * Issue 123456
  46. * issue 123456
  47. * #123456
  48. Followed by . or : or | or , or space or EOL.