Skip to content
Snippets Groups Projects
Forked from project / config_patch
11 commits behind, 1 commit ahead of the upstream repository.
Anish Choudhary's avatar
Issue #3497034: Changed config filter references.
Anish Choudhary authored
8b357ad2
History

Config Patch

This module provides a framework for providing patch files for config (the differences between active configuration and sync configuration). For a site that's built out from source files, this allows sitebuilders to make changes to configuration in the UI and push a button to create a patch which may then be committed back to source. The framework is extensible, so additional output plugins may provide integrations with e.g., cloud source control providers.

Since patches reference file paths, the path of these files is configurable. In other words, if your synchronized config is stored in drupal/config in your source repo, you can configure drupal/config as your base config path in config_patch.

When installed, config_patch provides an additional tab Patch on the admin config synchronization pages listing config that is out of sync and providing a button to output the patch in various forms. It also adds a button to the admin toolbar that shows the number of configuration items that are out of sync.

Available output plugins:

  • Text: provides text output of a unified diff patch
  • Gitlab: provides submission to Gitlab repositories using MR-by-email functionality.

Similar modules:

For a full description of the module, visit the project page.

Submit bug reports and feature suggestions, or track changes in the issue queue.

Table of contents

  • Requirements
  • Installation
  • Configuration
  • Maintainers

Requirements

This module requires no modules outside of Drupal core.

Installation

Install as you would normally install a contributed Drupal module. For further information, see Installing Drupal Modules.

Configuration

  1. Configure this module at /admin/config/development/config_patch

Maintainers