You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-14Lines changed: 7 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
## Clients
4
4
5
-
All clients are listed under language specific subfolders of [clients](./clients)
5
+
All clients are listed under language specific sub-folders of [clients](./clients)
6
6
7
7
The path follows the pattern: ``clients/{language}/github.com/{owner}/{repository}.json``.
8
8
The ``{language}`` component of the path is the path-safe representation
@@ -65,23 +65,16 @@ Please use the following formatting rules (aiming for smaller diffs that are eas
65
65
66
66
## Checking your work
67
67
68
-
You should check your changes using Make:
68
+
After making changes to the documentation, you can use the [spellchecker-cli package](https://www.npmjs.com/package/spellchecker-cli) to validate your spelling as well as some minor grammatical errors. You can install the spellchecker locally by running:
69
69
70
+
```bash
71
+
npm install --global spellchecker-cli
70
72
```
71
-
$ make
72
-
```
73
-
74
-
This will make sure that JSON and Markdown files compile and that all
75
-
text files have no typos.
76
73
77
-
You need to install a few Ruby gems and [Aspell][aspell] to run these checks.
78
-
The gems are listed in the `.gems` file. Install them with the
79
-
following command:
74
+
You can than validate your spelling by running the following
Copy file name to clipboardExpand all lines: commands/acl-setuser.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,13 +29,13 @@ The root user permissions only allows executing the get command, but can be exec
29
29
The selector then grants a secondary set of permissions: access to the `SET` command to be executed on any key that starts with "app1".
30
30
Using multiple selectors allows you to grant permissions that are different depending on what keys are being accessed.
31
31
32
-
When we want to be sure to define an user from scratch, without caring if
32
+
When we want to be sure to define a user from scratch, without caring if
33
33
it had previously defined rules associated, we can use the special rule
34
34
`reset` as first rule, in order to flush all the other existing rules:
35
35
36
36
ACL SETUSER antirez reset [... other rules ...]
37
37
38
-
After resetting an user, it returns back to the status it has when it
38
+
After resetting a user, it returns back to the status it has when it
39
39
was just created: non active (off rule), can't execute any command, can't
40
40
access any key:
41
41
@@ -79,7 +79,7 @@ This is a list of all the supported Redis ACL rules:
79
79
*`on`: set the user as active, it will be possible to authenticate as this user using `AUTH <username> <password>`.
80
80
*`off`: set user as not active, it will be impossible to log as this user. Please note that if a user gets disabled (set to off) after there are connections already authenticated with such a user, the connections will continue to work as expected. To also kill the old connections you can use `CLIENT KILL` with the user option. An alternative is to delete the user with `ACL DELUSER`, that will result in all the connections authenticated as the deleted user to be disconnected.
81
81
*`nopass`: the user is set as a "no password" user. It means that it will be possible to authenticate as such user with any password. By default, the `default` special user is set as "nopass". The `nopass` rule will also reset all the configured passwords for the user.
82
-
*`>password`: Add the specified clear text password as an hashed password in the list of the users passwords. Every user can have many active passwords, so that password rotation will be simpler. The specified password is not stored as clear text inside the server. Example: `>mypassword`.
82
+
*`>password`: Add the specified clear text password as a hashed password in the list of the users passwords. Every user can have many active passwords, so that password rotation will be simpler. The specified password is not stored as clear text inside the server. Example: `>mypassword`.
83
83
*`#<hashedpassword>`: Add the specified hashed password to the list of user passwords. A Redis hashed password is hashed with SHA256 and translated into a hexadecimal string. Example: `#c3ab8ff13720e8ad9047dd39466b3c8974e592c2fa383d4a3960714caef0c4f2`.
84
84
*`<password`: Like `>password` but removes the password instead of adding it.
85
85
*`!<hashedpassword>`: Like `#<hashedpassword>` but removes the password instead of adding it.
Copy file name to clipboardExpand all lines: commands/bgrewriteaof.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ process doing persistence.
11
11
12
12
Specifically:
13
13
14
-
* If a Redis child is creating a snapshot on disk, the AOF rewrite is _scheduled_ but not started until the saving child producing the RDB file terminates. In this case the `BGREWRITEAOF` will still return an positive status reply, but with an appropriate message. You can check if an AOF rewrite is scheduled looking at the `INFO` command as of Redis 2.6 or successive versions.
14
+
* If a Redis child is creating a snapshot on disk, the AOF rewrite is _scheduled_ but not started until the saving child producing the RDB file terminates. In this case the `BGREWRITEAOF` will still return a positive status reply, but with an appropriate message. You can check if an AOF rewrite is scheduled looking at the `INFO` command as of Redis 2.6 or successive versions.
15
15
* If an AOF rewrite is already in progress the command returns an error and no
16
16
AOF rewrite will be scheduled for a later time.
17
17
* If the AOF rewrite could start, but the attempt at starting it fails (for instance because of an error in creating the child process), an error is returned to the caller.
Copy file name to clipboardExpand all lines: commands/bitfield.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
-
The command treats a Redis string as a array of bits, and is capable of addressing specific integer fields of varying bit widths and arbitrary non (necessary) aligned offset. In practical terms using this command you can set, for example, a signed 5 bits integer at bit offset 1234 to a specific value, retrieve a 31 bit unsigned integer from offset 4567. Similarly the command handles increments and decrements of the specified integers, providing guaranteed and well specified overflow and underflow behavior that the user can configure.
1
+
The command treats a Redis string as an array of bits, and is capable of addressing specific integer fields of varying bit widths and arbitrary non (necessary) aligned offset. In practical terms using this command you can set, for example, a signed 5 bits integer at bit offset 1234 to a specific value, retrieve a 31 bit unsigned integer from offset 4567. Similarly the command handles increments and decrements of the specified integers, providing guaranteed and well specified overflow and underflow behavior that the user can configure.
2
2
3
3
`BITFIELD` is able to operate with multiple bit fields in the same command call. It takes a list of operations to perform, and returns an array of replies, where each array matches the corresponding operation in the list of arguments.
4
4
5
-
For example the following command increments an 5 bit signed integer at bit offset 100, and gets the value of the 4 bit unsigned integer at bit offset 0:
5
+
For example the following command increments a 5 bit signed integer at bit offset 100, and gets the value of the 4 bit unsigned integer at bit offset 0:
0 commit comments