Flux: a Magento patch config cleaner
- Cleans up Magento patch configurations
Install the homebrew tap from my homebrew-taps repo.
Then run:
brew install clivewalkden/taps/flux
flux
Additional logging can be enabled by passing the -v, -vv or -vvv flags for verbose, debug, and trace logging respectively.
The configuration file should be placed in the git repository root directory and named flux.yaml. The file should look like this:
ignore_list:
- ACSD-xxxxx
magento_env_path: magento/.magento.env.yaml
ece_patches_bin: bin/ece-patchesThe ignore_list is a list of patch names that should be ignored by the tool. The tool will add these patches to the magento/.magento.env.yaml file.
The magento_env_path is the path to the Magento environment configuration file where the patches will be added.
The ece_patches_bin is the path to the ece-patches binary that will be used to apply the patches.