From e198eaa18790d73ae80a04a5f8a9618bb64fd7e6 Mon Sep 17 00:00:00 2001 From: "Kyle J. Davis" Date: Wed, 23 Oct 2024 07:49:34 -0600 Subject: [PATCH] adds revises downloads page, adds package page, updates package data Signed-off-by: Kyle J. Davis --- _data/releases.toml | 7 ++++ content/download/packages.md | 11 ++++++ content/download/releases/v7-2-5.md | 25 ++++++++++++- content/download/releases/v7-2-6.md | 25 ++++++++++++- content/download/releases/v7-2-7.md | 10 ++--- content/download/releases/v8-0-0.md | 29 ++++++++++++++- content/download/releases/v8-0-1.md | 30 ++++++++++++++- sass/_valkey.scss | 56 ++++++++++++++++++++++++++++ templates/includes/release.html | 49 +++++++++++++++++------- templates/packages.html | 58 +++++++++++++++++++++++++++++ 10 files changed, 273 insertions(+), 27 deletions(-) create mode 100644 _data/releases.toml create mode 100644 content/download/packages.md create mode 100644 templates/packages.html diff --git a/_data/releases.toml b/_data/releases.toml new file mode 100644 index 0000000..f64e8e2 --- /dev/null +++ b/_data/releases.toml @@ -0,0 +1,7 @@ +artifact_source = "https://download.valkey.io/releases/" + +[distros] + +[distros.notes] +epel = "Valkey EPEL packages are used in AlmaLinux, Oracle Linux, RHEL (=< 10)" + diff --git a/content/download/packages.md b/content/download/packages.md new file mode 100644 index 0000000..8fdca7c --- /dev/null +++ b/content/download/packages.md @@ -0,0 +1,11 @@ ++++ +template = "packages.html" +title = "Packages" ++++ + +You can get Valkey from a variety of package managers in many different operating systems. +In the chart below, the filled dot (⬤) indicates that the Valkey package for the version in the left most column is available for the package manager indicated in the corresponding column header, the unfilled dot (◯) indicates that the package is not yet available. +Some package managers may be used across many different distributions (i.e. EPEL with AlmaLinux, RHEL, Oracle Linux, etc. ) or operating systems (i.e. Homebrew or Nix with MacOS and Linux). + +This information is maintained on a best-effort basis, if you believe that it is inaccurate, [create an issue](https://github.com/valkey-io/valkey-io.github.io/issues/new/choose). +Requests for new packages or updates should go to the relevant process for each package manager. diff --git a/content/download/releases/v7-2-5.md b/content/download/releases/v7-2-5.md index 1c9cbf9..408147f 100644 --- a/content/download/releases/v7-2-5.md +++ b/content/download/releases/v7-2-5.md @@ -3,7 +3,6 @@ title: "7.2.5" date: 2024-04-15 extra: tag: "7.2.5" - artifact_source: https://download.valkey.io/releases/ artifact_fname: "valkey" container_registry: - @@ -23,6 +22,30 @@ extra: - name: EPEL id: 'valkey' + - + name: Ubuntu + id: valkey + url: https://launchpad.net/ubuntu/+source/valkey + - + name: Arch Linux + id: valkey + url: https://archlinux.org/packages/extra/x86_64/valkey/ + - + name: Homebrew + id: valkey + url: https://formulae.brew.sh/formula/valkey + - + name: FreeBSD + id: databases/valkey + url: https://www.freshports.org/databases/valkey/ + - + name: OpenSUSE + id: valkey + url: https://build-test-1.opensuse.org/package/show/openSUSE:Factory/valkey + - + name: Wolfi + id: valkey + url: https://github.com/wolfi-dev/os/blob/main/valkey.yaml artifacts: - distro: bionic arch: diff --git a/content/download/releases/v7-2-6.md b/content/download/releases/v7-2-6.md index a8b5b36..b5e9c0c 100644 --- a/content/download/releases/v7-2-6.md +++ b/content/download/releases/v7-2-6.md @@ -3,7 +3,6 @@ title: "7.2.6" date: 2024-07-31 extra: tag: "7.2.6" - artifact_source: https://download.valkey.io/releases/ artifact_fname: "valkey" container_registry: - @@ -23,6 +22,30 @@ extra: - name: EPEL id: 'valkey' + - + name: Arch Linux + id: valkey + url: https://archlinux.org/packages/extra/x86_64/valkey/ + - + name: Homebrew + id: valkey + url: https://formulae.brew.sh/formula/valkey + - + name: FreeBSD + id: databases/valkey + url: https://www.freshports.org/databases/valkey/ + - + name: OpenSUSE + id: valkey + url: https://build-test-1.opensuse.org/package/show/openSUSE:Factory/valkey + - + name: Nix + id: valkey + url: https://mynixos.com/nixpkgs/package/valkey + - + name: Wolfi + id: valkey + url: https://github.com/wolfi-dev/os/blob/main/valkey.yaml artifacts: - distro: bionic arch: diff --git a/content/download/releases/v7-2-7.md b/content/download/releases/v7-2-7.md index ba5e6b0..d734fb1 100644 --- a/content/download/releases/v7-2-7.md +++ b/content/download/releases/v7-2-7.md @@ -4,7 +4,6 @@ date: 2024-10-02 01:01:01 extra: tag: "7.2.7" - artifact_source: https://download.valkey.io/releases/ artifact_fname: "valkey" container_registry: - @@ -18,12 +17,9 @@ extra: - "7.2.7-alpine3.20" packages: - - url: https://packages.fedoraproject.org/pkgs/valkey/valkey/ - name: Fedora - id: 'valkey' - - - name: EPEL - id: 'valkey' + name: Alpine + id: valkey + url: https://pkgs.alpinelinux.org/packages?name=valkey&branch=edge&repo=&arch=x86_64&origin=&flagged=&maintainer= artifacts: - distro: bionic arch: diff --git a/content/download/releases/v8-0-0.md b/content/download/releases/v8-0-0.md index 6568228..49a1a5d 100644 --- a/content/download/releases/v8-0-0.md +++ b/content/download/releases/v8-0-0.md @@ -4,7 +4,6 @@ date: 2024-09-16 extra: tag: "8.0.0" - artifact_source: https://download.valkey.io/releases/ artifact_fname: "valkey" container_registry: - @@ -17,7 +16,33 @@ extra: - "8.0.0-alpine" - "8.0.0-alpine3.20" packages: - + - + name: Azure Linux + id: valkey + url: https://github.com/microsoft/azurelinux/tree/3.0/SPECS/valkey/valkey.spec + - + name: FreeBSD + id: databases/valkey + url: https://www.freshports.org/databases/valkey/ + - + name: Homebrew + id: valkey + url: https://formulae.brew.sh/formula/valkey + - + name: Wolfi + id: valkey + url: https://github.com/wolfi-dev/os/blob/main/valkey.yaml + - + url: https://packages.fedoraproject.org/pkgs/valkey/valkey/ + name: Fedora + id: 'valkey' + - + name: Arch Linux + id: valkey + url: https://archlinux.org/packages/extra/x86_64/valkey/ + - + name: EPEL + id: 'valkey' artifacts: - distro: bionic arch: diff --git a/content/download/releases/v8-0-1.md b/content/download/releases/v8-0-1.md index 2041c68..3bdef07 100644 --- a/content/download/releases/v8-0-1.md +++ b/content/download/releases/v8-0-1.md @@ -4,7 +4,6 @@ date: 2024-10-02 01:01:02 extra: tag: "8.0.1" - artifact_source: https://download.valkey.io/releases/ artifact_fname: "valkey" container_registry: - @@ -17,7 +16,34 @@ extra: - "8.0.1-alpine" - "8.0.1-alpine3.20" packages: - + - + url: https://packages.fedoraproject.org/pkgs/valkey/valkey/ + name: Fedora + id: 'valkey' + - + name: EPEL + id: 'valkey' + - + name: Arch Linux + id: valkey + url: https://archlinux.org/packages/extra/x86_64/valkey/ + - + name: FreeBSD + id: databases/valkey + url: https://www.freshports.org/databases/valkey/ + - + name: OpenSUSE + id: valkey + url: https://build-test-1.opensuse.org/package/show/openSUSE:Factory/valkey + - + name: Homebrew + id: valkey + url: https://formulae.brew.sh/formula/valkey + - + name: Wolfi + id: valkey + url: https://github.com/wolfi-dev/os/blob/main/valkey.yaml + artifacts: - distro: bionic arch: diff --git a/sass/_valkey.scss b/sass/_valkey.scss index f759670..904f935 100644 --- a/sass/_valkey.scss +++ b/sass/_valkey.scss @@ -614,6 +614,62 @@ pre table { margin-right: 20px; } +.packages-table, +.package-manager-table { + table-layout: fixed; + width: 100%; + border-collapse: collapse; + + tbody tr:nth-child(odd) { + background-color: $grey-lt-000; + } + + tbody { + tr { + th { + font-weight: 400; + } + } + } + thead { + tr { + th { + border-bottom: 1px solid $grey-dk-200; + } + } + } +} + + +.package-manager-table { + th:nth-child(1) { + width: 25% + } + th:nth-child(2) { + width: 25% + } + + th, td { + text-align: left; + } +} + +.packages-table { + display: block; + overflow-x: auto; + white-space: nowrap; + thead th { + padding-left: 0.5em; + padding-right: 0.5em; + } + th, td { + text-align: center; + } + .has-package, .no-package { + font-size: 0.8em; + } +} + .author-info { flex: 1; text-align: left; diff --git a/templates/includes/release.html b/templates/includes/release.html index 019d663..c550da5 100644 --- a/templates/includes/release.html +++ b/templates/includes/release.html @@ -1,9 +1,10 @@ Release Date: {{ release_date | date(format="%Y-%m-%d") }}
GitHub Release: {{release.tag}}

+{% set releases_data = load_data(path="/_data/releases.toml") %} {% for registry in release.container_registry %} -

{{registry.name}} ({{registry.id}})

+

{{registry.name}} ({{registry.id}})

Tags: