-
Notifications
You must be signed in to change notification settings - Fork 152
rename to segment #82
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
Conversation
|
Like #43 but I ran the tests. |
119984f to
86a2d46
Compare
86a2d46 to
f18561d
Compare
|
Is there any way we can give users the option of both |
|
Yes, look at the magic I used in sqlalchemy-redshift when renaming from redshift-sqlalchemy: |
|
That's neat! Will this interfere with other packages that are named |
|
Yes. That's why you should get rid of it after a few versions On 4 Nov 2016 08:48, "Prateek Srivastava" notifications@github.com wrote:
|
|
I see, it's not great that we'll have to remove it eventually. I'd love to to come up with a long term solution where people could use |
|
lets say I hand the package You can then depend on it from analytics-python and put a module like https://github.com/sqlalchemy-redshift/sqlalchemy-redshift/blob/master/redshift_sqlalchemy/__init__.py in it. |
|
this way anyone using |
|
Any update on this? Like @graingert said above, you can just push a final notice to the analytics-python package that segment is the new name for the package and the import, then stop maintaining that pypi package. Nobody will be very concerned that you would be deprecating the old name. Just update your docs and it's fine. |
|
For the time being, there are no plans to deprecate the current name - unfortunately, there are absolutely customers who will notice such a breaking change. |
|
Also to add, as I mentioned previously in #82 (comment); if there's a solution to continue to use |
|
Your customers who would notice would have updated documentation right in front of them next time they need to update. What about the rest of us customers who have to resort to hacks to try to implement your library because of the naming conflict? I'm on a fork because I can't use this library directly due to the extremely common name. |
|
If you can suggest a solution with the requirements I mentioned in #82 (comment), we'd be happy to consider it. Making breaking API changes (even with updated docs) or maintaining two versions of the library are not realistic at the moment. I agree it's a downside for new customers who run into this issue, but we have existing customers to think about too. |
|
Just release a semver major change
…On 31 Oct 2017 21:32, "Prateek Srivastava" ***@***.***> wrote:
If you can suggest a solution with the requirements I mentioned in #82
(comment)
<#82 (comment)>,
we'd be happy to consider it.
Making breaking API changes (even with updated docs) or maintaining two
versions of the library are not realistic at the moment. I agree it's a
downside for new customers, but we have existing customers to think about
too.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#82 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAZQTLdm92ONFnI4wIXvz9TyJNdzOeLmks5sx5HpgaJpZM4Jc5CZ>
.
|
|
It's not really possible to release them like that because the name of the directory inside is what determines the module name to import. It's weird to me that across all of the Segment SDKs, they're all named Analytics or some similar variation of it instead of Segment. That's not normal in any of the languages you guys have an SDK for, and ends up being confusing. |
|
You don't need to sign up for segment to use the client side libraries, they can be used with the embedded tools directly. Hence they were named more generically "analytics", though I can see why it makes less sense for the server side libraries. It's also not really a problem in most other languages, most others are under com.segment.analytics or something similar. There are other libraries that are examples of this as well - https://github.com/orta/ARAnalytics and https://github.com/jkrall/analytical are two examples that come to my mind. |
No description provided.