Skip to content

Conversation

@LukeTowers
Copy link
Member

@LukeTowers LukeTowers commented Jan 14, 2022

Related to wintercms/storm#40

TODO:

  • Refactor mail config mirroring to work like the database one now since the default mail config structure has changed.

@LukeTowers
Copy link
Member Author

@jaxwilko are these tests only failing because it's not pulling in the correct version of Storm?

@jaxwilko
Copy link
Member

@LukeTowers should be yes, storm can get merged first as it doesn't overwrite anything in use, then this branch should run the tests fine :)

@LukeTowers LukeTowers changed the base branch from develop to wip/1.2 February 15, 2022 19:33
# Conflicts:
#	modules/system/console/WinterEnv.php
This serves the dual purpose of both testing the output of the ArrayFile parser and normalizing the configs so that any future uses of ArrayFile on them will have easier to understand diffs.

These were generated by running the following in Tinker:

use Winter\Storm\Parse\PHP\ArrayFile;

$configPaths = glob(base_path('config/*'));

foreach ($configPaths as $path) {
  if (is_file($path)) {
  	ArrayFile::open($path)->write();
  }
}
@LukeTowers LukeTowers added this to the v1.2.0 milestone Feb 18, 2022
@LukeTowers LukeTowers changed the title [WIP] Config File Replacement [Enhancement] Refactor winter:env, winter:install to use new EnvFile & ArrayFile parsers Feb 18, 2022
@LukeTowers
Copy link
Member Author

Blocked by comments, especially the issue with the include() broken parsing / rendering.

@LukeTowers LukeTowers mentioned this pull request Feb 18, 2022
71 tasks
@LukeTowers
Copy link
Member Author

Blocked by remaining TODO item and wintercms/storm#40 (comment)

This will minimize changes when ConfigWriter is used to set config values through PHP.
@LukeTowers LukeTowers added Status: Completed enhancement PRs that implement a new feature or substantial change and removed Status: In Progress labels Mar 16, 2022
@LukeTowers LukeTowers merged commit 36a42a6 into wip/1.2 Mar 16, 2022
@LukeTowers LukeTowers deleted the wip/config-file branch March 16, 2022 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement PRs that implement a new feature or substantial change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants