-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
4.9.1 requires git to install #824
Comments
Good caught! Just downgrade latest tag to 4.9.0. Will move the dependencies to npm in the next version. |
This is solved in #826. However, I'm also looking at refactoring out flexbuffer entirely. It's a real small package, and ioredis only uses an even smaller portion of it. |
A better approach may be to refactor usages of flexbuffer to use Buffer and related JS builtins directly. Especially if it's not used much. For example, https://github.com/luin/ioredis/blob/7736c1cf27af1cb991b95f592a5fbe89646facf6/lib/pipeline.ts#L306 appears to copy an entire Buffer just to write it back out. It may be possible to make stuff like this zero-copy by switching to using Buffers and/or TypedArrays directly (please correct me if I'm misunderstanding the code). |
If |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 7 days if no further activity occurs, but feel free to re-open a closed issue if needed. |
Still an important issue. Should not be closed until https://github.com/luin/ioredis/blob/master/package.json#L34 is changed. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 7 days if no further activity occurs, but feel free to re-open a closed issue if needed. |
This issue has already been solved with https://github.com/luin/ioredis/releases/tag/v4.9.2. Forgot to close this. |
Hello,
Commit 93ecd70 in release 4.9.1 adds
git
as a system dependency to successfully install the package.Without git installed users can expect this error:
This might break existing automated builds, in my case it was a Docker image that previously had no need for git to be installed.
The text was updated successfully, but these errors were encountered: