Environment based local.xml merging#41
Closed
Vinai wants to merge 1 commit intomagento:masterfrom
Vinai:local.xml-override
Closed
Environment based local.xml merging#41Vinai wants to merge 1 commit intomagento:masterfrom Vinai:local.xml-override
Vinai wants to merge 1 commit intomagento:masterfrom
Vinai:local.xml-override
Conversation
Support merging an additional local.xml file based on the value of the MAGE_APPLICATION_ENV environment variable. The name of the file will be built as follows: 'app/etc/local.' . $_SERVER['MAGE_APPLICATION_ENV'] . '.xml' The value of the variable is checked to contain only letters, characters, underscores and dashes. The file will be merged after the regular local.xml file. The background idea is described by Matthias Zeis at #7
Contributor
|
Thanks Vinai for the implementation. I tested these scenarios successfully:
If somebody wants to try this, follow these steps:
|
Contributor
|
Instead of applying the proposed patch, we have implemented it in different way. Most of modifications will be concentrated in
This change will be rolled out in one of next updates. |
Contributor
Author
|
Thank you for the detailed answer! |
magento-team
added a commit
that referenced
this pull request
Aug 2, 2012
* Refactored ACL for the backend
* ACL resources
* Strict configuration format, validated by XSD schema
* ACL configuration relocation from `app/code/<pool>/<namespace>/<module>/etc/adminhtml.xml` to `app/code/<pool>/<namespace>/<module>/etc/adminhtml/acl.xml`
* Renamed ACL resource identifiers according to the format `<namespace>_<module>::<resource>` throughout the system
* Backend menu configuration requires to specify ACL resource identifier in the new format
* Explicit declaration of ACL resources in `app/code/<pool>/<namespace>/<module>/etc/system.xml` instead of implicit relation by XPath
* Migration tool `dev/tools/migration/acl.php` to convert ACL configuration from 1.x to 2.x
* Declaration of ACL resource/role/rule loaders through the area configuration
* Module `Mage_Backend` declares loader for ACL resources in backend area
* Module `Mage_User` declares loaders for ACL roles and rules (relations between roles and resources) in backend area
* Implemented integrity and legacy tests for ACL
* Fixed issues:
* Losing qty and visibility information when importing products
* Impossibility to reload captcha on backend
* Temporary excluded from execution integration test `Mage_Review_Model_Resource_Review_Product_CollectionTest::testGetResultingIds()` and corresponding fixture script, which cause occasional `segmentation fault` (exit code 139)
* Refactored methods with high cyclomatic complexity:
* `Mage_Adminhtml_Block_System_Store_Edit_Form::_prepareForm()`
* `Mage_Adminhtml_Block_System_Config_Form::initForm()`
* `Mage_Adminhtml_Block_System_Config_Form::initFields()`
* GitHub requests:
* [#32](#32) -- fixed declaration of localization CSV files
* [#35](#35) -- removed non-used `Mage_Core_Block_Flush` block
* [#41](#41) -- implemented ability to extends `app/etc/local.xml` by specifying additional config file via `MAGE_LOCAL_CONFIG` environment variable
magento-team
added a commit
that referenced
this pull request
Aug 2, 2012
* Refactored ACL for the backend
* ACL resources
* Strict configuration format, validated by XSD schema
* ACL configuration relocation from `app/code/<pool>/<namespace>/<module>/etc/adminhtml.xml` to `app/code/<pool>/<namespace>/<module>/etc/adminhtml/acl.xml`
* Renamed ACL resource identifiers according to the format `<namespace>_<module>::<resource>` throughout the system
* Backend menu configuration requires to specify ACL resource identifier in the new format
* Explicit declaration of ACL resources in `app/code/<pool>/<namespace>/<module>/etc/system.xml` instead of implicit relation by XPath
* Migration tool `dev/tools/migration/acl.php` to convert ACL configuration from 1.x to 2.x
* Declaration of ACL resource/role/rule loaders through the area configuration
* Module `Mage_Backend` declares loader for ACL resources in backend area
* Module `Mage_User` declares loaders for ACL roles and rules (relations between roles and resources) in backend area
* Implemented integrity and legacy tests for ACL
* Fixed issues:
* Losing qty and visibility information when importing products
* Impossibility to reload captcha on backend
* Temporary excluded from execution integration test `Mage_Review_Model_Resource_Review_Product_CollectionTest::testGetResultingIds()` and corresponding fixture script, which cause occasional `segmentation fault` (exit code 139)
* Refactored methods with high cyclomatic complexity:
* `Mage_Adminhtml_Block_System_Store_Edit_Form::_prepareForm()`
* `Mage_Adminhtml_Block_System_Config_Form::initForm()`
* `Mage_Adminhtml_Block_System_Config_Form::initFields()`
* GitHub requests:
* [#32](#32) -- fixed declaration of localization CSV files
* [#35](#35) -- removed non-used `Mage_Core_Block_Flush` block
* [#41](#41) -- implemented ability to extends `app/etc/local.xml` by specifying additional config file via `MAGE_LOCAL_CONFIG` environment variable
This was referenced Nov 22, 2014
magento-team
pushed a commit
that referenced
this pull request
Jan 23, 2015
MAGETWO-31053: M2 GitHub Update (version 0.42.0-beta4)
Closed
Closed
This was referenced Nov 22, 2015
magento-engcom-team
pushed a commit
that referenced
this pull request
May 30, 2021
MC-42049: Fix keydown and keyup
5 tasks
1 task
5 tasks
5 tasks
5 tasks
5 tasks
Closed
5 tasks
5 tasks
5 tasks
5 tasks
5 tasks
5 tasks
5 tasks
Closed
5 tasks
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Support merging an additional local.xml file based on the value of
the MAGE_APPLICATION_ENV environment variable.
The name of the file will be built as follows:
'app/etc/local.' . $_SERVER['MAGE_APPLICATION_ENV'] . '.xml'
The value of the variable is checked to contain only letters,
characters, underscores and dashes.
The file will be merged after the regular local.xml file.
The background idea is described by Matthias Zeis at
#7