Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: redis/rueidis
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.0.30
Choose a base ref
...
head repository: redis/rueidis
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.0.31
Choose a head ref
  • 3 commits
  • 8 files changed
  • 1 contributor

Commits on Feb 25, 2024

  1. feat: bump v1.0.31

    rueian committed Feb 25, 2024

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    Copy the full SHA
    8e58652 View commit details
  2. ci: run tests of sub go.mod on circleci

    rueian committed Feb 25, 2024
    Copy the full SHA
    c346ca1 View commit details
  3. Merge pull request #480 from redis/fix-subpkg-ci

    ci: run tests of sub go.mod on circleci
    rueian authored Feb 25, 2024
    Copy the full SHA
    16d5f13 View commit details
Showing with 59 additions and 10 deletions.
  1. +51 −2 .circleci/config.yml
  2. +1 −1 mock/go.mod
  3. +1 −1 om/go.mod
  4. +1 −1 pipe.go
  5. +1 −1 rueidisaside/go.mod
  6. +1 −1 rueidiscompat/go.mod
  7. +2 −2 rueidishook/go.mod
  8. +1 −1 rueidisotel/go.mod
53 changes: 51 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -11,12 +11,61 @@ jobs:
- checkout
- go/install:
version: 1.21.0
- run:
- run: # test ./go.mod
command: |
list=$(go list ./... | circleci tests split --split-by=timings)
echo "Test Packages: $list"
for n in {1..5}; do ./dockertest.sh $list && break; done
no_output_timeout: 15m

- run: # test ./rueidishook/go.mod
command: |
cd $CIRCLE_WORKING_DIRECTORY/rueidishook
list=$(go list ./... | circleci tests split --split-by=timings)
echo "Test Packages: $list"
for n in {1..5}; do ../dockertest.sh $list && break; done
no_output_timeout: 15m

- run: # test ./mock/go.mod
command: |
cd $CIRCLE_WORKING_DIRECTORY/mock
list=$(go list ./... | circleci tests split --split-by=timings)
echo "Test Packages: $list"
for n in {1..5}; do ../dockertest.sh $list && break; done
no_output_timeout: 15m

- run: # test ./om/go.mod
command: |
cd $CIRCLE_WORKING_DIRECTORY/om
list=$(go list ./... | circleci tests split --split-by=timings)
echo "Test Packages: $list"
for n in {1..5}; do ../dockertest.sh $list && break; done
no_output_timeout: 15m

- run: # test ./rueidisaside/go.mod
command: |
cd $CIRCLE_WORKING_DIRECTORY/rueidisaside
list=$(go list ./... | circleci tests split --split-by=timings)
echo "Test Packages: $list"
for n in {1..5}; do ../dockertest.sh $list && break; done
no_output_timeout: 15m

- run: # test ./rueidiscompat/go.mod
command: |
cd $CIRCLE_WORKING_DIRECTORY/rueidiscompat
list=$(go list ./... | circleci tests split --split-by=timings)
echo "Test Packages: $list"
for n in {1..5}; do ../dockertest.sh $list && break; done
no_output_timeout: 15m

- run: # test ./rueidisotel/go.mod
command: |
cd $CIRCLE_WORKING_DIRECTORY/rueidisotel
list=$(go list ./... | circleci tests split --split-by=timings)
echo "Test Packages: $list"
for n in {1..5}; do ../dockertest.sh $list && break; done
no_output_timeout: 15m

- store_test_results:
path: unit-tests.xml
path: .
- run: curl -Os https://uploader.codecov.io/latest/linux/codecov && chmod +x codecov && ./codecov -t ${CODECOV_TOKEN}
2 changes: 1 addition & 1 deletion mock/go.mod
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ go 1.20
replace github.com/redis/rueidis => ../

require (
github.com/redis/rueidis v1.0.29
github.com/redis/rueidis v1.0.31
go.uber.org/mock v0.3.0
)

2 changes: 1 addition & 1 deletion om/go.mod
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ replace github.com/redis/rueidis => ../

require (
github.com/oklog/ulid/v2 v2.1.0
github.com/redis/rueidis v1.0.29
github.com/redis/rueidis v1.0.31
)

require golang.org/x/sys v0.17.0 // indirect
2 changes: 1 addition & 1 deletion pipe.go
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@ import (
)

const LibName = "rueidis"
const LibVer = "1.0.29"
const LibVer = "1.0.31"

var noHello = regexp.MustCompile("unknown command .?(HELLO|hello).?")

2 changes: 1 addition & 1 deletion rueidisaside/go.mod
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ replace github.com/redis/rueidis => ../

require (
github.com/oklog/ulid/v2 v2.1.0
github.com/redis/rueidis v1.0.29
github.com/redis/rueidis v1.0.31
)

require golang.org/x/sys v0.17.0 // indirect
2 changes: 1 addition & 1 deletion rueidiscompat/go.mod
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ replace github.com/redis/rueidis => ../
require (
github.com/onsi/ginkgo/v2 v2.15.0
github.com/onsi/gomega v1.31.1
github.com/redis/rueidis v1.0.29
github.com/redis/rueidis v1.0.31
)

require (
4 changes: 2 additions & 2 deletions rueidishook/go.mod
Original file line number Diff line number Diff line change
@@ -8,8 +8,8 @@ replace (
)

require (
github.com/redis/rueidis v1.0.29
github.com/redis/rueidis/mock v1.0.29
github.com/redis/rueidis v1.0.31
github.com/redis/rueidis/mock v1.0.31
go.uber.org/mock v0.4.0
)

2 changes: 1 addition & 1 deletion rueidisotel/go.mod
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ go 1.20
replace github.com/redis/rueidis => ../

require (
github.com/redis/rueidis v1.0.29
github.com/redis/rueidis v1.0.31
go.opentelemetry.io/otel v1.24.0
go.opentelemetry.io/otel/metric v1.24.0
go.opentelemetry.io/otel/sdk v1.24.0