-
Notifications
You must be signed in to change notification settings - Fork 183
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
[PROPOSAL] Merge opensearch-dsl-py into this repository #194
Comments
@saimedhi can you take a look? |
I will work on it. |
These are steps I am thinking to follow. Correct me if these are not feasible.
|
I think Step 5 can be deleted, as running the tests will always matter for the build. |
@wbeckler can you please give your thoughts about the alternate method mentioned above. As in opensearch-ruby, can we setup completely different folder for opensearch-dsl-py in opensearch-py repo which has its own readme, changelog, etc. |
@opensearch-project/clients can everyone please give your inputs. |
Final approach that I am thinking to follow is:
Before: |
This is a good plan. I agree that opensearch-dsl-py should simply get absorbed into opensearch-py and disappear as a thing. |
kindly let me know If any of the following steps is incorrect or not as expected.
|
We'll need a version increment, major or not? |
I am not sure. @wbeckler can you please tell what do you think. |
@saimedhi we aren't changing the import structure for the current opensearch-py library right? Just adding the DSL so it can be imported something like |
If there's a backwards incompatible change it's a major version (e.g. 3.0), otherwise it's a minor (e.g. 2.3) version bump. |
@dtaivpp yes, as of now the idea is to have seperate folder for dsl in opensearchpy |
@dblock I think we are saying the same thing. Seems this will all be adding a new module that shouldn’t break backwards compatibility so probably a minor version. |
What are you proposing?
Merge the opensearch-dsl-py repo here as an additional package. Users would be able to import both the dsl libraries and the python-client since dsl functions always require importing the python client.
How did you come up with this proposal?
Currently the ruby client has multiple gems that are published independently of each other while living in the same repository.
What is the user experience going to be?
The user experience would be unchanged from how it is today, however it will make developer experience much better. Maintainers will have to release one less client as both the dsl libraries and the python client can be released together.
Why should it be built? Any reason not to?
Can't think of any.
What will it take to execute?
Porting over the client here should be fairly straightforward. It is unclear at this time what it takes to merge the source here and how new releases will happen.
What are remaining open questions?
The text was updated successfully, but these errors were encountered: