[PR #1038] [MERGED] feat: add prefix key support to keyvalue store #7223

Closed
opened 2026-04-20 17:35:48 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-vikunja/vikunja/pull/1038
Author: @kolaente
Created: 6/27/2025
Status: Merged
Merged: 6/27/2025
Merged by: @kolaente

Base: mainHead: codex/add-listkeys-and-delprefix-to-storage


📝 Commits (1)

  • 03801d9 feat: add prefix key operations to keyvalue store

📊 Changes

3 files changed (+76 additions, -0 deletions)

View changed files

📝 pkg/modules/keyvalue/keyvalue.go (+12 -0)
📝 pkg/modules/keyvalue/memory/memory.go (+30 -0)
📝 pkg/modules/keyvalue/redis/redis.go (+34 -0)

📄 Description

Summary

  • extend keyvalue storage interface with prefix helper functions
  • implement ListKeys and DelPrefix for memory and redis backends
  • expose helper wrappers in keyvalue package

Testing

  • mage lint:fix (fails: signal interrupt)

https://chatgpt.com/codex/tasks/task_e_685e73a4b33c83228cc8cd1ae3ac9b5a


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-vikunja/vikunja/pull/1038 **Author:** [@kolaente](https://github.com/kolaente) **Created:** 6/27/2025 **Status:** ✅ Merged **Merged:** 6/27/2025 **Merged by:** [@kolaente](https://github.com/kolaente) **Base:** `main` ← **Head:** `codex/add-listkeys-and-delprefix-to-storage` --- ### 📝 Commits (1) - [`03801d9`](https://github.com/go-vikunja/vikunja/commit/03801d937b579605b7430e452c8dc1adfd8be5cf) feat: add prefix key operations to keyvalue store ### 📊 Changes **3 files changed** (+76 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `pkg/modules/keyvalue/keyvalue.go` (+12 -0) 📝 `pkg/modules/keyvalue/memory/memory.go` (+30 -0) 📝 `pkg/modules/keyvalue/redis/redis.go` (+34 -0) </details> ### 📄 Description ## Summary - extend keyvalue storage interface with prefix helper functions - implement `ListKeys` and `DelPrefix` for memory and redis backends - expose helper wrappers in keyvalue package ## Testing - `mage lint:fix` *(fails: signal interrupt)* ------ https://chatgpt.com/codex/tasks/task_e_685e73a4b33c83228cc8cd1ae3ac9b5a --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-20 17:35:48 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vikunja#7223