1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/discourse_ynh.git synced 2024-09-03 18:26:18 +02:00

Upgrade to upstream version 2.0.4

This commit is contained in:
Jimmy Monin 2018-08-22 22:11:39 +02:00
parent b76905fdec
commit 6b55b940e8
5 changed files with 10 additions and 7 deletions

View file

@ -32,7 +32,7 @@ Finally, if installing on a low-end ARM device (e.g. Raspberry Pi):
To learn more about the philosophy and goals of the project, [visit **discourse.org**](http://www.discourse.org). To learn more about the philosophy and goals of the project, [visit **discourse.org**](http://www.discourse.org).
**Shipped version:** 2.0.3 **Shipped version:** 2.0.4
## Screenshots ## Screenshots

View file

@ -12,7 +12,7 @@
setup_private=1 setup_private=1
setup_public=1 setup_public=1
upgrade=1 upgrade=1
upgrade=1 from_commit=f67986641f48d9e7b5df99f13fefe460094a5d81 upgrade=1 from_commit=c97db21b4a821651355c48c4f7efdfb763e2a072
backup_restore=1 backup_restore=1
# Activate multi-instance test only if you have more than 2Gb RAM! # Activate multi-instance test only if you have more than 2Gb RAM!
multi_instance=1 multi_instance=1
@ -36,6 +36,6 @@
Email= Email=
Notification=none Notification=none
;;; Upgrade options ;;; Upgrade options
; commit=f67986641f48d9e7b5df99f13fefe460094a5d81 ; commit=c97db21b4a821651355c48c4f7efdfb763e2a072
name=Use unicorn instead of puma, hence not needing a separate sidekiq ser name=Upgrade to upstream version 2.0.2
manifest_arg=domain=DOMAIN&path=PATH&admin=USER&is_public=1& manifest_arg=domain=DOMAIN&path=PATH&admin=USER&is_public=1&

View file

@ -1,3 +1,3 @@
SOURCE_URL=https://github.com/discourse/discourse/archive/v2.0.3.tar.gz SOURCE_URL=https://github.com/discourse/discourse/archive/v2.0.4.tar.gz
SOURCE_SUM=ce6d91e429cea8f5e7c2ac005ae3908986c086a83a684d21a0c608bc3b21e757 SOURCE_SUM=fdc303ae5ae4377f155be9f4e41ce74ddcab50543b7d6366333cf9194e1bcb93
SOURCE_FORMAT=tar.gz SOURCE_FORMAT=tar.gz

View file

@ -6,7 +6,7 @@
"en": "Discussion platform", "en": "Discussion platform",
"fr": "Plateforme de discussion" "fr": "Plateforme de discussion"
}, },
"version": "2.0.3~ynh1", "version": "2.0.4~ynh1",
"url": "http://Discourse.org", "url": "http://Discourse.org",
"license": "GPL-2.0", "license": "GPL-2.0",
"maintainer": { "maintainer": {

View file

@ -134,6 +134,9 @@ if ! ynh_is_upstream_up_to_date ; then
# Configure redis # Configure redis
ynh_replace_string "redis_db = 0" "redis_db = $redis_db" "$discourse_config_file" ynh_replace_string "redis_db = 0" "redis_db = $redis_db" "$discourse_config_file"
# Don't notify on new versions (handled by the YunoHost package)
ynh_replace_string "new_version_emails = true" "new_version_emails = false" "$discourse_config_file"
# Calculate and store the config file checksum # Calculate and store the config file checksum
ynh_store_file_checksum "$discourse_config_file" ynh_store_file_checksum "$discourse_config_file"