mirror of
https://github.com/YunoHost-Apps/snserver_ynh.git
synced 2024-09-03 20:26:22 +02:00
Merge pull request #52 from YunoHost-Apps/ci-auto-update-2021.10.29
Upgrade to 2021.10.29
This commit is contained in:
commit
8064c66dbc
9 changed files with 22 additions and 16 deletions
|
@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
|
|||
|
||||
The Standard Notes syncing server. An end-to-end encrypted note-taking app.
|
||||
|
||||
**Shipped version:** 2021.10.10~ynh1
|
||||
**Shipped version:** 2021.10.29~ynh1
|
||||
|
||||
**Demo:** https://standardnotes.org/demo
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
|
|||
|
||||
|
||||
|
||||
**Version incluse :** 2021.10.10~ynh1
|
||||
**Version incluse :** 2021.10.29~ynh1
|
||||
|
||||
**Démo :** https://standardnotes.org/demo
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
SOURCE_URL=https://github.com/standardnotes/api-gateway/archive/1.25.1.tar.gz
|
||||
SOURCE_SUM=fa9095331e5a0eb18e4d91812697d680b6b175c661b47261bb37f48d7677b42c
|
||||
SOURCE_URL=https://github.com/standardnotes/api-gateway/archive/1.26.1.tar.gz
|
||||
SOURCE_SUM=3fe3ea593dc1feca708c35786bf140f8445d964a4503145d0aa268bf0091a337
|
||||
SOURCE_SUM_PRG=sha256sum
|
||||
SOURCE_FORMAT=tar.gz
|
||||
SOURCE_IN_SUBDIR=true
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
SOURCE_URL=https://github.com/standardnotes/auth/archive/1.22.1.tar.gz
|
||||
SOURCE_SUM=c1a56542498a830e772cc3db4d2e85ec66965b972a00af13c822cec65313acc7
|
||||
SOURCE_URL=https://github.com/standardnotes/auth/archive/1.24.2.tar.gz
|
||||
SOURCE_SUM=8a38eb876a2b8c4b65309c7dd94df71817d8267e86377618a76964561ed7a45c
|
||||
SOURCE_SUM_PRG=sha256sum
|
||||
SOURCE_FORMAT=tar.gz
|
||||
SOURCE_IN_SUBDIR=true
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
SOURCE_URL=https://github.com/standardnotes/syncing-server-js/archive/1.42.1.tar.gz
|
||||
SOURCE_SUM=f5816e3f14acc52b78720e568417409cd8d1468b4c566a0b1117b861f0e036ed
|
||||
SOURCE_URL=https://github.com/standardnotes/syncing-server-js/archive/1.42.6.tar.gz
|
||||
SOURCE_SUM=4b7adcbffe4936e1676f21a4d42bf68a3299421429716b08dcbb545d3a047f37
|
||||
SOURCE_SUM_PRG=sha256sum
|
||||
SOURCE_FORMAT=tar.gz
|
||||
SOURCE_IN_SUBDIR=true
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
"description": {
|
||||
"en": "The Standard Notes syncing server. An end-to-end encrypted note-taking app."
|
||||
},
|
||||
"version": "2021.10.10~ynh1",
|
||||
"version": "2021.10.29~ynh1",
|
||||
"url": "https://github.com/standardnotes/standalone",
|
||||
"upstream": {
|
||||
"license": "AGPL-3.0-or-later",
|
||||
|
|
|
@ -6,9 +6,9 @@
|
|||
RUBY_VERSION="2.7.3"
|
||||
NODEJS_VERSION="15.11.0"
|
||||
|
||||
syncing_server_js_version="1.42.1"
|
||||
auth_version="1.22.1"
|
||||
api_gateway_version="1.25.1"
|
||||
syncing_server_js_version="1.42.6"
|
||||
auth_version="1.24.2"
|
||||
api_gateway_version="1.26.1"
|
||||
extensions_version="2021.08.27"
|
||||
|
||||
swap_needed=2048
|
||||
|
|
|
@ -119,9 +119,7 @@ ynh_script_progression --message="Setting up source files..." --weight=2
|
|||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
mkdir -p "$final_path/live"
|
||||
ynh_setup_source --source_id=app_syncing-server-js --dest_dir="$final_path/live/syncing-server-js"
|
||||
ynh_setup_source --source_id=app_syncing-server-js --dest_dir="$final_path/live/syncing-server-js-worker"
|
||||
ynh_setup_source --source_id=app_auth --dest_dir="$final_path/live/auth"
|
||||
ynh_setup_source --source_id=app_auth --dest_dir="$final_path/live/auth-worker"
|
||||
ynh_setup_source --source_id=app_api-gateway --dest_dir="$final_path/live/api-gateway"
|
||||
|
||||
chmod 750 "$final_path"
|
||||
|
|
|
@ -267,6 +267,14 @@ then
|
|||
ynh_remove_app_dependencies
|
||||
fi
|
||||
|
||||
# Remove unneeded data
|
||||
if [ -e "$final_path/live/syncing-server-js-worker" ]; then
|
||||
ynh_secure_remove --file="$final_path/live/syncing-server-js-worker"
|
||||
fi
|
||||
if [ -e "$final_path/live/auth-worker" ]; then
|
||||
ynh_secure_remove --file="$final_path/live/auth-worker"
|
||||
fi
|
||||
|
||||
#=================================================
|
||||
# CREATE DEDICATED USER
|
||||
#=================================================
|
||||
|
@ -293,7 +301,7 @@ then
|
|||
ynh_backup_if_checksum_is_different --file=$config_syncing_server_js
|
||||
ynh_backup_if_checksum_is_different --file=$config_syncing_server_js_worker
|
||||
# Remove destination directory
|
||||
ynh_secure_remove --file="$final_path/live/syncing_server_js"
|
||||
ynh_secure_remove --file="$final_path/live/syncing-server-js"
|
||||
ynh_secure_remove --file="$config_syncing_server_js"
|
||||
ynh_secure_remove --file="$config_syncing_server_js_worker"
|
||||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
|
@ -320,7 +328,7 @@ then
|
|||
# Backup files to keep
|
||||
ynh_backup_if_checksum_is_different --file=$config_api_gateway
|
||||
# Remove destination directory
|
||||
ynh_secure_remove --file="$final_path/live/api_gateway"
|
||||
ynh_secure_remove --file="$final_path/live/api-gateway"
|
||||
ynh_secure_remove --file="$config_api_gateway"
|
||||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
mkdir -p "$final_path/live"
|
||||
|
|
Loading…
Add table
Reference in a new issue