Repository navigation
Conversation
This PR does the bulk of renaming: * Remove "redis" in CLI prompt "redis 127.0.0.1:6379>" * Change "Redis" to "Valkey" using Perl regex `Redis(?! compatibility| v?[1-7]| version| < [1-7]| OSS|\.[a-z]|\w)` * Replace filenames redis(-cli|-server|-benchmark|.conf) with valkey equivalents * Replace /etc/redis and /var/redis with valkey equivalent paths * "redis_6379" -> "valkey_6379" Part of #18 --------- Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech> Imported-from: valkey-io/valkey-doc@f4c80f2 Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Add missing lib-name and lib-version to `CLIENT LIST`. Signed-off-by: Chen Tianjie <TJ_Chen@outlook.com> Imported-from: valkey-io/valkey-doc@c9337c1 Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Replace "Redis" with "Valkey" where appropriate. No other changes seem to be necessay in this directory. Part of #18. --------- Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech> Imported-from: valkey-io/valkey-doc@d9d07b1 Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Commands used: ``` git grep-replace -P '^redis 127.0.0.1:6379>' '127.0.0.1:6379>' git grep-replace -F 'https://redis.io/topics/' 'https://valkey.io/topics/' git grep-replace -P 'redis(?=\.call|\.pcall|\.regis|\.set_repl)' server git grep-replace -F 'non-clustered Redis version' 'non-clustered Valkey deployment' git grep-replace -P 'Redis(?= compatibility| v?[2-7]| version| < [2-7])' 'Redis OSS' git grep-replace -P 'Redis(?! compatibility| v?[2-7]| version| < [2-7]| OSS|\.[a-z]|\w)' Valkey git grep-replace -P 'redis(?=-cli|-server|-benchmark|.conf)' valkey ``` One per commit. References to old Redis versions are kept as "Redis OSS". We can go through them later. Changes to `docs/reference/modules/modules-api-ref.md` can be ignored since it's generated from module.c in the code repo, but OTOH it doesn't harm to apply the changes to this too, and overwrite it later. --------- Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech> Imported-from: valkey-io/valkey-doc@4971445 Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Replace Redis with Valkey under docs/get-started/. ``` git grep-replace -P 'Redis(?! compatibility| v?[1-7]| version| < [1-7]| OSS|\.[a-z]|\w)' Valkey git grep-replace -P 'redis(?=-cli|-server|-benchmark|.conf)' valkey ``` Plus some manual editing regarding FAQ about Redis name and history. Part of #18. --------- Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech> Imported-from: valkey-io/valkey-doc@9be51b2 Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
All files under docs/management/ Replaces "Redis" with "Valkey". Replaces filenames: redis-cli, redis-server, redis-benchmarks, redis.conf. Removes references to old Redis versions and rewrites sentences where necessary. Details per commit message. --------- Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech> Imported-from: valkey-io/valkey-doc@70bbdc9 Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Here is an attempt to writing some new information about Valkey. Some other "about" pages were deleted and any relevant historic information is included in the new "history" page. --------- Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech> Co-authored-by: Madelyn Olson <madelyneolson@gmail.com> Imported-from: valkey-io/valkey-doc@0be7e71 Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
These files contain no text or just one line. I've checked that there are no links to them. We'll move files to `/topics/*.md` later and these index files per directory will not be needed. --------- Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech> Imported-from: valkey-io/valkey-doc@ff5517f Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Fix docs for valkey-io#357 Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech> Imported-from: valkey-io/valkey-doc@898b42f Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Manual changes to make sense of the document. Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech> Imported-from: valkey-io/valkey-doc@a3f9046 Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
This massive change restores the `topics/page.md` structure of the doc repo, as it was a few years ago. This is done using a script that is shared in the PR in a comment. This is what it does: 1. The "aliases" metadata field in each markdown file is used to find the original "topics" filename. This is attempted for all files in the repo with a metadata section. 2. For files that don't have a "topics/" alias, pick a topics name for it, like this: * Do this only for files under "docs/". * If the file path matches "..../NAME/_index.md", the new name is "topics/NAME.md" * Otherwise, the file path matches "..../NAME" and then the new name is "topics/NAME". (This case covers png files and other non-markdown files too.) * If the filename includes 'redis', this is replaced by 'valkey'. Examples: `docs/getting-started/installation/install-redis-from-source.md` -> `topics/install-valkey-from-source.md` * (Special case: If the target file name ends up "topics.md", use "topics/index.md" instead.) 3. Rename the files to the new names. Commit the the renames. 4. Update all links to files (renamed and not renamed), using all aliases discovered using all files with a metadata section. * The links are changed to relative links including the `.md` suffix. This makes it possible to click around in the github web interface. It's also good in other situations. For example, users can deploy the docs (simply .md -> .html) and don't need to deploy the docs in the root directory. * Examples: * Change link: /docs/reference/cluster-spec => cluster-spec.md (in topics/protocol.md) * Change link: /topics/acl => ../topics/acl.md (in commands/auth.md) Additional changes: * Fix broken link in cluster tutorial * Remove some stub files with no real content (commands/_index.md, resources/_index.md) Fixes #30 --------- Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech> Imported-from: valkey-io/valkey-doc@baffe05 Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Fixes #18 Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech> Imported-from: valkey-io/valkey-doc@4c00bbb Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
I did not just globally search and replace everything but only updated docs that are relevant. If you see a mistake, please point it out and I will fix it. --------- Signed-off-by: Dmitry Polyakovsky <dmitry.polyakovky@oracle.com> Co-authored-by: Dmitry Polyakovsky <dmitry.polyakovky@oracle.com> Imported-from: valkey-io/valkey-doc@e2de3a4 Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
The various pages (install for mac os, window, etc.) with very little content and much duplicated information are merged into one. Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech> Imported-from: valkey-io/valkey-doc@93dcad4 Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
* Rebranding * Remove references to Redis corporate stuff * Remove references to very old Redis versions * Fix external links: change "http:" to "https:" where possible * Fix some internal links * Delete unused files * Correction of the prompt in valkey-cli examples --------- Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech> Imported-from: valkey-io/valkey-doc@7b78e3f Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
If i don't look closely the explanation in client-side-caching, I think the Database term is ambiguous. Because it can be thought of as the entire database, it would be better to specify it as a valkey. --------- Signed-off-by: NAM UK KIM <namuk2004@naver.com> Imported-from: valkey-io/valkey-doc@6842a46 Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
A starting point and overview of all the docs. Useful as a man page stating poing too. Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech> Imported-from: valkey-io/valkey-doc@88bb50a Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
For man pages, the idea is to prefix the topics pages with "valkey-". The pages cli.md, benchmark.md, etc. then become the man pages for the programs valkey-cli, valkey-benchmark, etc. Some additional cleanup is included. Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech> Imported-from: valkey-io/valkey-doc@2050e2e Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech> Imported-from: valkey-io/valkey-doc@2cef38c Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Replace non-markdown code blocks like
{{< clients-example stream_tutorial xgroup_create >}}
> XGROUP CREATE race:france france_riders $
OK
{{< /clients-example >}}
with
```valkey-cli
127.0.0.1:6379> XGROUP CREATE race:france france_riders $
OK
```
Apart from changing the delimiters, the prompt is replaced with
`127.0.0.1:6379>` which is what valkey-cli display by default.
Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech>
Imported-from: valkey-io/valkey-doc@7014b93
Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Replace code blocks without replies, such as ...
```cli
EXISTS mykey
APPEND mykey "Hello"
APPEND mykey " World"
GET mykey
```
... with proper valkey-cli sessions including prompt and reply, like
this:
```valkey-cli
127.0.0.1:6379> EXISTS mykey
(integer) 0
127.0.0.1:6379> APPEND mykey "Hello"
(integer) 5
127.0.0.1:6379> APPEND mykey " World"
(integer) 11
127.0.0.1:6379> GET mykey
"Hello World"
```
This was automated with a script actually running `valkey-cli` for each
command with `flushall` between the examples to make sure each example
starts clean.
**Additionally:** Replace `@examples` with a proper markdown heading `##
Examples`.
---------
Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech>
Imported-from: valkey-io/valkey-doc@c3a2f33
Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
This is to match what is normal for man pages for configs. `man valkey.conf` would be the typical man page our config. Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech> Imported-from: valkey-io/valkey-doc@c608689 Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Fix the The self documented valkey.conf for Valkey OSS 7.2 link error Signed-off-by: hwware <wen.hui.ware@gmail.com> Imported-from: valkey-io/valkey-doc@c1ec9e3 Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Signed-off-by: Marco Inacio <m@marcoinacio.com> Imported-from: valkey-io/valkey-doc@31c517a Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
After validation, I discovered these internal links that were either broken links, absolute paths or missing the .md suffix. All internal links are now relative with the actual filename, .md for most of them. There are some links to the directories `commands/`, `clients/` and `modules/`. These pages (index.html) should be generated when deploying. --------- Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech> Imported-from: valkey-io/valkey-doc@500dfe6 Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Corresponding doc PR to valkey-io#327. * `tot-net-in`: Total network input bytes read from this client. Added in Valkey 8.0 * `tot-net-out`: Total network output bytes sent to this client. Added in Valkey 8.0 * `tot-cmds`: Total count of commands this client executed. Added in Valkey 8.0 --------- Signed-off-by: Chen Tianjie <TJ_Chen@outlook.com> Imported-from: valkey-io/valkey-doc@569152c Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Doc PR for valkey-io#324 Signed-off-by: Chen Tianjie <TJ_Chen@outlook.com> Imported-from: valkey-io/valkey-doc@cd328a5 Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Should return `(integer) 2`, rather than `OK`. Signed-off-by: Chen Tianjie <TJ_Chen@outlook.com> Imported-from: valkey-io/valkey-doc@9b19dfc Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Fixes four links like [name]() which are invalid. The link target were lost in previous automatic changes. Rename data-store.md to quickstart.md (it's original filename) A few minor corrections. Fixes #87 --------- Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech> Imported-from: valkey-io/valkey-doc@94f8706 Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
A Makefile provides 'make' and 'make install' to generate and install
man pages.
Man pages are built for the binaries (valkey-cli, etc. prefixed by
"valkey-", section 1), Config (valkey.conf, section 4), Valkey
commands (section 3valkey), documentation overview page
("valkey", section 7) and tutorials and everything else (prefixed
by "valkey-", section 7).
Scripts in Python are used for preprocessing and pandoc is used to
convert markdown to man pages, stored under utils/.
A target 'make html' is also provided, to build HTML pages to use
locally. This is also using pandoc.
The documentation pages for `valkey-cli`, `valkey-benchmark` and
`valkey-sentinel` are expanded with usage and options to match what's
expected from a man page for a program. A page for `valkey-server` is
added. (We didn't have one.)
README.md is update with info on how to build and install man pages.
Other info regarding the doc repo is slightly updated.
Additionally some unrelated smaller changes.
Fixes #69.
---------
Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech>
Co-authored-by: Björn Svensson <bjorn.a.svensson@est.tech>
Co-authored-by: Madelyn Olson <madelyneolson@gmail.com>
Imported-from: valkey-io/valkey-doc@5f279b9
Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
This PR updates the ASM topic with ACL requirements from the following blog post: valkey-io/valkey-io.github.io#636 written by @hieu2102 It includes explanations on the normal replication ACL behaviour, why ASM differs, what is the required ACL, slight component explanations, that ordering matters and a real failure message. --------- Signed-off-by: Dragos Andriciuc <andriciucdragos@protonmail.com> Imported-from: valkey-io/valkey-doc@5e6ab07 Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Address issue: valkey-io/valkey-doc#525 (comment) Add documentation for the replication throttling feature introduced in valkey-io#4356. --------- Signed-off-by: harrylin98 <harrylin980107@gmail.com> Signed-off-by: Harry Lin <49881386+harrylin98@users.noreply.github.com> Co-authored-by: Jim Brunner <brunnerj@amazon.com> Imported-from: valkey-io/valkey-doc@1efadbd Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Update topics/eval-intro.md and commands/script-load.md to describe the EVAL script cache limits (500 scripts LRU since 8.0, and maxmemory-scripts since 9.2) and the DENYOOM behavior of SCRIPT LOAD. Closes valkey-io#527 Signed-off-by: Binbin <binloveplay1314@qq.com> Imported-from: valkey-io/valkey-doc@0804ed6 Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
> **Draft: do not merge yet.** This PR depends on two other changes. See [Dependencies and merge order](#dependencies-and-merge-order). ## Summary Add documentation for the [valkey-large-object](https://github.com/valkey-io/valkey-large-object) module. The module stores large binary values, for example ML KV-cache blocks, tensors and file blobs, in DRAM or in DRAM plus local NVMe disk, with optional RDMA transfers to and from client memory. - **Command reference:** one page for each of the six `BLOB.*` commands (`BLOB.TCP_SET`, `BLOB.TCP_GET`, `BLOB.RDMA_HELLO`, `BLOB.RDMA_SET`, `BLOB.RDMA_GET`, `BLOB.INFO`), each with a `## Reply` section in the style of valkey-io#518, in a new "Large object" command group (`groups.json`). - **Topic section**, in the same pattern as the Valkey Search pages: - `topics/large-object.md`: overview, key concepts, limitations, security - `topics/large-object-getting-started.md`: requirements, build, load, first commands, troubleshooting - `topics/large-object-use-cases.md`: use cases and examples - `topics/large-object-rdma.md`: RDMA transfers, and how they differ from Valkey RDMA connections - `topics/large-object-configuration.md`: configuration, eviction, ACL, INFO fields - **Site integration:** `modules.json` and `modules-nav/valkey-large-object.yml` entries, links from `data-types.md`, `quickstart.md` and `RDMA.md`, `wordlist` additions, and the Makefile, README and man-page workflow changes to build the module's man pages when `VALKEY_LARGE_OBJECT_ROOT` is set (the same way as the other modules). - **Version note:** `modules.json` has a `version_notice` text for the module: "valkey-large-object is at version 0.x. Commands, arguments, replies, and configuration can change before version 1.0." The topic pages show it, and the website change shows it at the top of each `BLOB.*` command page. ## Dependencies and merge order 1. **valkey-io/valkey-large-object#197** adds the command metadata (`src/commands/blob.*.json`). The website and the man-page build read the command title, usage, arguments, ACL categories and "Since module version" from these files. 2. **valkey-io/valkey-io.github.io#764**, the valkey.io website change: adds the module's command JSON directory to the build, the module row and the version note on the command pages, and the "Large object" docs menu section. 3. **This PR.** A merge to `main` here starts a site deploy. If this PR merges before 1 and 2 are live, the new command pages show "ERROR. Command JSON Not loaded." ## Testing - `spellchecker` with the repository configuration: clean. - `utils/check-links.pl`: no broken links (the existing orphan `topics/search-monitoring.md` is not part of this PR). - The pages were built locally with the valkey.io site and the website change, with Zola 0.23.6: the command index group, the six command pages, the version note, the docs menu section and the topic pages render, with no broken internal links or anchors. - The example transcripts were run against a live Valkey server with the module loaded. - The man-page `make` was not run locally (no pandoc). Signed-off-by: Kevin McGehee <mcgehee@amazon.com> Imported-from: valkey-io/valkey-doc@2c536f0 Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Part of valkey-io#528. Documents the cluster bus I/O offload counters added to `CLUSTER INFO` in Valkey 9.2 (valkey-io#3438): - `cluster_io_threaded_reads_processed`: cluster bus reads completed by the I/O threads. - `cluster_io_threaded_writes_processed`: cluster bus writes completed by the I/O threads. - `cluster_io_threaded_accepts_processed`: inbound cluster bus TLS accepts completed by the I/O threads. Outbound TLS handshakes are not offloaded. - `cluster_io_main_thread_fallbacks`: operations run on the main thread because no I/O threads were active or the job queue was full. Since I/O threads activate only under load, most cluster bus I/O on a lightly loaded node is expected to land here. The fields are always present in the reply, so they are added to the example output and the always-present field list. Signed-off-by: Harkrishn Patro <h_patro@apple.com> Imported-from: valkey-io/valkey-doc@85b2827 Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Document the `AUTH username password` option added to `CLUSTER MIGRATESLOTS` in Valkey 9.2.0, including the default username and fallback to configured credentials. Addresses the CLUSTER MIGRATESLOTS item in valkey-io#530. Implementation: valkey-io#3538. Validation: `./utils/check-links.pl` (no broken links) and `git diff --check`. --------- Signed-off-by: Vasily Nemtsov <13330571+nemtsv@users.noreply.github.com> Signed-off-by: Madelyn Olson <madelyneolson@gmail.com> Co-authored-by: Madelyn Olson <madelyneolson@gmail.com> Imported-from: valkey-io/valkey-doc@88a8630 Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Depends on valkey-io#3717 Signed-off-by: Petr Khartskhaev <pkhartsk@redhat.com> Approved and merged. Imported-from: valkey-io/valkey-doc@9c04021 Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Documents the `IFEQ`, `IFNE`, `NX` and `XX` conditions added to `EXEC` in valkey-io#4019, in `commands/exec.md` and `topics/transactions.md`. Covers the syntax, the Null reply when a condition doesn't match, the `EXECABORT` errors, and how conditions combine with `WATCH`. Closes valkey-io#524 --------- Signed-off-by: Su Ko <rhtn1128@gmail.com> Imported-from: valkey-io/valkey-doc@df7de89 Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
…y-io#562) valkey-io#5340 removed `hotkeys_last_window_samples` and `hotkeys_last_window_duration_ms`, and with them the whole `# Hotkeys` INFO section, on the grounds that neither field told an operator anything actionable when HOTKEYS GET is already the output. The fields only ever shipped in the 9.2 release candidates. Removes the hotkeys section from commands/info.md and its entry from that page's section list, and the topic's Monitoring section, which existed only to point at those fields. HOTKEYS GET's qps description cited the duration field as the span it divides by. That span is still the window's measured duration — hotkeysGetCommand still reads spaceSavingManagerFrozenDurationUs — it is simply no longer observable through INFO, so the sentence now states the fact without the citation. Signed-off-by: Alon Arenberg <alonare@amazon.com> Imported-from: valkey-io/valkey-doc@39a17bf Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
…-io#561) valkey-io/valkey-io.github.io#742 replaces the old /docs/ landing menu with the topics index, and that menu was the only docs link to Valkey Admin. This adds it to the topics index under Core Management, next to valkey-cli, with the description the old menu used. This was generated by AI but verified, with love, by a human. Signed-off-by: Madelyn Olson <madelyneolson@gmail.com> Imported-from: valkey-io/valkey-doc@e12b22e Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
…o#485) Fixes valkey-io#484 Fix non-idiomatic grammar in the cluster reshard automation note: - before: "This allows to build some automatism" - after: "This allows you to build some automatism" Docs-only, one-line change. Signed-off-by: mrchatam <mrchatam@users.noreply.github.com> Co-authored-by: mrchatam <mrchatam@users.noreply.github.com> Imported-from: valkey-io/valkey-doc@f0e172c Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Add a documentation page covering forkless operations --------- Signed-off-by: Nitai Caro <caronita@amazon.com> Co-authored-by: Nitai Caro <caronita@amazon.com> Imported-from: valkey-io/valkey-doc@566206a Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
…io#563) To be merged after valkey-io#5461 Signed-off-by: Nitai Caro <caronita@amazon.com> Co-authored-by: Nitai Caro <caronita@amazon.com> Imported-from: valkey-io/valkey-doc@a421273 Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Fixes valkey-io#523 In the command.md, covers: - Basic description of the command - Options - Response - Examples - Patterns Also modified, notifications.md as INCREX will send incrby and incrbyfloat notifications. --------- Signed-off-by: Gavin D'mello <dmellogavin5000@gmail.com> Signed-off-by: Madelyn Olson <madelyneolson@gmail.com> Co-authored-by: Madelyn Olson <madelyneolson@gmail.com> Imported-from: valkey-io/valkey-doc@3bc9b0e Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
This PR updates documentation for version `9.2.0`. ## Changes - Updated VERSION and DATE in Makefile - Ran the ruby script to extract module API docs - Updated the List of supported versions in the doc repo - Added new valkey.conf link This pull request is created automatically by the [Valkey-Release-Automation](https://github.com/valkey-io/valkey-release-automation) --------- Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Signed-off-by: Sarthak Aggarwal <sarthagg@amazon.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Sarthak Aggarwal <sarthagg@amazon.com> Imported-from: valkey-io/valkey-doc@ecb8ddf Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Add documentation for the new CONFIG INFO subcommand introduced in valkey-io#3050. Describes the command's usage, response format, supported types (bool, numeric, string, enum, special), flags, alias handling, and use cases. --------- Signed-off-by: Nitai Caro <caronita@amazon.com> Co-authored-by: Nitai Caro <caronita@amazon.com> Imported-from: valkey-io/valkey-doc@f594208 Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Fixes places where the docs describe behavior the server doesn't have. Checked against valkey-io/valkey `unstable` @ 6c11c7f and on a local server. - transactions: a partial MULTI/EXEC at the end of the AOF doesn't always stop the server. with `aof-load-truncated yes` (the default) it reverts the transaction, truncates the AOF and starts, it only exits with `no` - CLIENT PAUSE: both `ALL` and `WRITE` stop propagation to replicas. replica connections aren't paused and still get PINGs, so "interactions with replicas will continue normally" and "WRITE will stop all replication traffic" are both replaced - clients: the query buffer limit is `client-query-buffer-limit` (1 GB default, can be changed at runtime). since 8.0 a client that hasn't authenticated is capped at 1 MB regardless of the setting when auth is required - MONITOR: AUTH isn't excluded, AUTH and HELLO show up with their credentials as `"(redacted)"`. also removed "QUIT is also not logged" since QUIT does show up - HELLO: `server`/`version` are "valkey" and the Valkey version starting with 8.0, and "redis"/"7.2.4" only with `extended-redis-compatibility yes`. 7.2 still reports "redis". examples now show `valkey` / `9.2.0` --------- Signed-off-by: Dante Knowles <xdk@amazon.com> Imported-from: valkey-io/valkey-doc@d82b1b6 Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
…#537) Regenerated `topics/modules-api-ref.md` from valkey `unstable` with `utils/generate-module-api-doc.rb`. Also adds `used_memory_module_external` to the debug section of `commands/info.md` Closes valkey-io#529 Signed-off-by: Su Ko <rhtn1128@gmail.com> Imported-from: valkey-io/valkey-doc@db59d55 Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Fixes valkey-io#564 This PR updates command man-page examples so they match the output of a current unstable build. The documented outputs were verified by building Valkey unstable (commit `3fc96b1f5f361901607a3d65d851b61fd4f5754f`) and replaying every example from these pages against a live server. Changes: 1. **`commands/hgetex.md`** — repair the malformed prompt `27.0.0.1:6379>` → `127.0.0.1:6379>`. 2. **`commands/hgetdel.md`** — the example passes `FIELDS 3` with two fields; the server answers `(error) ERR numfields should be greater than 0 and match the provided number of fields`, not `(error) ERR syntax error`. 3. **`commands/acl-log.md`** — update the stale `WRONGPASS` error text (`acl.c` now appends `or user is disabled.`); restore the full `127.0.0.1:6379> ` prompt for `ACL LOG 1`; refresh the `client-info` entry with the fields the server now emits (`capa=`, `watch=`, `lib-name=`, `lib-ver=`, `tot-net-in=`, `tot-net-out=`, `tot-cmds=`). 4. **`commands/acl-dryrun.md`** — render the simple-status replies of `ACL SETUSER` and `ACL DRYRUN` as unquoted `OK`, consistent with `acl-digest.md`, `acl-getrole.md`, `acl-delrole.md`, and `acl-setuser.md`. The bulk-string denial reply remains quoted. 5. **`commands/acl-getuser.md`** — same unquoted `OK` fix. 6. **`commands/client-info.md`** — append the `tot-net-in=`, `tot-net-out=`, `tot-cmds=` fields to the example. 7. **`commands/command-count.md`** — update the example count from `241` to `274`. Illustrative but version-independent values in the examples (ports, ids, timestamps) were left untouched on purpose. Signed-off-by: ZYboshi <2389083403@qq.com> Imported-from: valkey-io/valkey-doc@7c5512a Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
The documentation imported from valkey-doc is CC-BY-SA-4.0 (valkey-doc LICENSE and COPYRIGHT). Add the license text and a REUSE.toml annotation for docs/**. The last matching annotation wins, so docs/ no longer resolves to the repo-wide BSD-3-Clause annotation. precedence = override ignores copyright lines quoted inside doc text, such as the CRC16 sample in docs/topics/cluster-spec.md. Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Module topics now live in the module repositories, and modules-api-ref is generated by the website from src/module.c. Relative links to them from core topics would break when browsing docs/ on GitHub, so point them at https://valkey.io/topics/<name>/ instead. Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
The clients page stays in valkey-doc, so ../clients/ no longer resolves when browsing docs/topics/ on GitHub. Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Command and topic pages now live in docs/, so contributor guides, the issue template, review instructions and the systemd units should stop sending people to valkey-doc. Man pages are still built from valkey-doc. The vendored deps/libvalkey reference is left as is. Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
The repo-wide typos check fails on the imported docs: 23 hits, some false positives (oll, fo, AKE) and some real typos. Port valkey-doc's spellchecker-cli check and its wordlist, which pass on the docs as imported, and exclude docs/ and the wordlist from typos. The wordlist comes from valkey-doc, so it is CC-BY-SA-4.0 like docs/. Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
valkey.io is built from docs/ and src/commands/ on unstable. Send the same repository_dispatch that valkey-doc sends today, using the Valkeyrie bot app token on valkey-io and DEPLOY_ACCESS_TOKEN elsewhere. Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
The heavy workflows already ignore **/*.md. docs/ also holds images, nav.yml and groups.json, so ignore docs/** too. The only required status check on unstable is DCO, so skipped workflows cannot leave a required check pending. Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
valkey-doc's README described the link conventions, the reply section, the menu and the styling rules for commands/ and topics/. Those files are here now, and the valkey-doc PR that deletes them drops the guide, so keep it next to the docs, adapted to the new paths. Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
8 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This replaces #234 with the same final tree, but keeps valkey-doc's history since it forked from redis/redis-doc: a snapshot of the pages at the fork, 255 valkey-doc commits with their original authors and dates, then the 8 follow-up commits from 234. It has to land as a rebase, not a squash, which would collapse the history into one commit. That is blocked as one PR: GitHub refuses "Rebase and merge" above 100 commits and this has 264, so a maintainer has to pick a landing path (decision 1 below). The DCO check fails on 42 imported commits whose author sign-off is missing or uses another email, so a maintainer has to bypass it either way.
AI generated details
Supersedes #234. Epic: #233. Spec: valkey-io#4940.
Decisions
docs/...tree flattened intotopics/, then renames such as encryption.md to tls.md). Every historical name is written at the page's final path, so the snapshot already hasdocs/topics/acl.mdandgit logworks without--follow. Proposal: keep. The alternative replays the renames and puts redis-doc'sdocs/management/...tree underdocs/docs/for a while. 74 renames were followed (git diff-tree -M); the weakest match is R054 topics/encryption.md to topics/tls.md, a real rename.Counts
The final tree is byte-identical to 234's head (empty
git diff --statbelow), so the website and man page integration builds done against 234 carry over unchanged. 234 stays open until the landing path is settled.Lines blamed on the snapshot predate the fork; their history is in valkey-io/valkey-doc.
Fork point
B = valkey-io/valkey-doc@7dbeb33, the last redis-doc commit (valkey-io#2686). Its child is valkey-doc's first own PR (#3), which redis/redis-doc doesn't have:
How the history was built
Each valkey-doc commit in 7dbeb33c..7c5512ae that touches these pages, filtered to them and written under docs/ (modules-nav/.yml and nav.yml become docs/nav.yml, groups.json becomes docs/groups.json). Original author, email, date and message are kept, with two trailers appended:
Imported-from: valkey-io/valkey-doc@<sha>and Madelyn's sign-off for passing it on. Commits left empty are dropped. Script: plain git plumbing (diff-tree -M,update-index,commit-tree), no filter-repo.Tree checks
The tree after the last replayed commit equals the old import commit, and the final tree equals the old PR head:
DCO
Commits whose author email is in no Signed-off-by line (case-insensitive), the way the DCO app checks: 42. Left as they are; they are valkey-doc's merged history.
Rebase merge test (madolson/valkey)
Scratch PRs into a branch at bb94c2e. GitHub refuses rebase merge above 100 commits:
After merging #237: 100 commits, 0 merges, tree equal to the 100th branch commit, and author name, email, date and message identical for every commit (
diffofgit log --format='%an|%ae|%ad|%B' --date=rawon both ranges is empty). Only committer date and SHAs change, so theImported-fromtrailers are the stable link back to valkey-doc. The fork has no rulesets, so this does not exercise upstream's DCO or linear-history rules. Scratch branches deleted.This was generated by AI but verified, with love, by a human.