From 4ae1dea8e540fd5c530fda4bbbe1c8c04b9b1753 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sat, 26 Mar 2022 06:26:26 +0000 Subject: [PATCH 1/7] Upgrade to v0.7.0 --- conf/app.src | 5 ++--- manifest.json | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/conf/app.src b/conf/app.src index c89f70f..69c4e69 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,7 +1,6 @@ -SOURCE_URL=https://api.github.com/repos/matrix-org/dendrite/tarball/v0.6.5 -SOURCE_SUM=b75e8515596658f2e1d6413c0f5a20fb6e92f51fd6f7675c925efd1f75c09200 +SOURCE_URL=https://api.github.com/repos/matrix-org/dendrite/tarball/v0.7.0 +SOURCE_SUM=f644f33fa1e33a64acfb81e18434ec32653517cd762bc252ff5245866ad99cc3 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true SOURCE_FILENAME= -SOURCE_EXTRACT=true diff --git a/manifest.json b/manifest.json index e280b1b..a755bcd 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Matrix homeserver of second generation", "fr": "Serveur Matrix de seconde génération" }, - "version": "0.6.5~ynh1", + "version": "0.7.0~ynh1", "url": "https://matrix.org/", "upstream": { "license": "Apache-2.0", From df31f108400c958cc4f0b56b268367e45f29e618 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sat, 26 Mar 2022 06:26:29 +0000 Subject: [PATCH 2/7] Auto-update README --- README.md | 2 +- README_fr.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5393615..a5faeb0 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ Dendrite is a second-generation Matrix homeserver written in Go. It intends to p - Scalable: can run on multiple machines and eventually scale to massive homeserver deployments. -**Shipped version:** 0.6.5~ynh1 +**Shipped version:** 0.7.0~ynh1 diff --git a/README_fr.md b/README_fr.md index aacc821..fcc0780 100644 --- a/README_fr.md +++ b/README_fr.md @@ -20,7 +20,7 @@ Dendrite is a second-generation Matrix homeserver written in Go. It intends to p - Scalable: can run on multiple machines and eventually scale to massive homeserver deployments. -**Version incluse :** 0.6.5~ynh1 +**Version incluse :** 0.7.0~ynh1 From 9192168904ec4725b92817c580da42ea7a062d32 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sat, 2 Apr 2022 22:12:58 +0200 Subject: [PATCH 3/7] add GOPATH --- scripts/install | 1 + scripts/upgrade | 1 + 2 files changed, 2 insertions(+) diff --git a/scripts/install b/scripts/install index badea49..8a83478 100644 --- a/scripts/install +++ b/scripts/install @@ -126,6 +126,7 @@ ynh_exec_warn_less ynh_install_go --go_version=$GO_VERSION pushd "$final_path/build" # Build the sources ynh_use_go + export GOPATH=$final_path/go CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/dendrite-monolith-server > /dev/null 2>&1 CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/goose > /dev/null 2>&1 CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/create-account > /dev/null 2>&1 diff --git a/scripts/upgrade b/scripts/upgrade index 4ae8a4e..1cd0e06 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -120,6 +120,7 @@ then pushd "$final_path/build" # Build the sources ynh_use_go + export GOPATH=$final_path/go CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/dendrite-monolith-server > /dev/null 2>&1 CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/goose > /dev/null 2>&1 CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/create-account > /dev/null 2>&1 From 034e2144c11bac31dfc860a78760e55ef14d6ea8 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sat, 2 Apr 2022 22:59:26 +0200 Subject: [PATCH 4/7] Fix GOCACHE --- scripts/install | 3 ++- scripts/upgrade | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 8a83478..15d9de9 100644 --- a/scripts/install +++ b/scripts/install @@ -126,7 +126,8 @@ ynh_exec_warn_less ynh_install_go --go_version=$GO_VERSION pushd "$final_path/build" # Build the sources ynh_use_go - export GOPATH=$final_path/go + export GOPATH="$final_path/go" + export GOCACHE="$final_path/.cache" CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/dendrite-monolith-server > /dev/null 2>&1 CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/goose > /dev/null 2>&1 CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/create-account > /dev/null 2>&1 diff --git a/scripts/upgrade b/scripts/upgrade index 1cd0e06..c42228c 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -120,7 +120,8 @@ then pushd "$final_path/build" # Build the sources ynh_use_go - export GOPATH=$final_path/go + export GOPATH="$final_path/go" + export GOCACHE="$final_path/.cache" CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/dendrite-monolith-server > /dev/null 2>&1 CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/goose > /dev/null 2>&1 CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/create-account > /dev/null 2>&1 From 15783afe2705f8b42d2637242aee6afc41c85595 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sun, 3 Apr 2022 13:31:51 +0200 Subject: [PATCH 5/7] improving go --- scripts/install | 4 ++-- scripts/upgrade | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/install b/scripts/install index 15d9de9..2394a3d 100644 --- a/scripts/install +++ b/scripts/install @@ -126,8 +126,8 @@ ynh_exec_warn_less ynh_install_go --go_version=$GO_VERSION pushd "$final_path/build" # Build the sources ynh_use_go - export GOPATH="$final_path/go" - export GOCACHE="$final_path/.cache" + export GOPATH="$final_path/build/go" + export GOCACHE="$final_path/build/.cache" CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/dendrite-monolith-server > /dev/null 2>&1 CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/goose > /dev/null 2>&1 CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/create-account > /dev/null 2>&1 diff --git a/scripts/upgrade b/scripts/upgrade index c42228c..7eb6e9b 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -120,8 +120,8 @@ then pushd "$final_path/build" # Build the sources ynh_use_go - export GOPATH="$final_path/go" - export GOCACHE="$final_path/.cache" + export GOPATH="$final_path/build/go" + export GOCACHE="$final_path/build/.cache" CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/dendrite-monolith-server > /dev/null 2>&1 CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/goose > /dev/null 2>&1 CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/create-account > /dev/null 2>&1 From abd0638c77726308e613fede0b4e25cfd13b5c00 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Fri, 8 Apr 2022 06:28:21 +0000 Subject: [PATCH 6/7] Upgrade to v0.8.1 --- conf/app.src | 4 ++-- manifest.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/conf/app.src b/conf/app.src index 69c4e69..dcab461 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://api.github.com/repos/matrix-org/dendrite/tarball/v0.7.0 -SOURCE_SUM=f644f33fa1e33a64acfb81e18434ec32653517cd762bc252ff5245866ad99cc3 +SOURCE_URL=https://api.github.com/repos/matrix-org/dendrite/tarball/v0.8.1 +SOURCE_SUM=0429a7fcd95a3b43cf72144571faac65a71e49e6b86f96b2471e22e5deeb79dc SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true diff --git a/manifest.json b/manifest.json index a755bcd..5ec397f 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Matrix homeserver of second generation", "fr": "Serveur Matrix de seconde génération" }, - "version": "0.7.0~ynh1", + "version": "0.8.1~ynh1", "url": "https://matrix.org/", "upstream": { "license": "Apache-2.0", From b2e32f245fe5d47a5de7a81a59778eb55748444f Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Fri, 8 Apr 2022 06:28:25 +0000 Subject: [PATCH 7/7] Auto-update README --- README.md | 2 +- README_fr.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a5faeb0..94b3219 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ Dendrite is a second-generation Matrix homeserver written in Go. It intends to p - Scalable: can run on multiple machines and eventually scale to massive homeserver deployments. -**Shipped version:** 0.7.0~ynh1 +**Shipped version:** 0.8.1~ynh1 diff --git a/README_fr.md b/README_fr.md index fcc0780..b5caf52 100644 --- a/README_fr.md +++ b/README_fr.md @@ -20,7 +20,7 @@ Dendrite is a second-generation Matrix homeserver written in Go. It intends to p - Scalable: can run on multiple machines and eventually scale to massive homeserver deployments. -**Version incluse :** 0.7.0~ynh1 +**Version incluse :** 0.8.1~ynh1