Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(PUP-3239) Stop compilation if $environment has bad manifest settings
Before this commit we raised a warning if '$environment' was found in the 'environmentpath' or 'basemodulepath' settings but continued catalog compilation. This commit adds in a validation method which raises an error before compilation if an unsafe interpolation of '$environment' was found in the 'environmentpath' or 'basemodulepath' settings thus stopping the compilation process all together. This commit also consolidates the 'conflicting_manifest_settings?' method into the 'validate' method since it also needs to halt compilation. When new pre-compilation validations are added they can be added to the new 'validate' method.
- Loading branch information
Britt Gresham
committed
Sep 24, 2014
1 parent
868bf83
commit 6c30ada
Showing
3 changed files
with
45 additions
and
10 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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