mirror of
https://github.com/SmartHoneybee/ubiquitous-memory
synced 2025-10-24 15:23:49 +02:00
Compare commits
73 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
860b28b652 | ||
|
|
1b49e25db7 | ||
|
|
542f871d30 | ||
|
|
b4bf8fc00e | ||
|
|
404ed7f60c | ||
|
|
890eb1c602 | ||
|
|
476501913c | ||
|
|
d5c44dd9a8 | ||
|
|
a624e66742 | ||
|
|
5d1eec08f2 | ||
|
|
b4bfed6058 | ||
|
|
155ef473dd | ||
|
|
69dda8131e | ||
|
|
a02a6b4386 | ||
|
|
3aec2b6302 | ||
|
|
cef04b0488 | ||
|
|
f3aa038f93 | ||
|
|
ce52eca004 | ||
|
|
06ac371c53 | ||
|
|
a55b21d6e7 | ||
|
|
ca9c6e47c5 | ||
|
|
89f37ddd12 | ||
|
|
a5c6a921e2 | ||
|
|
02f1846b2b | ||
|
|
362f5cf97f | ||
|
|
4b09124333 | ||
|
|
7332922733 | ||
|
|
605dd4992e | ||
|
|
f58b2018c4 | ||
|
|
f1204f044c | ||
|
|
43a100f30c | ||
|
|
65f66300ea | ||
|
|
896ca40562 | ||
|
|
a3ed63c840 | ||
|
|
c3bf7a5e6e | ||
|
|
8bfcbc152c | ||
|
|
ea209b1cb4 | ||
|
|
a4963df160 | ||
|
|
2c62ab2b0e | ||
|
|
85cb4319c0 | ||
|
|
da7d3b0da6 | ||
|
|
d9d94c2ee9 | ||
|
|
8e4b90726c | ||
|
|
0fc1ecee72 | ||
|
|
4f364878e5 | ||
|
|
a84d8e49ab | ||
|
|
81b4106fc7 | ||
|
|
f92e152276 | ||
|
|
df047ff1c3 | ||
|
|
34f7ec2895 | ||
|
|
04f32e9214 | ||
|
|
e4b062a7f4 | ||
|
|
fae0f5b8b6 | ||
|
|
608535bba2 | ||
|
|
1ff3276ef1 | ||
|
|
9b99cea31b | ||
|
|
0f99d5847c | ||
|
|
f16cacf3ea | ||
|
|
6ef90eb436 | ||
|
|
06a96e5cdf | ||
|
|
f3192dba71 | ||
|
|
ca10b305e4 | ||
|
|
475839128e | ||
|
|
ec8de37859 | ||
|
|
5e267c639f | ||
|
|
3afd62ebaa | ||
|
|
4449fd0723 | ||
|
|
6f1748b909 | ||
|
|
5e14b05358 | ||
|
|
c696751a66 | ||
|
|
9b16070789 | ||
|
|
ab54cd5f53 | ||
|
|
0e12504498 |
9
.github/dependabot.yml
vendored
Normal file
9
.github/dependabot.yml
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: gomod
|
||||
directory: "/dependabot"
|
||||
schedule:
|
||||
interval: daily
|
||||
time: "00:15"
|
||||
open-pull-requests-limit: 99
|
||||
target-branch: master
|
||||
7
.github/lock.yml
vendored
7
.github/lock.yml
vendored
@@ -1,7 +0,0 @@
|
||||
# Configuration for Lock Threads - https://github.com/dessant/lock-threads
|
||||
|
||||
# Number of days of inactivity before a closed issue or pull request is locked
|
||||
daysUntilLock: 3
|
||||
|
||||
# Comment to post before locking. Set to `false` to disable
|
||||
lockComment: false
|
||||
15
.github/workflows/lock.yml
vendored
Normal file
15
.github/workflows/lock.yml
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
name: 'Lock threads'
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 0 * * *'
|
||||
|
||||
jobs:
|
||||
lock:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: dessant/lock-threads@v2
|
||||
with:
|
||||
github-token: ${{ github.token }}
|
||||
issue-lock-inactive-days: 3
|
||||
pr-lock-inactive-days: 3
|
||||
96
.github/workflows/release.yml
vendored
Normal file
96
.github/workflows/release.yml
vendored
Normal file
@@ -0,0 +1,96 @@
|
||||
name: Package and release
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
env:
|
||||
DEBIAN_RELEASE: buster
|
||||
DOCKER_PWD: /root
|
||||
DOCKER_IMAGE: debian:${DEBIAN_RELEASE}
|
||||
GO_VERSION: 1.18.1
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
include:
|
||||
- os: dragonfly
|
||||
arch: amd64
|
||||
- os: freebsd
|
||||
arch: amd64
|
||||
- os: freebsd
|
||||
arch: arm
|
||||
- os: linux
|
||||
arch: arm
|
||||
- os: linux
|
||||
arch: arm64
|
||||
- os: linux
|
||||
arch: mips
|
||||
- os: linux
|
||||
arch: mips64
|
||||
- os: linux
|
||||
arch: mips64le
|
||||
- os: linux
|
||||
arch: mipsle
|
||||
- os: linux
|
||||
arch: ppc64
|
||||
- os: linux
|
||||
arch: ppc64le
|
||||
- os: linux
|
||||
arch: s390x
|
||||
- os: netbsd
|
||||
arch: amd64
|
||||
- os: netbsd
|
||||
arch: arm
|
||||
- os: openbsd
|
||||
arch: amd64
|
||||
- os: openbsd
|
||||
arch: arm
|
||||
|
||||
steps:
|
||||
- name: Clone repository
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Set environment from runtime properties
|
||||
run: |
|
||||
echo "MATTERMOST_RELEASE=$(grep 'mattermost-server' dependabot/go.mod | cut -d' ' -f2)" >> $GITHUB_ENV
|
||||
echo "MMCTL_RELEASE=v6.3.3" >> $GITHUB_ENV
|
||||
|
||||
- name: Pull docker image
|
||||
run: 'docker pull "${{ env.DOCKER_IMAGE }}"'
|
||||
|
||||
- name: Build
|
||||
env:
|
||||
GOOS: ${{ matrix.os }}
|
||||
GOARCH: ${{ matrix.arch }}
|
||||
run: docker run --mount="type=bind,source=$PWD,destination=${{ env.DOCKER_PWD }}" --rm=true --tty=true --workdir="${{ env.DOCKER_PWD }}" -e DEBIAN_RELEASE -e MATTERMOST_RELEASE -e MMCTL_RELEASE -e GOOS -e GOARCH "${{ env.DOCKER_IMAGE }}" ./build.sh
|
||||
|
||||
- name: Tag release
|
||||
if: github.ref == 'refs/heads/master'
|
||||
uses: actions/github-script@v3
|
||||
# this throws an error if the tag already exists. can't find a way around that without writing our own Github REST client or forking github's scripts repo.
|
||||
# would prefer to do this before any of these jobs run, but we need to know the mattermost version which only happens after a clone. could potentially
|
||||
# setup a separate job which does clone + tag, but felt like this was "good enough" for now.
|
||||
continue-on-error: true
|
||||
with:
|
||||
script: |
|
||||
github.git.createRef({
|
||||
owner: context.repo.owner,
|
||||
repo: context.repo.repo,
|
||||
ref: 'refs/tags/${{ env.MATTERMOST_RELEASE }}',
|
||||
sha: context.sha
|
||||
})
|
||||
|
||||
- name: Create Github release
|
||||
if: github.ref == 'refs/heads/master'
|
||||
uses: softprops/action-gh-release@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
tag_name: ${{ env.MATTERMOST_RELEASE }}
|
||||
files: |
|
||||
mattermost-${{ env.MATTERMOST_RELEASE }}-${{ matrix.os }}-${{ matrix.arch }}.tar.gz
|
||||
mattermost-${{ env.MATTERMOST_RELEASE }}-${{ matrix.os }}-${{ matrix.arch }}.tar.gz.sha512sum
|
||||
44
.travis.yml
44
.travis.yml
@@ -1,44 +0,0 @@
|
||||
language: c
|
||||
dist: trusty
|
||||
sudo: required
|
||||
service:
|
||||
- docker
|
||||
env:
|
||||
global:
|
||||
- DEBIAN_RELEASE='stretch'
|
||||
- DOCKER_PWD='/root'
|
||||
- DOCKER_IMAGE="debian:${DEBIAN_RELEASE}"
|
||||
matrix:
|
||||
- GOOS='dragonfly' GOARCH='amd64'
|
||||
- GOOS='freebsd' GOARCH='amd64'
|
||||
- GOOS='freebsd' GOARCH='arm'
|
||||
- GOOS='linux' GOARCH='arm'
|
||||
- GOOS='linux' GOARCH='arm64'
|
||||
- GOOS='linux' GOARCH='mips'
|
||||
- GOOS='linux' GOARCH='mips64'
|
||||
- GOOS='linux' GOARCH='mips64le'
|
||||
- GOOS='linux' GOARCH='mipsle'
|
||||
- GOOS='linux' GOARCH='ppc64'
|
||||
- GOOS='linux' GOARCH='ppc64le'
|
||||
- GOOS='linux' GOARCH='s390x'
|
||||
- GOOS='netbsd' GOARCH='amd64'
|
||||
- GOOS='netbsd' GOARCH='arm'
|
||||
- GOOS='openbsd' GOARCH='amd64'
|
||||
- GOOS='openbsd' GOARCH='arm'
|
||||
before_install:
|
||||
- export MATTERMOST_RELEASE="$(grep 'version' dependabot/Gopkg.toml | cut -d'"' -f2)"
|
||||
- docker pull "${DOCKER_IMAGE}"
|
||||
- chmod +x build.sh
|
||||
script:
|
||||
- docker run --interactive=true --mount="type=bind,source=${PWD},destination=${DOCKER_PWD}" --rm=true --tty=true --workdir="${DOCKER_PWD}" -e DEBIAN_RELEASE -e MATTERMOST_RELEASE -e GOOS -e GOARCH "${DOCKER_IMAGE}" ./build.sh
|
||||
before_deploy:
|
||||
- git config --local user.name 'Travis CI'
|
||||
- git config --local user.email 'travis@travis-ci.org'
|
||||
- git tag "${MATTERMOST_RELEASE}" || true
|
||||
deploy:
|
||||
provider: releases
|
||||
api_key: "${GITHUB_OAUTH_TOKEN}"
|
||||
file:
|
||||
- "${TRAVIS_BUILD_DIR}/mattermost-${MATTERMOST_RELEASE}-${GOOS}-${GOARCH}.tar.gz"
|
||||
- "${TRAVIS_BUILD_DIR}/mattermost-${MATTERMOST_RELEASE}-${GOOS}-${GOARCH}.tar.gz.sha512sum"
|
||||
skip_cleanup: true
|
||||
@@ -1,9 +1,9 @@
|
||||
# ubiquitous-memory: [Here be dragons][2]
|
||||
|
||||
[](https://travis-ci.org/SmartHoneybee/ubiquitous-memory)
|
||||
[](https://github.com/SmartHoneybee/ubiquitous-memory/actions/workflows/release.yml)
|
||||
|
||||
[Travis CI][0] recipe that builds [Mattermost][1] for various operating systems and architectures.
|
||||
[Github Actions][0] script that builds [Mattermost][1] for various operating systems and architectures.
|
||||
|
||||
[0]: https://travis-ci.org/SmartHoneybee/ubiquitous-memory
|
||||
[0]: https://github.com/SmartHoneybee/ubiquitous-memory/actions
|
||||
[1]: https://mattermost.com/
|
||||
[2]: https://en.wikipedia.org/wiki/Here_be_dragons
|
||||
|
||||
@@ -1,33 +1,24 @@
|
||||
From 556e16211ed1b4c146ca2a094688618458182ae7 Mon Sep 17 00:00:00 2001
|
||||
From: Your Name <you@example.com>
|
||||
Date: Wed, 6 Jun 2018 12:34:56 +0100
|
||||
Subject: [PATCH] Split make goal
|
||||
|
||||
---
|
||||
build/release.mk | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/build/release.mk b/build/release.mk
|
||||
index 238343e..1b7859f 100644
|
||||
index faa027239..df40f0c68 100644
|
||||
--- a/build/release.mk
|
||||
+++ b/build/release.mk
|
||||
@@ -70,7 +70,7 @@ endif
|
||||
done
|
||||
@@ -99,7 +99,7 @@ package-prep:
|
||||
@# Resource directories
|
||||
mkdir -p $(DIST_PATH)/config
|
||||
cp -L config/README.md $(DIST_PATH)/config
|
||||
- OUTPUT_CONFIG=$(PWD)/$(DIST_PATH)/config/config.json go run ./scripts/config_generator
|
||||
+ OUTPUT_CONFIG=$(PWD)/$(DIST_PATH)/config/config.json GOOS= GOARCH= go run ./scripts/config_generator
|
||||
cp -RL fonts $(DIST_PATH)
|
||||
cp -RL templates $(DIST_PATH)
|
||||
rm -rf $(DIST_PATH)/templates/*.mjml $(DIST_PATH)/templates/partials/
|
||||
@@ -159,8 +159,8 @@ else
|
||||
cp $(GOBIN)/$(CURRENT_PACKAGE_ARCH)/$(MM_BIN_NAME) $(DIST_PATH_GENERIC)/bin # from cross-compiled bin dir
|
||||
endif
|
||||
|
||||
@# ----- PLATFORM SPECIFIC -----
|
||||
-
|
||||
+_:
|
||||
@# Make osx package
|
||||
@# Copy binary
|
||||
ifeq ($(BUILDER_GOOS_GOARCH),"darwin_amd64")
|
||||
@@ -110,7 +110,7 @@ endif
|
||||
rm -f $(DIST_PATH)/bin/mattermost.exe
|
||||
rm -f $(DIST_PATH)/bin/platform.exe
|
||||
rm -f $(DIST_PATH)/prepackaged_plugins/*
|
||||
-
|
||||
+package-linux: package
|
||||
@# Make linux package
|
||||
@# Copy binary
|
||||
ifeq ($(BUILDER_GOOS_GOARCH),"linux_amd64")
|
||||
--
|
||||
2.11.0
|
||||
- #Download MMCTL for $(MMCTL_PLATFORM)
|
||||
- scripts/download_mmctl_release.sh $(MMCTL_PLATFORM) $(DIST_PATH_GENERIC)/bin
|
||||
+ @#Copy cross-compiled MMCTL
|
||||
+ cp "${HOME}/go/src/github.com/mattermost/mmctl/mmctl" $(DIST_PATH_GENERIC)/bin
|
||||
|
||||
ifeq ("darwin_arm64","$(CURRENT_PACKAGE_ARCH)")
|
||||
echo "No plugins yet for $(CURRENT_PACKAGE_ARCH) platform, skipping..."
|
||||
|
||||
66
build.sh
Normal file → Executable file
66
build.sh
Normal file → Executable file
@@ -6,10 +6,13 @@ BUILD_USER_NAME="${BUILD_USER_NAME:-build}"
|
||||
# Debian release used during build
|
||||
DEBIAN_RELEASE="${DEBIAN_RELEASE:-stretch}"
|
||||
# Mattermost version to build
|
||||
MATTERMOST_RELEASE="${MATTERMOST_RELEASE:-v5.4.0}"
|
||||
MATTERMOST_RELEASE="${MATTERMOST_RELEASE:-v5.26.0}"
|
||||
MMCTL_RELEASE="${MMCTL_RELEASE:-v5.26.0}"
|
||||
# node key id and release
|
||||
NODE_KEY="${NODE_KEY:-9FD3B784BC1C6FC31A8A0A1C1655A0AB68576280}"
|
||||
NODE_RELEASE="${NODE_RELEASE:-10}"
|
||||
NODE_RELEASE="${NODE_RELEASE:-15}"
|
||||
# golang version
|
||||
GO_VERSION="${GO_VERSION:-1.18.1}"
|
||||
|
||||
if [ "$(id -u)" -eq 0 ]; then # as root user
|
||||
# create build user, if needed
|
||||
@@ -31,9 +34,9 @@ if [ "$(id -u)" -eq 0 ]; then # as root user
|
||||
apt-get update
|
||||
# dependencies to setup repositories
|
||||
apt-get install --quiet \
|
||||
gnupg2 dirmngr apt-transport-https ca-certificates parallel
|
||||
# receive missing key (retry on failure)
|
||||
parallel --verbose --delay=30 --retries=5 "apt-key adv --keyserver 'ipv4.pool.sks-keyservers.net' --recv-keys '{}'" ::: "${NODE_KEY}"
|
||||
gnupg2 dirmngr apt-transport-https ca-certificates curl
|
||||
# receive missing key
|
||||
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
|
||||
# add required additional repositories
|
||||
printf 'deb-src http://deb.debian.org/debian %s main' "${DEBIAN_RELEASE}" \
|
||||
> "/etc/apt/sources.list.d/${DEBIAN_RELEASE}-source.list"
|
||||
@@ -43,19 +46,22 @@ if [ "$(id -u)" -eq 0 ]; then # as root user
|
||||
> '/etc/apt/sources.list.d/nodesource.list'
|
||||
# update repositories
|
||||
apt-get update
|
||||
# install go from Debian backports
|
||||
apt-get install --quiet --target-release "${DEBIAN_RELEASE}-backports" \
|
||||
golang-go
|
||||
# install dependencies
|
||||
apt-get install --quiet \
|
||||
wget build-essential patch git nodejs
|
||||
wget build-essential patch git nodejs python2
|
||||
# install 'pngquant' build dependencies (required by node module)
|
||||
apt-get build-dep --quiet \
|
||||
pngquant
|
||||
# install go from golang.org
|
||||
wget https://golang.org/dl/go${GO_VERSION}.linux-amd64.tar.gz
|
||||
tar -xvf go${GO_VERSION}.linux-amd64.tar.gz
|
||||
mv go /usr/local
|
||||
export GOROOT=/usr/local/go
|
||||
export PATH=$GOROOT/bin:$PATH
|
||||
# FIXME go (executed by build user) writes to GOROOT
|
||||
install --directory --owner="${BUILD_USER_NAME}" \
|
||||
"$(go env GOROOT)/pkg/$(go env GOOS)_$(go env GOARCH)"
|
||||
# switch to build user
|
||||
# Re-invoke this build.sh script with the 'build' user
|
||||
runuser -u "${BUILD_USER_NAME}" -- "${0}"
|
||||
# salvage build artifacts
|
||||
cp --verbose \
|
||||
@@ -65,6 +71,8 @@ if [ "$(id -u)" -eq 0 ]; then # as root user
|
||||
exit 0
|
||||
fi
|
||||
# as non-root user
|
||||
export GOROOT=/usr/local/go
|
||||
export PATH=$GOROOT/bin:$PATH
|
||||
cd "${HOME}"
|
||||
# download and extract Mattermost sources
|
||||
for COMPONENT in server webapp; do
|
||||
@@ -74,6 +82,27 @@ for COMPONENT in server webapp; do
|
||||
tar --directory="${HOME}/go/src/github.com/mattermost/mattermost-${COMPONENT}" \
|
||||
--strip-components=1 --extract --file="mattermost-${COMPONENT}.tar.gz"
|
||||
done
|
||||
# prepare the go build environment
|
||||
install --directory "${HOME}/go/bin"
|
||||
if [ "$(go env GOOS)_$(go env GOARCH)" != 'linux_amd64' ]; then
|
||||
ln --symbolic \
|
||||
"${HOME}/go/bin/$(go env GOOS)_$(go env GOARCH)" \
|
||||
"${HOME}/go/bin/linux_amd64"
|
||||
fi
|
||||
# build mmctl
|
||||
install --directory "${HOME}/go/src/github.com/mattermost/mmctl"
|
||||
wget --quiet --continue --output-document="mmctl.tar.gz" \
|
||||
"https://github.com/mattermost/mmctl/archive/${MMCTL_RELEASE}.tar.gz"
|
||||
tar --directory="${HOME}/go/src/github.com/mattermost/mmctl" \
|
||||
--strip-components=1 --extract --file="mmctl.tar.gz"
|
||||
find "${HOME}/go/src/github.com/mattermost/mmctl/" -type f -name '*.go' | xargs \
|
||||
sed -i \
|
||||
-e 's#//go:build linux || darwin#//go:build linux || darwin || dragonfly || freebsd || netbsd || openbsd#' \
|
||||
-e 's#// +build linux darwin#// +build linux darwin dragonfly freebsd netbsd openbsd#'
|
||||
make --directory="${HOME}/go/src/github.com/mattermost/mmctl" \
|
||||
BUILD_NUMBER="dev-$(go env GOOS)-$(go env GOARCH)-${MMCTL_RELEASE}" \
|
||||
ADVANCED_VET=0 \
|
||||
GO="GOARCH= GOOS= $(command -v go)"
|
||||
# build Mattermost webapp
|
||||
npm set progress false
|
||||
sed -i -e 's#--verbose#--display minimal#' \
|
||||
@@ -81,16 +110,8 @@ sed -i -e 's#--verbose#--display minimal#' \
|
||||
make --directory="${HOME}/go/src/github.com/mattermost/mattermost-webapp" \
|
||||
build
|
||||
# build Mattermost server
|
||||
install --directory "${HOME}/go/bin"
|
||||
if [ "$(go env GOOS)_$(go env GOARCH)" != 'linux_amd64' ]; then
|
||||
ln --symbolic \
|
||||
"${HOME}/go/bin/$(go env GOOS)_$(go env GOARCH)" \
|
||||
"${HOME}/go/bin/linux_amd64"
|
||||
fi
|
||||
patch --directory="${HOME}/go/src/github.com/mattermost/mattermost-server" \
|
||||
--strip=1 < "${HOME}/build-release.patch"
|
||||
patch --directory="${HOME}/go/src/github.com/mattermost/mattermost-server" \
|
||||
--strip=1 < "${HOME}/go-backport.patch"
|
||||
--strip=1 -t < "${HOME}/build-release.patch"
|
||||
sed -i \
|
||||
-e 's#go generate#env --unset=GOOS --unset=GOARCH go generate#' \
|
||||
-e 's#$(GO) generate#env --unset=GOOS --unset=GOARCH go generate#' \
|
||||
@@ -98,7 +119,12 @@ sed -i \
|
||||
"${HOME}/go/src/github.com/mattermost/mattermost-server/Makefile" \
|
||||
"${HOME}/go/src/github.com/mattermost/mattermost-server/build/release.mk"
|
||||
make --directory="${HOME}/go/src/github.com/mattermost/mattermost-server" \
|
||||
config-reset build-linux package-linux \
|
||||
config-reset \
|
||||
BUILD_NUMBER="dev-$(go env GOOS)-$(go env GOARCH)-${MATTERMOST_RELEASE}" \
|
||||
GO="GOARCH= GOOS= $(command -v go)" \
|
||||
PLUGIN_PACKAGES=''
|
||||
make --directory="${HOME}/go/src/github.com/mattermost/mattermost-server" \
|
||||
build-linux package-linux \
|
||||
BUILD_NUMBER="dev-$(go env GOOS)-$(go env GOARCH)-${MATTERMOST_RELEASE}" \
|
||||
GO="GOARCH=$(go env GOARCH) GOOS=$(go env GOOS) $(command -v go)" \
|
||||
PLUGIN_PACKAGES=''
|
||||
|
||||
197
dependabot/Gopkg.lock
generated
197
dependabot/Gopkg.lock
generated
@@ -1,197 +0,0 @@
|
||||
# This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'.
|
||||
|
||||
|
||||
[[projects]]
|
||||
digest = "1:79421244ba5848aae4b0a5c41e633a04e4894cb0b164a219dc8c15ec7facb7f1"
|
||||
name = "github.com/blang/semver"
|
||||
packages = ["."]
|
||||
pruneopts = ""
|
||||
revision = "2ee87856327ba09384cabd113bc6b5d174e9ec0f"
|
||||
version = "v3.5.1"
|
||||
|
||||
[[projects]]
|
||||
branch = "master"
|
||||
digest = "1:b89d54b3534c2a85153cc60a39e1a9764f9cc6c7b3d1b31265fd53cd70ea77dd"
|
||||
name = "github.com/dyatlov/go-opengraph"
|
||||
packages = ["opengraph"]
|
||||
pruneopts = ""
|
||||
revision = "816b6608b3c8c1e871bc9cf777f390e2532081fe"
|
||||
|
||||
[[projects]]
|
||||
digest = "1:5247b135b5492aa232a731acdcb52b08f32b874cb398f21ab460396eadbe866b"
|
||||
name = "github.com/google/uuid"
|
||||
packages = ["."]
|
||||
pruneopts = ""
|
||||
revision = "d460ce9f8df2e77fb1ba55ca87fafed96c607494"
|
||||
version = "v1.0.0"
|
||||
|
||||
[[projects]]
|
||||
branch = "master"
|
||||
digest = "1:ad21af51a0276292e9f6f5c37b966630138986478b1ecdbb94b907168fe25281"
|
||||
name = "github.com/gorilla/websocket"
|
||||
packages = ["."]
|
||||
pruneopts = ""
|
||||
revision = "483fb8d7c32fcb4b5636cd293a92e3935932e2f4"
|
||||
|
||||
[[projects]]
|
||||
digest = "1:9fa4a4a684dfb36f3ba1b0a163225140e19e3219e5576d0761d02dbd4c31b743"
|
||||
name = "github.com/mattermost/go-i18n"
|
||||
packages = ["i18n"]
|
||||
pruneopts = ""
|
||||
revision = "0dc1626d56435e9d605a29875701721c54bc9bbd"
|
||||
version = "v1.10.0"
|
||||
|
||||
[[projects]]
|
||||
digest = "1:e2df3d086086eadfe8ef94d8f1f333d75b5332987b4c6116f5df8d6bf2a69417"
|
||||
name = "github.com/mattermost/ldap"
|
||||
packages = ["."]
|
||||
pruneopts = ""
|
||||
revision = "fee0a369f21be68ea3d647c0da8272a352fa1528"
|
||||
version = "v3.0.4"
|
||||
|
||||
[[projects]]
|
||||
digest = "1:3addeb71a2f43a7b2892183d1d2f101ce429b724ddd1071c3f088d7311a6f321"
|
||||
name = "github.com/mattermost/mattermost-server"
|
||||
packages = [
|
||||
"mlog",
|
||||
"model",
|
||||
"services/timezones",
|
||||
"utils/jsonutils",
|
||||
"utils/markdown",
|
||||
]
|
||||
pruneopts = ""
|
||||
revision = "c81e4f87c20a717b1dc52b2b77780fa789e19148"
|
||||
version = "v5.17.1"
|
||||
|
||||
[[projects]]
|
||||
digest = "1:9fa4a4a684dfb36f3ba1b0a163225140e19e3219e5576d0761d02dbd4c31b743"
|
||||
name = "github.com/nicksnyder/go-i18n"
|
||||
packages = [
|
||||
"i18n/bundle",
|
||||
"i18n/language",
|
||||
"i18n/translation",
|
||||
]
|
||||
pruneopts = ""
|
||||
revision = "0dc1626d56435e9d605a29875701721c54bc9bbd"
|
||||
version = "v1.10.0"
|
||||
|
||||
[[projects]]
|
||||
digest = "1:a5484d4fa43127138ae6e7b2299a6a52ae006c7f803d98d717f60abf3e97192e"
|
||||
name = "github.com/pborman/uuid"
|
||||
packages = ["."]
|
||||
pruneopts = ""
|
||||
revision = "adf5a7427709b9deb95d29d3fa8a2bf9cfd388f1"
|
||||
version = "v1.2"
|
||||
|
||||
[[projects]]
|
||||
digest = "1:894aef961c056b6d85d12bac890bf60c44e99b46292888bfa66caf529f804457"
|
||||
name = "github.com/pelletier/go-toml"
|
||||
packages = ["."]
|
||||
pruneopts = ""
|
||||
revision = "c01d1270ff3e442a8a57cddc1c92dc1138598194"
|
||||
version = "v1.2.0"
|
||||
|
||||
[[projects]]
|
||||
digest = "1:7365acd48986e205ccb8652cc746f09c8b7876030d53710ea6ef7d0bd0dcd7ca"
|
||||
name = "github.com/pkg/errors"
|
||||
packages = ["."]
|
||||
pruneopts = ""
|
||||
revision = "645ef00459ed84a119197bfb8d8205042c6df63d"
|
||||
version = "v0.8.0"
|
||||
|
||||
[[projects]]
|
||||
digest = "1:74f86c458e82e1c4efbab95233e0cf51b7cc02dc03193be9f62cd81224e10401"
|
||||
name = "go.uber.org/atomic"
|
||||
packages = ["."]
|
||||
pruneopts = ""
|
||||
revision = "1ea20fb1cbb1cc08cbd0d913a96dead89aa18289"
|
||||
version = "v1.3.2"
|
||||
|
||||
[[projects]]
|
||||
digest = "1:22c7effcb4da0eacb2bb1940ee173fac010e9ef3c691f5de4b524d538bd980f5"
|
||||
name = "go.uber.org/multierr"
|
||||
packages = ["."]
|
||||
pruneopts = ""
|
||||
revision = "3c4937480c32f4c13a875a1829af76c98ca3d40a"
|
||||
version = "v1.1.0"
|
||||
|
||||
[[projects]]
|
||||
digest = "1:246f378f80fba6fcf0f191c486b6613265abd2bc0f2fa55a36b928c67352021e"
|
||||
name = "go.uber.org/zap"
|
||||
packages = [
|
||||
".",
|
||||
"buffer",
|
||||
"internal/bufferpool",
|
||||
"internal/color",
|
||||
"internal/exit",
|
||||
"zapcore",
|
||||
]
|
||||
pruneopts = ""
|
||||
revision = "ff33455a0e382e8a81d14dd7c922020b6b5e7982"
|
||||
version = "v1.9.1"
|
||||
|
||||
[[projects]]
|
||||
branch = "master"
|
||||
digest = "1:efb97ebbd73c3a7068579327f5d98a17c09f6d8caf1fa3212c506e8bb78126b5"
|
||||
name = "golang.org/x/crypto"
|
||||
packages = [
|
||||
"bcrypt",
|
||||
"blowfish",
|
||||
]
|
||||
pruneopts = ""
|
||||
revision = "4d3f4d9ffa16a13f451c3b2999e9c49e9750bf06"
|
||||
|
||||
[[projects]]
|
||||
branch = "master"
|
||||
digest = "1:4f7cbb08d72e1163302e2d21415200a7bc281653f5f34eda8a15c0da11a337b0"
|
||||
name = "golang.org/x/net"
|
||||
packages = [
|
||||
"html",
|
||||
"html/atom",
|
||||
]
|
||||
pruneopts = ""
|
||||
revision = "3a22650c66bd7f4fb6d1e8072ffd7b75c8a27898"
|
||||
|
||||
[[projects]]
|
||||
digest = "1:5acd3512b047305d49e8763eef7ba423901e85d5dd2fd1e71778a0ea8de10bd4"
|
||||
name = "golang.org/x/text"
|
||||
packages = [
|
||||
"internal/gen",
|
||||
"internal/tag",
|
||||
"language",
|
||||
"unicode/cldr",
|
||||
]
|
||||
pruneopts = ""
|
||||
revision = "f21a4dfb5e38f5895301dc265a8def02365cc3d0"
|
||||
version = "v0.3.0"
|
||||
|
||||
[[projects]]
|
||||
digest = "1:039b95e6ba078fe5a22315dcae7bc9859226ee34672ce9ab01708576bf2abd38"
|
||||
name = "gopkg.in/asn1-ber.v1"
|
||||
packages = ["."]
|
||||
pruneopts = ""
|
||||
revision = "f715ec2f112d1e4195b827ad68cf44017a3ef2b1"
|
||||
version = "v1.3"
|
||||
|
||||
[[projects]]
|
||||
digest = "1:11c58e19ff7ce22740423bb933f1ddca3bf575def40d5ac3437ec12871b1648b"
|
||||
name = "gopkg.in/natefinch/lumberjack.v2"
|
||||
packages = ["."]
|
||||
pruneopts = ""
|
||||
revision = "a96e63847dc3c67d17befa69c303767e2f84e54f"
|
||||
version = "v2.1"
|
||||
|
||||
[[projects]]
|
||||
digest = "1:f0620375dd1f6251d9973b5f2596228cc8042e887cd7f827e4220bc1ce8c30e2"
|
||||
name = "gopkg.in/yaml.v2"
|
||||
packages = ["."]
|
||||
pruneopts = ""
|
||||
revision = "5420a8b6744d3b0345ab293f6fcba19c978f1183"
|
||||
version = "v2.2.1"
|
||||
|
||||
[solve-meta]
|
||||
analyzer-name = "dep"
|
||||
analyzer-version = 1
|
||||
input-imports = ["github.com/mattermost/mattermost-server/model"]
|
||||
solver-name = "gps-cdcl"
|
||||
solver-version = 1
|
||||
@@ -1,3 +0,0 @@
|
||||
[[constraint]]
|
||||
name = "github.com/mattermost/mattermost-server"
|
||||
version = "v5.17.1"
|
||||
@@ -1,3 +1,6 @@
|
||||
package main
|
||||
import _ "github.com/mattermost/mattermost-server/model"
|
||||
func() main() {/* dummy file */}
|
||||
|
||||
import _ "github.com/mattermost/mattermost-server/v6/model"
|
||||
import _ "github.com/mattermost/mmctl/commands"
|
||||
|
||||
func main() { /* dummy file */ }
|
||||
|
||||
216
dependabot/go.mod
Normal file
216
dependabot/go.mod
Normal file
@@ -0,0 +1,216 @@
|
||||
module github.com/SmartHoneybee/ubiquitous-memory/dependabot
|
||||
|
||||
go 1.18
|
||||
|
||||
require (
|
||||
github.com/mattermost/mattermost-server/v6 v6.7.1
|
||||
github.com/mattermost/mmctl v0.0.0-20211221153052-1bb2fec4c15e
|
||||
)
|
||||
|
||||
require (
|
||||
code.sajari.com/docconv v1.2.0 // indirect
|
||||
github.com/JalfResi/justext v0.0.0-20170829062021-c0282dea7198 // indirect
|
||||
github.com/Masterminds/semver/v3 v3.1.1 // indirect
|
||||
github.com/Masterminds/squirrel v1.5.2 // indirect
|
||||
github.com/PuerkitoBio/goquery v1.8.0 // indirect
|
||||
github.com/RoaringBitmap/roaring v0.9.4 // indirect
|
||||
github.com/advancedlogic/GoOse v0.0.0-20210820140952-9d5822d4a625 // indirect
|
||||
github.com/andybalholm/brotli v1.0.4 // indirect
|
||||
github.com/andybalholm/cascadia v1.3.1 // indirect
|
||||
github.com/araddon/dateparse v0.0.0-20210429162001-6b43995a97de // indirect
|
||||
github.com/armon/go-metrics v0.3.10 // indirect
|
||||
github.com/avct/uasurfer v0.0.0-20191028135549-26b5daa857f1 // indirect
|
||||
github.com/aws/aws-sdk-go v1.43.31 // indirect
|
||||
github.com/aymerick/douceur v0.2.0 // indirect
|
||||
github.com/beevik/etree v1.1.0 // indirect
|
||||
github.com/beorn7/perks v1.0.1 // indirect
|
||||
github.com/bits-and-blooms/bitset v1.2.2 // indirect
|
||||
github.com/blang/semver v3.5.1+incompatible // indirect
|
||||
github.com/blevesearch/bleve/v2 v2.3.2 // indirect
|
||||
github.com/blevesearch/bleve_index_api v1.0.1 // indirect
|
||||
github.com/blevesearch/go-porterstemmer v1.0.3 // indirect
|
||||
github.com/blevesearch/gtreap v0.1.1 // indirect
|
||||
github.com/blevesearch/mmap-go v1.0.3 // indirect
|
||||
github.com/blevesearch/scorch_segment_api/v2 v2.1.0 // indirect
|
||||
github.com/blevesearch/segment v0.9.0 // indirect
|
||||
github.com/blevesearch/snowballstem v0.9.0 // indirect
|
||||
github.com/blevesearch/upsidedown_store_api v1.0.1 // indirect
|
||||
github.com/blevesearch/vellum v1.0.7 // indirect
|
||||
github.com/blevesearch/zapx/v11 v11.3.3 // indirect
|
||||
github.com/blevesearch/zapx/v12 v12.3.3 // indirect
|
||||
github.com/blevesearch/zapx/v13 v13.3.3 // indirect
|
||||
github.com/blevesearch/zapx/v14 v14.3.3 // indirect
|
||||
github.com/blevesearch/zapx/v15 v15.3.3 // indirect
|
||||
github.com/cespare/xxhash/v2 v2.1.2 // indirect
|
||||
github.com/corpix/uarand v0.1.1 // indirect
|
||||
github.com/cpuguy83/go-md2man/v2 v2.0.1 // indirect
|
||||
github.com/davecgh/go-spew v1.1.1 // indirect
|
||||
github.com/dgrijalva/jwt-go v3.2.0+incompatible // indirect
|
||||
github.com/dgryski/dgoogauth v0.0.0-20190221195224-5a805980a5f3 // indirect
|
||||
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
|
||||
github.com/disintegration/imaging v1.6.2 // indirect
|
||||
github.com/dsnet/compress v0.0.2-0.20210315054119-f66993602bf5 // indirect
|
||||
github.com/dustin/go-humanize v1.0.0 // indirect
|
||||
github.com/dyatlov/go-opengraph v0.0.0-20210112100619-dae8665a5b09 // indirect
|
||||
github.com/fatih/color v1.13.0 // indirect
|
||||
github.com/fatih/set v0.2.1 // indirect
|
||||
github.com/felixge/httpsnoop v1.0.2 // indirect
|
||||
github.com/francoispqt/gojay v1.2.13 // indirect
|
||||
github.com/fsnotify/fsnotify v1.5.1 // indirect
|
||||
github.com/getsentry/sentry-go v0.13.0 // indirect
|
||||
github.com/gigawattio/window v0.0.0-20180317192513-0f5467e35573 // indirect
|
||||
github.com/go-asn1-ber/asn1-ber v1.5.3 // indirect
|
||||
github.com/go-redis/redis/v8 v8.11.5 // indirect
|
||||
github.com/go-resty/resty/v2 v2.7.0 // indirect
|
||||
github.com/go-sql-driver/mysql v1.6.0 // indirect
|
||||
github.com/golang-migrate/migrate/v4 v4.15.1 // indirect
|
||||
github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0 // indirect
|
||||
github.com/golang/protobuf v1.5.2 // indirect
|
||||
github.com/golang/snappy v0.0.4 // indirect
|
||||
github.com/google/btree v1.0.1 // indirect
|
||||
github.com/google/uuid v1.3.0 // indirect
|
||||
github.com/gopherjs/gopherjs v0.0.0-20220221023154-0b2280d3ff96 // indirect
|
||||
github.com/gorilla/css v1.0.0 // indirect
|
||||
github.com/gorilla/handlers v1.5.1 // indirect
|
||||
github.com/gorilla/mux v1.8.0 // indirect
|
||||
github.com/gorilla/schema v1.2.0 // indirect
|
||||
github.com/gorilla/websocket v1.5.0 // indirect
|
||||
github.com/graph-gophers/graphql-go v1.3.0 // indirect
|
||||
github.com/h2non/go-is-svg v0.0.0-20160927212452-35e8c4b0612c // indirect
|
||||
github.com/hako/durafmt v0.0.0-20210608085754-5c1018a4e16b // indirect
|
||||
github.com/hashicorp/errwrap v1.1.0 // indirect
|
||||
github.com/hashicorp/go-hclog v1.2.0 // indirect
|
||||
github.com/hashicorp/go-immutable-radix v1.3.1 // indirect
|
||||
github.com/hashicorp/go-msgpack v1.1.5 // indirect
|
||||
github.com/hashicorp/go-multierror v1.1.1 // indirect
|
||||
github.com/hashicorp/go-plugin v1.4.3 // indirect
|
||||
github.com/hashicorp/go-sockaddr v1.0.2 // indirect
|
||||
github.com/hashicorp/golang-lru v0.5.4 // indirect
|
||||
github.com/hashicorp/hcl v1.0.0 // indirect
|
||||
github.com/hashicorp/memberlist v0.3.1 // indirect
|
||||
github.com/hashicorp/yamux v0.0.0-20211028200310-0bc27b27de87 // indirect
|
||||
github.com/icrowley/fake v0.0.0-20180203215853-4178557ae428 // indirect
|
||||
github.com/inconshreveable/mousetrap v1.0.0 // indirect
|
||||
github.com/isacikgoz/fuzzy v0.2.0 // indirect
|
||||
github.com/isacikgoz/prompt v0.1.0 // indirect
|
||||
github.com/jaytaylor/html2text v0.0.0-20211105163654-bc68cce691ba // indirect
|
||||
github.com/jmespath/go-jmespath v0.4.0 // indirect
|
||||
github.com/jmoiron/sqlx v1.3.4 // indirect
|
||||
github.com/jonboulle/clockwork v0.2.3 // indirect
|
||||
github.com/josharian/intern v1.0.0 // indirect
|
||||
github.com/json-iterator/go v1.1.12 // indirect
|
||||
github.com/klauspost/compress v1.15.1 // indirect
|
||||
github.com/klauspost/cpuid/v2 v2.0.12 // indirect
|
||||
github.com/klauspost/pgzip v1.2.5 // indirect
|
||||
github.com/lann/builder v0.0.0-20180802200727-47ae307949d0 // indirect
|
||||
github.com/lann/ps v0.0.0-20150810152359-62de8c46ede0 // indirect
|
||||
github.com/ledongthuc/pdf v0.0.0-20220302134840-0c2507a12d80 // indirect
|
||||
github.com/levigross/exp-html v0.0.0-20120902181939-8df60c69a8f5 // indirect
|
||||
github.com/lib/pq v1.10.4 // indirect
|
||||
github.com/magiconair/properties v1.8.5 // indirect
|
||||
github.com/mailru/easyjson v0.7.7 // indirect
|
||||
github.com/mattermost/go-i18n v1.11.1-0.20211013152124-5c415071e404 // indirect
|
||||
github.com/mattermost/gosaml2 v0.3.3 // indirect
|
||||
github.com/mattermost/gziphandler v0.0.1 // indirect
|
||||
github.com/mattermost/ldap v0.0.0-20201202150706-ee0e6284187d // indirect
|
||||
github.com/mattermost/logr/v2 v2.0.15 // indirect
|
||||
github.com/mattermost/morph v0.0.0-20220401091636-39f834798da8 // indirect
|
||||
github.com/mattermost/rsc v0.0.0-20160330161541-bbaefb05eaa0 // indirect
|
||||
github.com/mattn/go-colorable v0.1.12 // indirect
|
||||
github.com/mattn/go-isatty v0.0.14 // indirect
|
||||
github.com/mattn/go-runewidth v0.0.13 // indirect
|
||||
github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 // indirect
|
||||
github.com/mholt/archiver/v3 v3.5.1 // indirect
|
||||
github.com/microcosm-cc/bluemonday v1.0.18 // indirect
|
||||
github.com/miekg/dns v1.1.48 // indirect
|
||||
github.com/minio/md5-simd v1.1.2 // indirect
|
||||
github.com/minio/minio-go/v7 v7.0.24 // indirect
|
||||
github.com/minio/sha256-simd v1.0.0 // indirect
|
||||
github.com/mitchellh/go-homedir v1.1.0 // indirect
|
||||
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
|
||||
github.com/mitchellh/mapstructure v1.4.3 // indirect
|
||||
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
|
||||
github.com/modern-go/reflect2 v1.0.2 // indirect
|
||||
github.com/mschoch/smat v0.2.0 // indirect
|
||||
github.com/nwaples/rardecode v1.1.3 // indirect
|
||||
github.com/oklog/run v1.1.0 // indirect
|
||||
github.com/olekukonko/tablewriter v0.0.5 // indirect
|
||||
github.com/olivere/elastic v6.2.37+incompatible // indirect
|
||||
github.com/oov/psd v0.0.0-20220121172623-5db5eafcecbb // indirect
|
||||
github.com/opentracing/opentracing-go v1.2.0 // indirect
|
||||
github.com/otiai10/gosseract/v2 v2.3.1 // indirect
|
||||
github.com/pborman/uuid v1.2.1 // indirect
|
||||
github.com/pelletier/go-toml v1.9.4 // indirect
|
||||
github.com/philhofer/fwd v1.1.1 // indirect
|
||||
github.com/pierrec/lz4/v4 v4.1.14 // indirect
|
||||
github.com/pkg/errors v0.9.1 // indirect
|
||||
github.com/pmezard/go-difflib v1.0.0 // indirect
|
||||
github.com/prometheus/client_golang v1.12.1 // indirect
|
||||
github.com/prometheus/client_model v0.2.0 // indirect
|
||||
github.com/prometheus/common v0.33.0 // indirect
|
||||
github.com/prometheus/procfs v0.7.3 // indirect
|
||||
github.com/reflog/dateconstraints v0.2.1 // indirect
|
||||
github.com/richardlehane/mscfb v1.0.4 // indirect
|
||||
github.com/richardlehane/msoleps v1.0.1 // indirect
|
||||
github.com/rivo/uniseg v0.2.0 // indirect
|
||||
github.com/rs/cors v1.8.2 // indirect
|
||||
github.com/rs/xid v1.4.0 // indirect
|
||||
github.com/rudderlabs/analytics-go v3.3.2+incompatible // indirect
|
||||
github.com/russellhaering/goxmldsig v1.2.0 // indirect
|
||||
github.com/russross/blackfriday/v2 v2.1.0 // indirect
|
||||
github.com/rwcarlsen/goexif v0.0.0-20190401172101-9e8deecbddbd // indirect
|
||||
github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 // indirect
|
||||
github.com/segmentio/backo-go v0.0.0-20200129164019-23eae7c10bd3 // indirect
|
||||
github.com/sirupsen/logrus v1.8.1 // indirect
|
||||
github.com/spf13/afero v1.6.0 // indirect
|
||||
github.com/spf13/cast v1.4.1 // indirect
|
||||
github.com/spf13/cobra v1.4.0 // indirect
|
||||
github.com/spf13/jwalterweatherman v1.1.0 // indirect
|
||||
github.com/spf13/pflag v1.0.5 // indirect
|
||||
github.com/spf13/viper v1.10.0 // indirect
|
||||
github.com/splitio/go-client/v6 v6.1.0 // indirect
|
||||
github.com/splitio/go-split-commons/v3 v3.1.0 // indirect
|
||||
github.com/splitio/go-toolkit/v4 v4.2.0 // indirect
|
||||
github.com/ssor/bom v0.0.0-20170718123548-6386211fdfcf // indirect
|
||||
github.com/stretchr/objx v0.3.0 // indirect
|
||||
github.com/stretchr/testify v1.7.1 // indirect
|
||||
github.com/subosito/gotenv v1.2.0 // indirect
|
||||
github.com/throttled/throttled v2.2.5+incompatible // indirect
|
||||
github.com/tidwall/gjson v1.14.0 // indirect
|
||||
github.com/tidwall/match v1.1.1 // indirect
|
||||
github.com/tidwall/pretty v1.2.0 // indirect
|
||||
github.com/tinylib/msgp v1.1.6 // indirect
|
||||
github.com/tylerb/graceful v1.2.15 // indirect
|
||||
github.com/uber/jaeger-client-go v2.30.0+incompatible // indirect
|
||||
github.com/uber/jaeger-lib v2.4.1+incompatible // indirect
|
||||
github.com/ulikunitz/xz v0.5.10 // indirect
|
||||
github.com/vmihailenco/msgpack/v5 v5.3.5 // indirect
|
||||
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
|
||||
github.com/wiggin77/merror v1.0.3 // indirect
|
||||
github.com/wiggin77/srslog v1.0.1 // indirect
|
||||
github.com/xi2/xz v0.0.0-20171230120015-48954b6210f8 // indirect
|
||||
github.com/xtgo/uuid v0.0.0-20140804021211-a0b114877d4c // indirect
|
||||
github.com/yuin/goldmark v1.4.11 // indirect
|
||||
go.etcd.io/bbolt v1.3.6 // indirect
|
||||
go.uber.org/atomic v1.9.0 // indirect
|
||||
golang.org/x/crypto v0.0.0-20220331220935-ae2d96664a29 // indirect
|
||||
golang.org/x/image v0.0.0-20220321031419-a8550c1d254a // indirect
|
||||
golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3 // indirect
|
||||
golang.org/x/net v0.0.0-20220403103023-749bd193bc2b // indirect
|
||||
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c // indirect
|
||||
golang.org/x/sys v0.0.0-20220403205710-6acee93ad0eb // indirect
|
||||
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 // indirect
|
||||
golang.org/x/text v0.3.7 // indirect
|
||||
golang.org/x/tools v0.1.10 // indirect
|
||||
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
|
||||
google.golang.org/genproto v0.0.0-20220401170504-314d38edb7de // indirect
|
||||
google.golang.org/grpc v1.45.0 // indirect
|
||||
google.golang.org/protobuf v1.28.0 // indirect
|
||||
gopkg.in/alexcesaro/quotedprintable.v3 v3.0.0-20150716171945-2caba252f4dc // indirect
|
||||
gopkg.in/ini.v1 v1.66.4 // indirect
|
||||
gopkg.in/mail.v2 v2.3.1 // indirect
|
||||
gopkg.in/natefinch/lumberjack.v2 v2.0.0 // indirect
|
||||
gopkg.in/olivere/elastic.v6 v6.2.37 // indirect
|
||||
gopkg.in/yaml.v2 v2.4.0 // indirect
|
||||
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
|
||||
)
|
||||
@@ -1,27 +0,0 @@
|
||||
From 556e16211ed1b4c146ca2a094688618458182ae7 Mon Sep 17 00:00:00 2001
|
||||
From: Your Name <you@example.com>
|
||||
Date: Wed, 6 Jun 2018 12:34:56 +0100
|
||||
Subject: [PATCH] go 1.11 backport
|
||||
|
||||
---
|
||||
store/sqlstore/channel_store.go | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/store/sqlstore/channel_store.go b/store/sqlstore/channel_store.go
|
||||
index cf63c706d..dae7c8c9c 100644
|
||||
--- a/store/sqlstore/channel_store.go
|
||||
+++ b/store/sqlstore/channel_store.go
|
||||
@@ -2072,9 +2072,9 @@ func (s SqlChannelStore) SearchAllChannels(term string, opts store.ChannelSearch
|
||||
|
||||
likeClause, likeTerm := s.buildLIKEClause(term, "c.Name, c.DisplayName, c.Purpose")
|
||||
if len(likeTerm) > 0 {
|
||||
- likeClause = strings.ReplaceAll(likeClause, ":LikeTerm", "'"+likeTerm+"'")
|
||||
+ likeClause = strings.Replace(likeClause, ":LikeTerm", "'"+likeTerm+"'", -1)
|
||||
fulltextClause, fulltextTerm := s.buildFulltextClause(term, "c.Name, c.DisplayName, c.Purpose")
|
||||
- fulltextClause = strings.ReplaceAll(fulltextClause, ":FulltextTerm", "'"+fulltextTerm+"'")
|
||||
+ fulltextClause = strings.Replace(fulltextClause, ":FulltextTerm", "'"+fulltextTerm+"'", -1)
|
||||
query = query.Where("(" + likeClause + " OR " + fulltextClause + ")")
|
||||
}
|
||||
|
||||
--
|
||||
2.11.0
|
||||
Reference in New Issue
Block a user