Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃毀 Implement new server commands from Redis 6 馃毀 #90

Merged
merged 9 commits into from
Jun 22, 2020

Conversation

Xirui
Copy link
Contributor

@Xirui Xirui commented Jun 15, 2020

Work in progress

Use @Terkwood's #86 as request template.

Adds support for Redis Server commands.
This change set will resolve #35 . 馃殺

Commands to implement

  • ACL CAT
  • ACL DELUSER
  • ACL GENPASS
  • ACL GETUSER
  • ACL HELP
  • ACL LIST
  • ACL LOAD
  • ACL LOG
  • ACL SAVE
  • ACL SETUSER
  • ACL USERS
  • ACL WHOAMI
  • MODULE LIST
  • MODULE LOAD
  • MODULE UNLOAD

Docs and sanity checks

Author will run each command and verify that argument names match the canonical names exposed by Redis. Minimal command form should be included in EACH doc string. Author will check each TS return type to make sure it matches server return type (Ideally these are encoded in the test). This isn't ideal since only exports trigger deno doc, but we want to have these methods documented nonetheless.

  • ACL CAT
  • ACL DELUSER
  • ACL GENPASS
  • ACL GETUSER
  • ACL HELP
  • ACL LIST
  • ACL LOAD
  • ACL LOG
  • ACL SAVE
  • ACL SETUSER
  • ACL USERS
  • ACL WHOAMI
  • MODULE LIST

Additional requirements

  • Create test suit

@Terkwood
Copy link
Contributor

This is good to see! 馃榿

@Xirui Xirui marked this pull request as ready for review June 17, 2020 01:43
redis.ts Outdated Show resolved Hide resolved
tests/acl_cmd_test.ts Show resolved Hide resolved
@uki00a uki00a requested a review from keroxp June 19, 2020 12:54
command.ts Outdated Show resolved Hide resolved
@uki00a uki00a added the enhancement New feature or request label Jun 21, 2020
@Xirui Xirui requested a review from uki00a June 22, 2020 03:14
@uki00a uki00a added CI start and removed CI start labels Jun 22, 2020
@uki00a
Copy link
Member

uki00a commented Jun 22, 2020

This is awesome work @Xirui!
Thanks for your contribution.

@uki00a uki00a merged commit 93e4fa1 into denodrivers:master Jun 22, 2020
@uki00a
Copy link
Member

uki00a commented Jun 22, 2020

Released in v0.10.4 馃帀

@Terkwood Terkwood mentioned this pull request Jun 26, 2020
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Server API
4 participants