Skip to content

Adding page with explanation how enduser can enable packaging repositories#482

Draft
EvgeniyPatlan wants to merge 2 commits intovalkey-io:mainfrom
EvgeniyPatlan:main
Draft

Adding page with explanation how enduser can enable packaging repositories#482
EvgeniyPatlan wants to merge 2 commits intovalkey-io:mainfrom
EvgeniyPatlan:main

Conversation

@EvgeniyPatlan
Copy link
Copy Markdown

Description

Added a new "Package Repository" page to the Valkey website at /download/packages/.
This page provides interactive install instructions for Valkey on 20 Linux distributions
across RHEL, Rocky, Alma, Amazon Linux, Fedora, openSUSE, Debian, and Ubuntu. Users
select a Valkey version and their OS from dropdown menus, and the page dynamically
generates step-by-step installation commands for their specific combination. The
instructions cover three package manager types: DNF (RPM-based), Zypper (openSUSE), and
APT (DEB-based). All package URLs point to the public S3-backed repository at
https://download.valkey.io/packaging/. The page is built as a Zola template that reads
all configuration (versions, OS definitions, repo URLs) from the content file's
frontmatter, making it easy to add new versions or distros without touching the template.
A "Packages" link was also added under the Download submenu in the site navigation.

Check List

  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the BSD-3-Clause License.

Add /download/packages/ page with interactive install instructions
for RPM, DEB, and SUSE-based Linux distributions. Includes version
and OS dropdowns, step-by-step commands, and copy-to-clipboard
functionality. Add Packages link under Download nav submenu.

Signed-off-by: Evgeniy Patlan <evgeniy.patlan@percona.com>
Add Tera safe filter to repo_url and gpg_key_url outputs to prevent
HTML entity encoding of forward slashes in generated URLs.

Signed-off-by: Evgeniy Patlan <evgeniy.patlan@percona.com>
Copy link
Copy Markdown
Member

@stockholmux stockholmux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few issues with UI and I have questions about the structure here.

I would also want the packages to be on the homepage/release pages (below the section on 'Binary Artifacts'). Is that coming in another PR?

repo_url = "https://download.valkey.io/packaging"
gpg_key_url = "https://download.valkey.io/packaging/GPG-KEY-valkey.asc"

versions = ["9.0", "8.1", "8.0"]
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure this is the right structure.

Let's say in 9.1 we had a new distribution (for example only: Nix) or a new version of the a distro (for example only: Alma 11) going forward.

The way this is structured it would create the new distro or version for previous version of Valkey. I don't think that's our intent, right?

@@ -0,0 +1,338 @@
{% extends "fullwidth.html" %}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure where in the CSS this is going strange but the text is teeny tiny for me.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants