MM-36271: Bump major version to 6.0 (#17973)

https://mattermost.atlassian.net/browse/MM-36271

```release-note
We bump the major version to 6.0
```
Этот коммит содержится в:
Agniva De Sarker
2021-07-22 12:21:47 +05:30
коммит произвёл GitHub
родитель 33edd645c7
Коммит c4b4e1bc38
899 изменённых файлов: 2383 добавлений и 2384 удалений

2
services/cache/cache.go поставляемый
Просмотреть файл

@@ -7,7 +7,7 @@ import (
"errors"
"time"
"github.com/mattermost/mattermost-server/v5/model"
"github.com/mattermost/mattermost-server/v6/model"
)
// ErrKeyNotFound is the error when the given key is not found

2
services/cache/lru.go поставляемый
Просмотреть файл

@@ -11,7 +11,7 @@ import (
"github.com/tinylib/msgp/msgp"
"github.com/vmihailenco/msgpack/v5"
"github.com/mattermost/mattermost-server/v5/model"
"github.com/mattermost/mattermost-server/v6/model"
)
// LRU is a thread-safe fixed size LRU cache.

2
services/cache/lru_striped.go поставляемый
Просмотреть файл

@@ -10,7 +10,7 @@ import (
"github.com/cespare/xxhash/v2"
"github.com/mattermost/mattermost-server/v5/model"
"github.com/mattermost/mattermost-server/v6/model"
)
// LRUStriped keeps LRU caches in buckets in order to lower mutex contention.

2
services/cache/lru_striped_bench_test.go поставляемый
Просмотреть файл

@@ -11,7 +11,7 @@ import (
"github.com/cespare/xxhash/v2"
"github.com/mattermost/mattermost-server/v5/services/cache"
"github.com/mattermost/mattermost-server/v6/services/cache"
)
const (

2
services/cache/lru_striped_test.go поставляемый
Просмотреть файл

@@ -12,7 +12,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/mattermost/mattermost-server/v5/model"
"github.com/mattermost/mattermost-server/v6/model"
)
func makeLRUPredictibleTestData(num int) [][2]string {

2
services/cache/lru_test.go поставляемый
Просмотреть файл

@@ -12,7 +12,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/mattermost/mattermost-server/v5/model"
"github.com/mattermost/mattermost-server/v6/model"
)
func TestLRU(t *testing.T) {

2
services/cache/mocks/Provider.go поставляемый
Просмотреть файл

@@ -5,7 +5,7 @@ package mocks
import (
mock "github.com/stretchr/testify/mock"
cache "github.com/mattermost/mattermost-server/v5/services/cache"
cache "github.com/mattermost/mattermost-server/v6/services/cache"
)
// Provider is an autogenerated mock type for the Provider type

2
services/cache/provider.go поставляемый
Просмотреть файл

@@ -6,7 +6,7 @@ package cache
import (
"time"
"github.com/mattermost/mattermost-server/v5/model"
"github.com/mattermost/mattermost-server/v6/model"
)
// CacheOptions contains options for initializaing a cache

2
services/cache/provider_test.go поставляемый
Просмотреть файл

@@ -7,7 +7,7 @@ import (
"testing"
"time"
"github.com/mattermost/mattermost-server/v5/model"
"github.com/mattermost/mattermost-server/v6/model"
"github.com/stretchr/testify/require"
)