diff --git a/README.md b/README.md index 183b27a..cde3dc0 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Instant messaging server matrix network. Yunohost chatroom with matrix : [https://riot.im/app/#/room/#yunohost:matrix.org](https://riot.im/app/#/room/#yunohost:matrix.org) -**Shipped version:** 0.26.1 +**Shipped version:** 0.27.2 Configuration ------------- diff --git a/conf/armv7.src b/conf/armv7.src index eb9790a..a58496f 100644 --- a/conf/armv7.src +++ b/conf/armv7.src @@ -1,6 +1,6 @@ -SOURCE_URL=https://github.com/Josue-T/synapse_python_build/releases/download/v0.26.1/matrix-synapse_0.26.1-bin1_armv7l.tar.gz -SOURCE_SUM=ca5e2dfed4f5658696d0d061951b6351efdc94625a8d615beba26d0b37f4a030 +SOURCE_URL=https://github.com/Josue-T/synapse_python_build/releases/download/v0.27.2/matrix-synapse_0.27.2-bin1_armv7l.tar.gz +SOURCE_SUM=4dfba2316986ad0e3df7d3a14c79006d3f2dc48ef062fc14bb1614f4af99a2fb # (Optional) Program to check the integrity (sha256sum, md5sum...) # default: sha256 SOURCE_SUM_PRG=sha256sum diff --git a/conf/python_source.src b/conf/python_source.src index 0116c62..f119177 100644 --- a/conf/python_source.src +++ b/conf/python_source.src @@ -1,2 +1,2 @@ -SOURCE_URL=https://github.com/matrix-org/synapse/archive/v0.26.1.tar.gz -SOURCE_SUM=52cf9322e6cc4d4b8a745a3acb369fe828f471ab3de674e8f636c9d2abeaf5da +SOURCE_URL=https://github.com/matrix-org/synapse/archive/v0.27.2.tar.gz +SOURCE_SUM=01080b19f66779335eb68d203c34a4caf681d3c3ed66a1ebd923dcd0833effa2 diff --git a/manifest.json b/manifest.json index 99b0cfd..a5da53a 100644 --- a/manifest.json +++ b/manifest.json @@ -9,7 +9,7 @@ "en": "Instant messaging server who use matrix", "fr": "Un serveur de messagerie instantané basé sur matrix" }, - "version": "0.26.1~ynh1", + "version": "0.27.2~ynh1", "url": "http://matrix.org", "license": "Apache-2.0", "maintainer": { diff --git a/scripts/upgrade b/scripts/upgrade index 1fed1d7..ee771bc 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -48,7 +48,11 @@ cli_port=$(ynh_app_setting_get $app cli_port) #================================================= # To be sure that the migration is sucessfull we check that the old synapse version is compatible with the synapse_port_db script. -if [[ -z $synapse_old_version ]] && [[ $(dpkg -l | grep -c -E "ii.*matrix-synapse.*0.25") != 1 ]] && [[ $(dpkg -l | grep -c -E "ii.*matrix-synapse.*0.26") != 1 ]] +# We need to make the user able to do the migration to the new package. +# While the official synapse version is updated, the idea is to test the migration with the new version. +# If the migration pass we can update this next line with the new synapse package. +# For more information see comment : https://github.com/YunoHost-Apps/synapse_ynh/pull/40#pullrequestreview-108680051 +if [[ -z $synapse_old_version ]] && [[ $(dpkg -l | grep -c -E "ii.*matrix-synapse.*0.27") != 1 ]] && [[ $(dpkg -l | grep -c -E "ii.*matrix-synapse.*0.26") != 1 ]] then ynh_die "Update from this synapse version is not available now. You need to wait for the next update." fi