Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite loader #537

Merged
merged 16 commits into from
Jan 6, 2019
Merged

Rewrite loader #537

merged 16 commits into from
Jan 6, 2019

Conversation

wzrdtales
Copy link
Member

@wzrdtales wzrdtales commented Feb 2, 2018

Implementation Details

  • Walker gets file
  • Walker evaluates file version
  • Walker calls correct executor (static/versioned + version number)
  • Executor calls the migration with its underlying logic that needs to be fullfilled

Refactoring

  • Removing all specific files: skeleton, seed, seeder, migration, migrator
  • Adding temporarily temputils for helpers that we're going to move into an own module or db-migrate-shared
  • Cut conenction between createMigration and connect.js
  • Move templating into new temporary location

Bugfixes on the way

  • Fix context of executionUnits

Refers to #215

@ghost
Copy link

ghost commented Feb 2, 2018

There were the following issues with this Pull Request

  • Commit: d5231a3
    • ✖ body must have leading blank line
    • ✖ message may not be empty
    • ✖ type may not be empty

You may need to change the commit messages to comply with the repository contributing guidelines.


🤖 This comment was generated by commitlint[bot]. Please report issues here. Happy coding!

@ghost
Copy link

ghost commented Feb 2, 2018

There were the following issues with this Pull Request

  • Commit: 879b1fa
    • ✖ body must have leading blank line

You may need to change the commit messages to comply with the repository contributing guidelines.


🤖 This comment was generated by commitlint[bot]. Please report issues here. Happy coding!

@wzrdtales wzrdtales force-pushed the rewriteLoader branch 2 times, most recently from d3e563d to 2fb3afa Compare February 2, 2018 15:34
@wzrdtales wzrdtales self-assigned this Feb 2, 2018
@wzrdtales wzrdtales added this to the v0.11.0 milestone Feb 2, 2018
@ghost
Copy link

ghost commented Feb 3, 2018

There were the following issues with this Pull Request

  • Commit: 626a58b
    • ✖ message may not be empty
    • ✖ type may not be empty

You may need to change the commit messages to comply with the repository contributing guidelines.


🤖 This comment was generated by commitlint[bot]. Please report issues here. Happy coding!

@ghost
Copy link

ghost commented Feb 3, 2018

There were the following issues with this Pull Request

  • Commit: 25b458c
    • ✖ message may not be empty
    • ✖ type may not be empty

You may need to change the commit messages to comply with the repository contributing guidelines.


🤖 This comment was generated by commitlint[bot]. Please report issues here. Happy coding!

@wzrdtales
Copy link
Member Author

🎉 Rewrite of this part is done. If you want you can checkout @BorntraegerMarc , I'm next targeting the state manager as dependency to the version 2 schema that is following after this.

Refers to #215

Signed-off-by: Tobias Gurtzick <magic@wizardtales.com>
start of the port of the version 1 schema.

Refers to #215

Signed-off-by: Tobias Gurtzick <magic@wizardtales.com>
Referst to #215

Signed-off-by: Tobias Gurtzick <magic@wizardtales.com>
Signed-off-by: Tobias Gurtzick <magic@wizardtales.com>
Signed-off-by: Tobias Gurtzick <magic@wizardtales.com>
Signed-off-by: Tobias Gurtzick <magic@wizardtales.com>
Signed-off-by: Tobias Gurtzick <magic@wizardtales.com>
patched to make sync and down working properly.

Signed-off-by: Tobias Gurtzick <magic@wizardtales.com>
Signed-off-by: Tobias Gurtzick <magic@wizardtales.com>
Deprecate old hook 'migrator:migration:hook:require' and add a
warning.
Prepare to finally remove all other unnecessary files.

Signed-off-by: Tobias Gurtzick <magic@wizardtales.com>
Signed-off-by: Tobias Gurtzick <magic@wizardtales.com>
Signed-off-by: Tobias Gurtzick <magic@wizardtales.com>
Signed-off-by: Tobias Gurtzick <magic@wizardtales.com>
@wzrdtales
Copy link
Member Author

incorporate #552

@wzrdtales
Copy link
Member Author

rebased, rewriting logic of #552 to new loader

Signed-off-by: Tobias Gurtzick <magic@wizardtales.com>
Signed-off-by: Tobias Gurtzick <magic@wizardtales.com>
#552 introduced a regression and effectively disfunctioned the reset function, since it
did append just to the actionables within the run context.

It was moved into its own context.

Signed-off-by: Tobias Gurtzick <magic@wizardtales.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant