-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 0b95fd7
Showing
188 changed files
with
45,644 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
doctests/* @dmaier-redislabs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
custom: ['https://uptrace.dev/sponsor'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
--- | ||
|
||
Issue tracker is used for reporting bugs and discussing new features. Please use | ||
[stackoverflow](https://stackoverflow.com) for supporting issues. | ||
|
||
<!--- Provide a general summary of the issue in the Title above --> | ||
|
||
## Expected Behavior | ||
|
||
<!--- Tell us what should happen --> | ||
|
||
## Current Behavior | ||
|
||
<!--- Tell us what happens instead of the expected behavior --> | ||
|
||
## Possible Solution | ||
|
||
<!--- Not obligatory, but suggest a fix/reason for the bug, --> | ||
|
||
## Steps to Reproduce | ||
|
||
<!--- Provide a link to a live example, or an unambiguous set of steps to --> | ||
<!--- reproduce this bug. Include code to reproduce, if relevant --> | ||
|
||
1. | ||
2. | ||
3. | ||
4. | ||
|
||
## Context (Environment) | ||
|
||
<!--- How has this issue affected you? What are you trying to accomplish? --> | ||
<!--- Providing context helps us come up with a solution that is most useful in the real world --> | ||
|
||
<!--- Provide a general summary of the issue in the Title above --> | ||
|
||
## Detailed Description | ||
|
||
<!--- Provide a detailed description of the change or addition you are proposing --> | ||
|
||
## Possible Implementation | ||
|
||
<!--- Not obligatory, but suggest an idea for implementing addition or change --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
blank_issues_enabled: true | ||
contact_links: | ||
- name: Discussions | ||
url: https://github.com/go-redis/redis/discussions | ||
about: Ask a question via GitHub Discussions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: gomod | ||
directory: / | ||
schedule: | ||
interval: weekly | ||
- package-ecosystem: github-actions | ||
directory: / | ||
schedule: | ||
interval: weekly |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
name-template: '$NEXT_MINOR_VERSION' | ||
tag-template: 'v$NEXT_MINOR_VERSION' | ||
autolabeler: | ||
- label: 'maintenance' | ||
files: | ||
- '*.md' | ||
- '.github/*' | ||
- label: 'bug' | ||
branch: | ||
- '/bug-.+' | ||
- label: 'maintenance' | ||
branch: | ||
- '/maintenance-.+' | ||
- label: 'feature' | ||
branch: | ||
- '/feature-.+' | ||
categories: | ||
- title: 'Breaking Changes' | ||
labels: | ||
- 'breakingchange' | ||
- title: '🧪 Experimental Features' | ||
labels: | ||
- 'experimental' | ||
- title: '🚀 New Features' | ||
labels: | ||
- 'feature' | ||
- 'enhancement' | ||
- title: '🐛 Bug Fixes' | ||
labels: | ||
- 'fix' | ||
- 'bugfix' | ||
- 'bug' | ||
- 'BUG' | ||
- title: '🧰 Maintenance' | ||
label: 'maintenance' | ||
change-template: '- $TITLE (#$NUMBER)' | ||
exclude-labels: | ||
- 'skip-changelog' | ||
template: | | ||
# Changes | ||
$CHANGES | ||
## Contributors | ||
We'd like to thank all the contributors who worked on this release! | ||
$CONTRIBUTORS | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
matrix: | ||
- name: Markdown | ||
expect_match: false | ||
apsell: | ||
lang: en | ||
d: en_US | ||
ignore-case: true | ||
dictionary: | ||
wordlists: | ||
- .github/wordlist.txt | ||
output: wordlist.dic | ||
pipeline: | ||
- pyspelling.filters.markdown: | ||
markdown_extensions: | ||
- markdown.extensions.extra: | ||
- pyspelling.filters.html: | ||
comments: false | ||
attributes: | ||
- alt | ||
ignores: | ||
- ':matches(code, pre)' | ||
- code | ||
- pre | ||
- blockquote | ||
- img | ||
sources: | ||
- 'README.md' | ||
- 'FAQ.md' | ||
- 'docs/**' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
ACLs | ||
autoload | ||
autoloader | ||
autoloading | ||
analytics | ||
Autoloading | ||
backend | ||
backends | ||
behaviour | ||
CAS | ||
ClickHouse | ||
config | ||
customizable | ||
Customizable | ||
dataset | ||
de | ||
DisableIdentity | ||
ElastiCache | ||
extensibility | ||
FPM | ||
Golang | ||
IANA | ||
keyspace | ||
keyspaces | ||
Kvrocks | ||
localhost | ||
Lua | ||
MSSQL | ||
namespace | ||
NoSQL | ||
ORM | ||
Packagist | ||
PhpRedis | ||
pipelining | ||
pluggable | ||
Predis | ||
PSR | ||
Quickstart | ||
README | ||
rebalanced | ||
rebalancing | ||
redis | ||
Redis | ||
RocksDB | ||
runtime | ||
SHA | ||
sharding | ||
SETNAME | ||
SSL | ||
struct | ||
stunnel | ||
TCP | ||
TLS | ||
uri | ||
URI | ||
url | ||
variadic | ||
RedisStack | ||
RedisGears | ||
RedisTimeseries |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Go | ||
|
||
on: | ||
push: | ||
branches: [master, v9] | ||
pull_request: | ||
branches: [master, v9] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
build: | ||
name: build | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
go-version: [1.19.x, 1.20.x, 1.21.x] | ||
|
||
services: | ||
redis: | ||
image: redis/redis-stack-server:edge | ||
options: >- | ||
--health-cmd "redis-cli ping" --health-interval 10s --health-timeout 5s --health-retries 5 | ||
ports: | ||
- 6379:6379 | ||
|
||
steps: | ||
- name: Set up ${{ matrix.go-version }} | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: ${{ matrix.go-version }} | ||
|
||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Test | ||
run: make test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: Documentation Tests | ||
|
||
on: | ||
push: | ||
branches: [master, examples] | ||
pull_request: | ||
branches: [master, examples] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
doctests: | ||
name: doctests | ||
runs-on: ubuntu-latest | ||
|
||
services: | ||
redis-stack: | ||
image: redis/redis-stack-server:latest | ||
options: >- | ||
--health-cmd "redis-cli ping" --health-interval 10s --health-timeout 5s --health-retries 5 | ||
ports: | ||
- 6379:6379 | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
go-version: [ "1.18", "1.19", "1.20", "1.21" ] | ||
|
||
steps: | ||
- name: Set up ${{ matrix.go-version }} | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: ${{ matrix.go-version }} | ||
|
||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Test doc examples | ||
working-directory: ./doctests | ||
run: go test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: golangci-lint | ||
|
||
on: | ||
push: | ||
tags: | ||
- v* | ||
branches: | ||
- master | ||
- main | ||
- v9 | ||
pull_request: | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
golangci: | ||
permissions: | ||
contents: read # for actions/checkout to fetch code | ||
pull-requests: read # for golangci/golangci-lint-action to fetch pull requests | ||
name: lint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: golangci-lint | ||
uses: golangci/golangci-lint-action@v4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Release Drafter | ||
|
||
on: | ||
push: | ||
# branches to consider in the event; optional, defaults to all | ||
branches: | ||
- master | ||
|
||
permissions: {} | ||
jobs: | ||
update_release_draft: | ||
permissions: | ||
pull-requests: write # to add label to PR (release-drafter/release-drafter) | ||
contents: write # to create a github release (release-drafter/release-drafter) | ||
|
||
runs-on: ubuntu-latest | ||
steps: | ||
# Drafts your next Release notes as Pull Requests are merged into "master" | ||
- uses: release-drafter/release-drafter@v6 | ||
with: | ||
# (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml | ||
config-name: release-drafter-config.yml | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: spellcheck | ||
on: | ||
pull_request: | ||
jobs: | ||
check-spelling: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Check Spelling | ||
uses: rojopolis/[email protected] | ||
with: | ||
config_path: .github/spellcheck-settings.yml | ||
task_name: Markdown |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: "Close stale issues" | ||
on: | ||
schedule: | ||
- cron: "0 0 * * *" | ||
|
||
permissions: {} | ||
jobs: | ||
stale: | ||
permissions: | ||
issues: write # to close stale issues (actions/stale) | ||
pull-requests: write # to close stale PRs (actions/stale) | ||
|
||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/stale@v9 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
stale-issue-message: 'This issue is marked stale. It will be closed in 30 days if it is not updated.' | ||
stale-pr-message: 'This pull request is marked stale. It will be closed in 30 days if it is not updated.' | ||
days-before-stale: 365 | ||
days-before-close: 30 | ||
stale-issue-label: "Stale" | ||
stale-pr-label: "Stale" | ||
operations-per-run: 10 | ||
remove-stale-when-updated: true |
Oops, something went wrong.