-
Notifications
You must be signed in to change notification settings - Fork 0
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
Support import gzip json file #1
base: master
Are you sure you want to change the base?
Conversation
…d in the source code
) | ||
->addOption( | ||
'gzip', | ||
null, |
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.
You can use z
shortcut, it should be available. When we were discussing about shortcuts with multiple letters, the problem was that one of the letter was reserved, that's why there was a mistake with multiple. Since z
is free it could be added. btw z
in most of the unix commands means compressing.
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.
Got it. Thanks @saimaz .
Firstly, I did, I named it 'dataType', it could be XML, GZIP or any format. Then I thought 'isGzip' could reflect directly our expectation. For further extension, I think 'dataType' is OK. |
@mvar, this branch is based on the newest master in my repo. I still wait for the reviewing the issue ongr-io#535, then I will merge and then create new PR for this issue. |
I also think that all options (should we call it |
So now, there are many names: 'options', 'context', 'params' ... for options array. |
Maybe function should look loke this: protected function getReader($manager, $filename, $convertDocuments, $options) |
OK, thks @saimaz |
I complemented this case with the param 'options'. Could you please review again these changes before I merge and create a new PR to ongr-io repo?@saimaz |
No description provided.