From 0381cda1eda66f8659ef24ff5eb86b3cbe68c94f Mon Sep 17 00:00:00 2001 From: "Kyle J. Davis" Date: Fri, 24 May 2024 09:10:50 -0600 Subject: [PATCH 1/6] adds _site to gitignore for transition purposes Signed-off-by: Kyle J. Davis --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index d83d9ea..025317d 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ content/commands/* !content/commands/_index.md content/docs/topics/* !content/docs/topics/_index.md +_site \ No newline at end of file From 8901e05576a1ccd2aa6649781b80868acd97efc0 Mon Sep 17 00:00:00 2001 From: "Kyle J. Davis" Date: Tue, 11 Jun 2024 15:49:36 -0600 Subject: [PATCH 2/6] adds missing options build Signed-off-by: Kyle J. Davis --- .github/workflows/zola-deploy.yml | 37 ++++++++++++++++++++++--------- 1 file changed, 26 insertions(+), 11 deletions(-) diff --git a/.github/workflows/zola-deploy.yml b/.github/workflows/zola-deploy.yml index de25793..d83afcf 100644 --- a/.github/workflows/zola-deploy.yml +++ b/.github/workflows/zola-deploy.yml @@ -2,11 +2,16 @@ name: Zola on GitHub Pages on: push: - branches: - - prod_zola - + branches: ["prod_zola"] + workflow_dispatch: + +permissions: + contents: read + pages: write + id-token: write + jobs: - build_and_deploy: + build: runs-on: ubuntu-latest steps: - name: Checkout prod @@ -32,13 +37,23 @@ jobs: cd website ./build/init-topics.sh ../valkey-doc/topics ./build/init-commands.sh ../valkey-doc/commands ../valkey/src/commands - -# - name: Build and deploy -# uses: shalzz/zola-deploy-action@v0.18.0 -# env: -# PAGES_BRANCH: gh-pages -# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Build only uses: shalzz/zola-deploy-action@v0.18.0 env: - BUILD_ONLY: true \ No newline at end of file + BUILD_DIR: website + BUILD_ONLY: true + BUILD_THEMES: false + - name: Upload artifact + uses: actions/upload-pages-artifact@v3 + with: + path: ./website/public + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + needs: build + steps: + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4 From 8ba51a64aab44a14682183784dbaabf854082799 Mon Sep 17 00:00:00 2001 From: "Kyle J. Davis" Date: Wed, 12 Jun 2024 09:00:10 -0600 Subject: [PATCH 3/6] corrects yaml to allow manual workflow runs from actions tab Signed-off-by: Kyle J. Davis --- .github/workflows/zola-deploy.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/zola-deploy.yml b/.github/workflows/zola-deploy.yml index d83afcf..1e89bab 100644 --- a/.github/workflows/zola-deploy.yml +++ b/.github/workflows/zola-deploy.yml @@ -3,7 +3,8 @@ name: Zola on GitHub Pages on: push: branches: ["prod_zola"] - workflow_dispatch: + + workflow_dispatch: permissions: contents: read From 8ad82993152b11e5c63531066082cd885c65d453 Mon Sep 17 00:00:00 2001 From: "Kyle J. Davis" Date: Wed, 12 Jun 2024 14:59:49 -0600 Subject: [PATCH 4/6] restores may roundup blog post Signed-off-by: Kyle J. Davis --- content/blog/2024-05-24-may-roundup.md | 47 ++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 content/blog/2024-05-24-may-roundup.md diff --git a/content/blog/2024-05-24-may-roundup.md b/content/blog/2024-05-24-may-roundup.md new file mode 100644 index 0000000..2a6fc4b --- /dev/null +++ b/content/blog/2024-05-24-may-roundup.md @@ -0,0 +1,47 @@ ++++ +title= "What's new in Valkey for May 2024" +date= 2024-05-24 01:01:01 +aliases= [ + "/blog/modules/2024/05/may-roundup/" +] +description= "It's become clear that people want to talk about Valkey and have been publishing blog posts/articles fervently. Here you'll find a collection of all the post I'm aware of in the last few weeks." + +[extra] +authors= ["kyledvs"] +categories= "update" ++++ + +It's become clear that people want to talk about Valkey and have been publishing blog posts/articles fervently. +Here you'll find a collection of all the post I'm aware of in the last few weeks. + +## Percona + +The kind folks over at Percona have been on an absolutely legendary streak of posting about Valkey. +They've done a series on data types ([Hashes](https://www.percona.com/blog/valkey-redis-the-hash-datatype/), [Sorted Sets](https://www.percona.com/blog/valkey-redis-sets-and-sorted-sets/)), [best](https://www.percona.com/blog/valkey-redis-configuration-best-practices/) and [not-so-good practices](https://www.percona.com/blog/valkey-redis-not-so-good-practices/), [getting started](https://www.percona.com/blog/hello-valkey-lets-get-started/), [replication/failover](https://www.percona.com/blog/valkey-redis-replication-and-auto-failover-with-sentinel-service/), [configurations/persistence](https://www.percona.com/blog/valkey-redis-configurations-and-persistent-setting-of-the-key-parameters/), and finally their own [Valkey packages for DEB and RPM-based distros](https://www.percona.com/blog/hello-valkey-lets-get-started/). + +## Fedora Magazine + +Yours truly wrote an article for [Fedora Magazine about using the `valkey-compat-redis` package to move to Valkey](https://fedoramagazine.org/how-to-move-from-redis-to-valkey/). + +## Community.aws + +Ricardo Ferreira put together a [walkthrough of using Valkey with Go on Docker](https://community.aws/content/2fdr6Vg8BiJS8jr8xsuQRRc0MD5/getting-started-with-valkey-using-docker-and-go). + +## The New Stack + +While Open Source Summit North America was last month, [The New Stack published a blog post about Valkey](https://thenewstack.io/valkey-a-redis-fork-with-a-future/) and accompany interview with project leaders, it's worth a watch and read. + +## Presentation: Digging into Valkey + +On the subject of Open Source Summit, the talk I gave along side Madelyn Olson, ["Digging into Valkey" was posted as a video](https://youtu.be/3G6QgwIl-xs). + +## Valkey Seattle IRL + +The [Seattle Valkey Meetup](https://www.meetup.com/seattle-valkey/) is holding a [Rust module workshop on June 5th](https://www.meetup.com/seattle-valkey/events/301177195/). +A lot of folks will be in town for the Contributor Summit, so this meet up is bound to be flush with Valkey experts. +Don't miss it. + +## Want to add your tutorial/article/meetup/video to a future roundup? + +This is the first in a series of roundups on Valkey content. +The plan is to keep an [draft pull request open on the website GitHub repo](https://github.com/valkey-io/valkey-io.github.io/issues?q=is%3Adraft+label%3Aroundup-post+) where you can contribute your own content. \ No newline at end of file From dfbf5ade1905baa33bf6f99b2c429347c7039f1d Mon Sep 17 00:00:00 2001 From: "Kyle J. Davis" Date: Thu, 13 Jun 2024 07:34:03 -0600 Subject: [PATCH 5/6] adds atom.xml feed, simplifes authors metadata, adds description for release Signed-off-by: Kyle J. Davis --- config.toml | 2 ++ content/blog/2024-04-12-hello-world.md | 4 +++- content/blog/2024-04-16-valkey-7-2-5-out.md | 3 ++- content/blog/2024-04-26-modules-101.md | 4 +++- content/blog/2024-05-24-may-roundup.md | 4 ++-- content/download/releases/v7-2-5.md | 2 ++ templates/blog-page.html | 8 ++++---- 7 files changed, 18 insertions(+), 9 deletions(-) diff --git a/config.toml b/config.toml index 261232b..4446825 100644 --- a/config.toml +++ b/config.toml @@ -4,6 +4,8 @@ compile_sass = true build_search_index = true +generate_feed = true + [markdown] highlight_code = true diff --git a/content/blog/2024-04-12-hello-world.md b/content/blog/2024-04-12-hello-world.md index 77f9038..5028636 100644 --- a/content/blog/2024-04-12-hello-world.md +++ b/content/blog/2024-04-12-hello-world.md @@ -5,8 +5,10 @@ aliases = [ "/blog/update/2024/04/hello-world/" ] description= "Welcome! For the inaugural blog post on valkey.io, I’d like to recap the story so far, what to look forward to, and then describe how this blog works." -[extra] authors= ["kyledvs"] + +[extra] + categories= "update" +++ diff --git a/content/blog/2024-04-16-valkey-7-2-5-out.md b/content/blog/2024-04-16-valkey-7-2-5-out.md index 2b9da8a..ad1f9cc 100644 --- a/content/blog/2024-04-16-valkey-7-2-5-out.md +++ b/content/blog/2024-04-16-valkey-7-2-5-out.md @@ -5,9 +5,10 @@ aliases= [ "/blog/modules/2024/05/modules-101/" ] description= "Exciting times!I'm pleased to announce that you can start using the first generally available, stable Valkey release today." +authors= ["kyledvs"] [extra] -authors= ["kyledvs"] + categories= "update" +++ diff --git a/content/blog/2024-04-26-modules-101.md b/content/blog/2024-04-26-modules-101.md index e594c7e..4750bca 100644 --- a/content/blog/2024-04-26-modules-101.md +++ b/content/blog/2024-04-26-modules-101.md @@ -5,8 +5,10 @@ aliases= [ "/blog/update/2024/04/valkey-7-2-5-out/" ] description= "The idea of modules is to allow adding extra features (such as new commands and data types) to Valkey without making changes to the core code." -[extra] authors= ["dmitrypol"] + +[extra] + categories= "modules" +++ diff --git a/content/blog/2024-05-24-may-roundup.md b/content/blog/2024-05-24-may-roundup.md index 2a6fc4b..2bde601 100644 --- a/content/blog/2024-05-24-may-roundup.md +++ b/content/blog/2024-05-24-may-roundup.md @@ -5,9 +5,9 @@ aliases= [ "/blog/modules/2024/05/may-roundup/" ] description= "It's become clear that people want to talk about Valkey and have been publishing blog posts/articles fervently. Here you'll find a collection of all the post I'm aware of in the last few weeks." +authors= ["kyledvs"] [extra] -authors= ["kyledvs"] categories= "update" +++ @@ -44,4 +44,4 @@ Don't miss it. ## Want to add your tutorial/article/meetup/video to a future roundup? This is the first in a series of roundups on Valkey content. -The plan is to keep an [draft pull request open on the website GitHub repo](https://github.com/valkey-io/valkey-io.github.io/issues?q=is%3Adraft+label%3Aroundup-post+) where you can contribute your own content. \ No newline at end of file +The plan is to keep an [draft pull request open on the website GitHub repo](https://github.com/valkey-io/valkey-io.github.io/issues?q=is%3Adraft+label%3Aroundup-post+) where you can contribute your own content. diff --git a/content/download/releases/v7-2-5.md b/content/download/releases/v7-2-5.md index 3468019..8e52d26 100644 --- a/content/download/releases/v7-2-5.md +++ b/content/download/releases/v7-2-5.md @@ -33,3 +33,5 @@ extra: - arm64 - x86_64 --- + +Valkey 7.2.5 Release diff --git a/templates/blog-page.html b/templates/blog-page.html index 844b40a..f557a68 100644 --- a/templates/blog-page.html +++ b/templates/blog-page.html @@ -4,9 +4,9 @@

{{ page.title }}

{{ page.date | date(format="%Y-%m-%d") }} - {% if page.extra and page.extra.authors %} + {% if page.authors %} · - {% for author in page.extra.authors %} + {% for author in page.authors %} {% set author_path = "authors/" ~ author ~ ".md" %} {% set author_page = get_page(path=author_path) %} {{ author_page.title }}{% if loop.last != true %},{% endif %} @@ -28,8 +28,8 @@

{{ page.title }}

{% endblock main_content %} {% block related_content %} -{% if page.extra and page.extra.authors %} - {% for author in page.extra.authors %} +{% if page.authors %} + {% for author in page.authors %} {% set author_path = "authors/" ~ author ~ ".md" %} {% set author_page = get_page(path=author_path) %} {% include "includes/author_panel.html" %} From 87b0addf78670c7b658c24b54ca67074200f4494 Mon Sep 17 00:00:00 2001 From: "Kyle J. Davis" Date: Thu, 13 Jun 2024 07:39:44 -0600 Subject: [PATCH 6/6] adds feed auto discovery to HTML head Signed-off-by: Kyle J. Davis --- templates/includes/head.html | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/includes/head.html b/templates/includes/head.html index 7481349..3a5667d 100644 --- a/templates/includes/head.html +++ b/templates/includes/head.html @@ -36,6 +36,7 @@ +