mirror of
https://github.com/SmartHoneybee/ubiquitous-memory
synced 2025-04-29 15:19:41 +02:00
Bump github.com/mattermost/mattermost-server/v6 from 6.2.1 to 6.3.0 in /dependabot (#140)
* Bump github.com/mattermost/mattermost-server/v6 in /dependabot Bumps [github.com/mattermost/mattermost-server/v6](https://github.com/mattermost/mattermost-server) from 6.2.1 to 6.3.0. - [Release notes](https://github.com/mattermost/mattermost-server/releases) - [Changelog](https://github.com/mattermost/mattermost-server/blob/master/CHANGELOG.md) - [Commits](https://github.com/mattermost/mattermost-server/compare/v6.2.1...v6.3.0) --- updated-dependencies: - dependency-name: github.com/mattermost/mattermost-server/v6 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Add python2 dependency Apparently something in 6.3.0 is using python2 for the first time? * Use node v15 by default We are now getting this error when building: /build/.node-gyp/16.13.2/include/node/v8-internal.h:492:38: error: 'remove_cv_t' is not a member of 'std' which the internet suggests is a problem with node 16 and node-sass. According to https://stackoverflow.com/questions/67241196/error-no-template-named-remove-cv-t-in-namespace-std-did-you-mean-remove , supposedly newer versions of node-sass support node 16, and the other solution is to pass -std=c++14 instead of c++0x (which is what is being done right now), but I can't say for sure whether this build script will work with CXXFLAGS or not. The other fix would seem to be to update node-sass to a version that supports node16, but that would presumably be more patching of files, this time in mattermost-webapp, so I'm trying the least-invasive option first. * Update release.mk patch * Update how we retrieve the Mattermost version With mmctl in the require list in the go.mod, mattermost-server no longer appears on the same line as the require statement, so splitting by spaces means we now need the second split entry instead of the third. We could also fix this by removing mmctl from the go.mod, which I was going to do, but that means every Dependabot update would no longer work. So going forward we will need to ensure that the go.mod always has the mattermost-server require on its own line instead of inline with the require statement. Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: parnic-sks <chris@straykitestudios.com>
This commit is contained in:
parent
a02a6b4386
commit
69dda8131e
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -56,7 +56,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Set environment from runtime properties
|
- name: Set environment from runtime properties
|
||||||
run: |
|
run: |
|
||||||
echo "MATTERMOST_RELEASE=$(grep 'mattermost-server' dependabot/go.mod | cut -d' ' -f3)" >> $GITHUB_ENV
|
echo "MATTERMOST_RELEASE=$(grep 'mattermost-server' dependabot/go.mod | cut -d' ' -f2)" >> $GITHUB_ENV
|
||||||
echo "MMCTL_RELEASE=$MATTERMOST_RELEASE" >> $GITHUB_ENV
|
echo "MMCTL_RELEASE=$MATTERMOST_RELEASE" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Pull docker image
|
- name: Pull docker image
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
diff --git a/build/release.mk b/build/release.mk
|
diff --git a/build/release.mk b/build/release.mk
|
||||||
index 017746342..3c3e76bea 100644
|
index faa027239..df40f0c68 100644
|
||||||
--- a/build/release.mk
|
--- a/build/release.mk
|
||||||
+++ b/build/release.mk
|
+++ b/build/release.mk
|
||||||
@@ -99,7 +99,7 @@ package-prep:
|
@@ -99,7 +99,7 @@ package-prep:
|
||||||
@ -11,22 +11,14 @@ index 017746342..3c3e76bea 100644
|
|||||||
cp -RL fonts $(DIST_PATH)
|
cp -RL fonts $(DIST_PATH)
|
||||||
cp -RL templates $(DIST_PATH)
|
cp -RL templates $(DIST_PATH)
|
||||||
rm -rf $(DIST_PATH)/templates/*.mjml $(DIST_PATH)/templates/partials/
|
rm -rf $(DIST_PATH)/templates/*.mjml $(DIST_PATH)/templates/partials/
|
||||||
@@ -159,13 +159,14 @@ else
|
@@ -159,8 +159,8 @@ else
|
||||||
cp $(GOBIN)/$(CURRENT_PACKAGE_ARCH)/$(MM_BIN_NAME) $(DIST_PATH_GENERIC)/bin # from cross-compiled bin dir
|
cp $(GOBIN)/$(CURRENT_PACKAGE_ARCH)/$(MM_BIN_NAME) $(DIST_PATH_GENERIC)/bin # from cross-compiled bin dir
|
||||||
endif
|
endif
|
||||||
|
|
||||||
+ @#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 or mmctl yet for $(CURRENT_PACKAGE_ARCH) platform, skipping..."
|
|
||||||
+ echo "No plugins yet for $(CURRENT_PACKAGE_ARCH) platform, skipping..."
|
|
||||||
else ifeq ("linux_arm64","$(CURRENT_PACKAGE_ARCH)")
|
|
||||||
- echo "No plugins or mmctl yet for $(CURRENT_PACKAGE_ARCH) platform, skipping..."
|
|
||||||
+ echo "No plugins yet for $(CURRENT_PACKAGE_ARCH) platform, skipping..."
|
|
||||||
else
|
|
||||||
- #Download MMCTL for $(MMCTL_PLATFORM)
|
- #Download MMCTL for $(MMCTL_PLATFORM)
|
||||||
- scripts/download_mmctl_release.sh $(MMCTL_PLATFORM) $(DIST_PATH_GENERIC)/bin
|
- scripts/download_mmctl_release.sh $(MMCTL_PLATFORM) $(DIST_PATH_GENERIC)/bin
|
||||||
@# Prepackage plugins
|
+ @#Copy cross-compiled MMCTL
|
||||||
@for plugin_package in $(PLUGIN_PACKAGES) ; do \
|
+ cp "${HOME}/go/src/github.com/mattermost/mmctl/mmctl" $(DIST_PATH_GENERIC)/bin
|
||||||
ARCH=$(PLUGIN_ARCH); \
|
|
||||||
|
ifeq ("darwin_arm64","$(CURRENT_PACKAGE_ARCH)")
|
||||||
|
echo "No plugins yet for $(CURRENT_PACKAGE_ARCH) platform, skipping..."
|
||||||
|
4
build.sh
4
build.sh
@ -10,7 +10,7 @@ MATTERMOST_RELEASE="${MATTERMOST_RELEASE:-v5.26.0}"
|
|||||||
MMCTL_RELEASE="${MMCTL_RELEASE:-v5.26.0}"
|
MMCTL_RELEASE="${MMCTL_RELEASE:-v5.26.0}"
|
||||||
# node key id and release
|
# node key id and release
|
||||||
NODE_KEY="${NODE_KEY:-9FD3B784BC1C6FC31A8A0A1C1655A0AB68576280}"
|
NODE_KEY="${NODE_KEY:-9FD3B784BC1C6FC31A8A0A1C1655A0AB68576280}"
|
||||||
NODE_RELEASE="${NODE_RELEASE:-16}"
|
NODE_RELEASE="${NODE_RELEASE:-15}"
|
||||||
# golang version
|
# golang version
|
||||||
GO_VERSION="${GO_VERSION:-1.16.7}"
|
GO_VERSION="${GO_VERSION:-1.16.7}"
|
||||||
|
|
||||||
@ -48,7 +48,7 @@ if [ "$(id -u)" -eq 0 ]; then # as root user
|
|||||||
apt-get update
|
apt-get update
|
||||||
# install dependencies
|
# install dependencies
|
||||||
apt-get install --quiet \
|
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)
|
# install 'pngquant' build dependencies (required by node module)
|
||||||
apt-get build-dep --quiet \
|
apt-get build-dep --quiet \
|
||||||
pngquant
|
pngquant
|
||||||
|
@ -2,5 +2,7 @@ module github.com/SmartHoneybee/ubiquitous-memory/dependabot
|
|||||||
|
|
||||||
go 1.16
|
go 1.16
|
||||||
|
|
||||||
require github.com/mattermost/mattermost-server/v6 v6.2.1
|
require (
|
||||||
|
github.com/mattermost/mattermost-server/v6 v6.3.0
|
||||||
|
github.com/mattermost/mmctl v0.0.0-20211221153052-1bb2fec4c15e
|
||||||
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user