-
Notifications
You must be signed in to change notification settings - Fork 51
Add install command for redis dependencies #158
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
gpg is missing on some minimal distro images
✅ Deploy Preview for pelica ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
WalkthroughAdded a prerequisite command to the Redis installation docs to install Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
✨ Finishing Touches🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (2)
docs/panel/advanced/redis.mdx (2)
5-5: Grammar & clarity tweak for the new sentence
The phrase is missing “to” and could be streamlined for readability.-To install Redis you first need add their repository. Make sure you have `gpg` installed. +To install Redis, you first need to add the Redis repository. Ensure that the `gpg` utility is installed.
5-5: Consider adding a quick-install hint forgpg
Since the very next commands rely ongpg, a one-liner showing how to install it on Debian/Ubuntu would be helpful for users on minimal images.Example (after the edited sentence):
> If `gpg` is not present, install it with: > ```sh > sudo apt update -y && sudo apt install -y gnupg > ```
Boy132
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for pointing out! For convenience I added a apt install command. :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
docs/panel/advanced/redis.mdx (1)
16-18: Useredispackage instead ofredis-server
Replacesudo apt install -y redis-serverwithsudo apt install -y redisin docs/panel/advanced/redis.mdx (lines 16–18) to match the official Redis APT repo recommendation.
🧹 Nitpick comments (2)
docs/panel/advanced/redis.mdx (2)
5-5: Grammar and clarity nit.-To install Redis you first need add their repository. +To install Redis, you first need to add the Redis APT repository.
20-20: Capitalize Redis and tighten phrasing.-Also make sure to enable that redis will start on boot. You can do that by running the following command: +Also ensure Redis starts on boot. Run:
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
💡 Knowledge Base configuration:
- MCP integration is disabled by default for public repositories
- Jira integration is disabled by default for public repositories
- Linear integration is disabled by default for public repositories
You can enable these sources in your CodeRabbit configuration.
📒 Files selected for processing (1)
docs/panel/advanced/redis.mdx(1 hunks)
| To install Redis you first need add their repository. | ||
|
|
||
| ```sh | ||
| sudo apt install -y lsb-release curl gpg |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🛠️ Refactor suggestion
Ensure installs succeed on minimal images: add update, ca-certificates, and use gnupg.
Minimal Debian/Ubuntu images often lack package indexes and CA certs; gpg is provided by gnupg. Recommend this change.
-sudo apt install -y lsb-release curl gpg
+sudo apt-get update -y
+sudo apt-get install -y --no-install-recommends ca-certificates lsb-release curl gnupg🤖 Prompt for AI Agents
In docs/panel/advanced/redis.mdx around line 8, the installation line only
installs lsb-release, curl and gpg which can fail on minimal images; update the
package index first and include ca-certificates and gnupg (gnupg provides gpg)
so installs succeed. Replace the single apt install with a two-step approach:
run an apt update (or apt-get update) then install ca-certificates and gnupg
plus curl and lsb-release with -y to ensure noninteractive installs.
gpg is missing on some minimal distro images, may be worth a mention in the docs
Summary by CodeRabbit