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 удалений

Просмотреть файл

@@ -7,7 +7,7 @@ import (
"context"
"database/sql/driver"
"github.com/mattermost/mattermost-server/v5/plugin"
"github.com/mattermost/mattermost-server/v6/plugin"
)
// Conn is a DB driver conn implementation

Просмотреть файл

@@ -12,7 +12,7 @@ import (
"context"
"database/sql/driver"
"github.com/mattermost/mattermost-server/v5/plugin"
"github.com/mattermost/mattermost-server/v6/plugin"
)
var (

Просмотреть файл

@@ -7,7 +7,7 @@ import (
"context"
"database/sql/driver"
"github.com/mattermost/mattermost-server/v5/plugin"
"github.com/mattermost/mattermost-server/v6/plugin"
)
type wrapperTx struct {

Просмотреть файл

@@ -16,7 +16,7 @@ import (
"github.com/stretchr/testify/suite"
"github.com/xtgo/uuid"
"github.com/mattermost/mattermost-server/v5/shared/mlog"
"github.com/mattermost/mattermost-server/v6/shared/mlog"
)
func randomString() string {

Просмотреть файл

@@ -13,7 +13,7 @@ import (
"github.com/pkg/errors"
"github.com/mattermost/mattermost-server/v5/shared/mlog"
"github.com/mattermost/mattermost-server/v6/shared/mlog"
)
const (

Просмотреть файл

@@ -7,7 +7,7 @@ package mocks
import (
io "io"
filestore "github.com/mattermost/mattermost-server/v5/shared/filestore"
filestore "github.com/mattermost/mattermost-server/v6/shared/filestore"
mock "github.com/stretchr/testify/mock"

Просмотреть файл

@@ -17,7 +17,7 @@ import (
"github.com/minio/minio-go/v7/pkg/encrypt"
"github.com/pkg/errors"
"github.com/mattermost/mattermost-server/v5/shared/mlog"
"github.com/mattermost/mattermost-server/v6/shared/mlog"
)
// S3FileBackend contains all necessary information to communicate with

Просмотреть файл

@@ -14,7 +14,7 @@ import (
"github.com/mattermost/go-i18n/i18n"
"github.com/mattermost/mattermost-server/v5/shared/mlog"
"github.com/mattermost/mattermost-server/v6/shared/mlog"
)
const defaultLocale = "en"

Просмотреть файл

@@ -17,7 +17,7 @@ import (
"github.com/pkg/errors"
gomail "gopkg.in/mail.v2"
"github.com/mattermost/mattermost-server/v5/shared/mlog"
"github.com/mattermost/mattermost-server/v6/shared/mlog"
)
const (

Просмотреть файл

@@ -12,8 +12,8 @@ import (
"time"
"github.com/dgryski/dgoogauth"
"github.com/mattermost/mattermost-server/v5/plugin/plugintest/mock"
"github.com/mattermost/mattermost-server/v5/store/storetest/mocks"
"github.com/mattermost/mattermost-server/v6/plugin/plugintest/mock"
"github.com/mattermost/mattermost-server/v6/store/storetest/mocks"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)

Просмотреть файл

@@ -13,7 +13,7 @@ import (
"github.com/stretchr/testify/require"
"github.com/mattermost/mattermost-server/v5/shared/mlog"
"github.com/mattermost/mattermost-server/v6/shared/mlog"
)
func TestLoggingBeforeInitialized(t *testing.T) {

Просмотреть файл

@@ -8,7 +8,7 @@ import (
"strings"
"time"
"github.com/mattermost/mattermost-server/v5/shared/mlog"
"github.com/mattermost/mattermost-server/v6/shared/mlog"
)
type LogEntry struct {

Просмотреть файл

@@ -12,7 +12,7 @@ import (
"strings"
"time"
"github.com/mattermost/mattermost-server/v5/shared/mlog"
"github.com/mattermost/mattermost-server/v6/shared/mlog"
)
func ParseLogMessage(msg string) LogEntry {

Просмотреть файл

@@ -10,7 +10,7 @@ import (
"github.com/stretchr/testify/require"
"github.com/mattermost/mattermost-server/v5/shared/mlog"
"github.com/mattermost/mattermost-server/v6/shared/mlog"
)
// Test race condition when shutting down advanced logging. This test must run with the -race flag in order to verify

Просмотреть файл

@@ -12,7 +12,7 @@ import (
"sync"
"github.com/fsnotify/fsnotify"
"github.com/mattermost/mattermost-server/v5/utils/fileutils"
"github.com/mattermost/mattermost-server/v6/utils/fileutils"
)
// Container represents a set of templates that can be render