-
Notifications
You must be signed in to change notification settings - Fork 17
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
Mydumper integration #1962
Merged
Merged
Mydumper integration #1962
Changes from 10 commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
a7b3113
Add functions for testing if a file is a mydumper file
abdullah-kasim 9b4a143
Utilize wp search-replace if we're importing a mydumper file
abdullah-kasim 52cb749
Remove yauzl by reverting back to trunk's shrinkwrap.
abdullah-kasim 12874f8
Remove .zip file support.
abdullah-kasim fd67819
Consistency - wonder if we can turn this into an eslint rule
abdullah-kasim 20104e1
Merge branch 'trunk' into esp-72/mydumper-support
abdullah-kasim d683089
Throw an error if search-and-replace is used for mydumper
abdullah-kasim 6cf1100
Close streams once we're done using them to prevent hanging handles
abdullah-kasim b3f6f25
Switch to myloader if mydumper sqldump is detected
abdullah-kasim 4485a2f
Merge branch 'esp-72/mydumper-support' of github.com:Automattic/vip-c…
abdullah-kasim b4aab5b
Fix copy-paste fail
abdullah-kasim 893fdd6
readLine.close() doesn't generate an event, so we need to remove that…
abdullah-kasim fbc3cae
Fix myloader description
abdullah-kasim 39b9a85
Fix myloader errors by switching to root
abdullah-kasim bd1aaf1
Eliminate tight coupling by moving all exec calls to another file and…
abdullah-kasim 7d01388
Fix SQL validation for mydumper files
abdullah-kasim 062e29a
Fix searchReplace not working with a single search-replace
abdullah-kasim 35ae6a2
Add fixMyDumperTransform() so that we can use it to transform our myd…
abdullah-kasim 6d2b707
Oops, ignore line if there's no match.
abdullah-kasim 7f80865
Use a more concise regex
abdullah-kasim c07d6b5
Remove unused flags to simplify things a bit
abdullah-kasim b9d2d1d
Add mysqldump fixtures to hopefully make our testing easier
abdullah-kasim 6d7ae75
Add tests and remove as much mocking as possible so that we won't hav…
abdullah-kasim f9e717d
Merge branch 'trunk' into esp-72/mydumper-support
abdullah-kasim ec587ee
Rename fixture files to fit its purpose
abdullah-kasim 6b7b15a
Gunzip stream doesn't have the `.on('close')` event.
abdullah-kasim 4a01b34
Merge branch 'esp-72/mydumper-support' of github.com:Automattic/vip-c…
abdullah-kasim 55377bf
Add tracking where possible on the type of sqldump used
abdullah-kasim 68d2b25
Update src/lib/database.ts
sanmai a7416dc
Grab shrinkwrap from trunk to keep things consistent
abdullah-kasim d7792bc
Merge remote-tracking branch 'origin/esp-72/readability-refactor' int…
abdullah-kasim 83b3e1c
Remove wpSearchReplace again as we're not using it
abdullah-kasim 286feff
Merge branch 'trunk' into esp-72/mydumper-support
abdullah-kasim 62918e7
Merge branch 'trunk' into esp-72/mydumper-support
abdullah-kasim File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Extracted to a function to satisfy
eslint
complexity limit - which I totally agree with.