Skip to content
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

adds revises downloads page, adds package page, updates package data #159

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions _data/releases.toml
Original file line number Diff line number Diff line change
@@ -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)"

11 changes: 11 additions & 0 deletions content/download/packages.md
Original file line number Diff line number Diff line change
@@ -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.
25 changes: 24 additions & 1 deletion content/download/releases/v7-2-5.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
-
Expand All @@ -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:
Expand Down
25 changes: 24 additions & 1 deletion content/download/releases/v7-2-6.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
-
Expand All @@ -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:
Expand Down
10 changes: 3 additions & 7 deletions content/download/releases/v7-2-7.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
-
Expand All @@ -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:
Expand Down
29 changes: 27 additions & 2 deletions content/download/releases/v8-0-0.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
-
Expand All @@ -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:
Expand Down
30 changes: 28 additions & 2 deletions content/download/releases/v8-0-1.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
-
Expand All @@ -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:
Expand Down
56 changes: 56 additions & 0 deletions sass/_valkey.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
49 changes: 35 additions & 14 deletions templates/includes/release.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
<strong>Release Date:</strong> {{ release_date | date(format="%Y-%m-%d") }} <br/>
<strong>GitHub Release:</strong> <a href="https://github.com/valkey-io/valkey/releases/tag/{{release.tag}}">{{release.tag}}</a><br />
<hr />
{% set releases_data = load_data(path="/_data/releases.toml") %}

{% for registry in release.container_registry %}
<h2>{{registry.name}} <small>(<a href="{{registry.link}}">{{registry.id}}</a>)</small></h2>
<h2 id="{{ registry.name| slugify}}">{{registry.name}} <small>(<a href="{{registry.link}}">{{registry.id}}</a>)</small></h2>
<p>Tags:</p>
<ul>
{% for tag in registry.tags %}
Expand All @@ -17,24 +18,44 @@ <h2>{{registry.name}} <small>(<a href="{{registry.link}}">{{registry.id}}</a>)</
<hr />
{% endfor %}
{% if release.packages %}
<h2>Package Managers</h2>
{% for package_manager in release.packages %}
<h3>{{package_manager.name}}:</h3>
Package Name:
{% if package_manager.url %}
<a href="{{package_manager.url}}">{{ package_manager.id }}</a>
{% else %}
{{ package_manager.id }}
{% endif %}
{% endfor %}
<h2 id="package-managers">Package Managers</h2>
<table class="package-manager-table">
<thead>
<tr>
<th scope="col">OS/Distro</th>
<th scope="col">Package Name</th>
<th scope="col">Notes</th>
</tr>
</thead>
<tbody>
{% for package_manager in release.packages | sort(attribute="name") %}
{% set package_manager_id = package_manager.name | slugify %}
<tr>
<th id="{{ package_manager_id }}" scope="row">{{package_manager.name}}</th>
<td>
{% if package_manager.url %}
<a href="{{package_manager.url}}" target="_blank">{{ package_manager.id }}</a>
{% else %}
{{ package_manager.id }}
{% endif %}
</td>
<td>
{% if releases_data.distros.notes[package_manager_id] %}
{{ releases_data.distros.notes[package_manager_id] }}
{% endif %}
</td>
</tr>
{% endfor %}
</tbody>
</table>
<p><small><em>Note:</em> <a href="/download/packages">Other versions of Valkey</a> may be available in different package managers.</small></p>
{% endif %}
<hr />
<h2>Binary Artifacts</h2>
<h2 id="binary">Binary Artifacts</h2>
{% if release.artifacts %}
{% for artifact in release.artifacts %}
{% for arch in artifact.arch %}
{% set fname = release.artifact_source ~ release.artifact_fname ~ "-" ~ release.tag ~ "-" ~ artifact.distro ~ "-" ~ arch ~ ".tar.gz" %}
{# {% capture fname %}{{include.content.artifact_source}}{{include.content.artifact_fname}}-{{include.content.tag}}-{{artifact.distro}}-{{arch}}.tar.gz{% endcapture %} #}
{% set fname = releases_data.artifact_source ~ release.artifact_fname ~ "-" ~ release.tag ~ "-" ~ artifact.distro ~ "-" ~ arch ~ ".tar.gz" %}
<a href="{{fname}}">{{arch}} / {{artifact.distro}}</a> <small>(<a href="{{fname}}.sha256">sha256</a>)</small><br />
{% endfor %}
{% endfor %}
Expand Down
Loading