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

Merge pull request #67 from YunoHost-Apps/testing

2022.01.21~ynh1
This commit is contained in:
Fabian Wilkens 2022-02-27 22:46:03 +01:00 committed by GitHub
commit 4e8fb511d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 31 additions and 31 deletions

View file

@ -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. The Standard Notes syncing server. An end-to-end encrypted note-taking app.
**Shipped version:** 2022.01.17~ynh1 **Shipped version:** 2022.02.21~ynh1
**Demo:** https://standardnotes.org/demo **Demo:** https://standardnotes.org/demo

View file

@ -13,7 +13,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
**Version incluse :** 2022.01.17~ynh1 **Version incluse :** 2022.02.21~ynh1
**Démo :** https://standardnotes.org/demo **Démo :** https://standardnotes.org/demo

View file

@ -15,10 +15,10 @@
setup_private=0 setup_private=0
setup_public=1 setup_public=1
upgrade=1 upgrade=1
# 2021.09.09~yhn1 # 2022.01.17~yhn1
upgrade=1 from_commit=855bdcb966cf396a62edb2f1e17e7351642bbf50 upgrade=1 from_commit=2b94368d53d4e90e698f9ceb2ca5e47b07794e15
# 3.22.8~yhn2 ( Old Server version based on Ruby ) # 3.22.8~yhn2 ( Old Server version based on Ruby )
upgrade=1 from_commit=b0c7e9e6f16d286ec74fa3c1b9cdf8492f4dcb9b # upgrade=1 from_commit=b0c7e9e6f16d286ec74fa3c1b9cdf8492f4dcb9b
backup_restore=1 backup_restore=1
multi_instance=1 multi_instance=1
port_already_use=0 port_already_use=0
@ -27,8 +27,8 @@
Email= Email=
Notification= Notification=
;;; Upgrade options ;;; Upgrade options
; commit=855bdcb966cf396a62edb2f1e17e7351642bbf50 ; commit=2b94368d53d4e90e698f9ceb2ca5e47b07794e15
name=2021.09.09~ynh1 name=2022.01.17~ynh1
; commit=b0c7e9e6f16d286ec74fa3c1b9cdf8492f4dcb9b #; commit=b0c7e9e6f16d286ec74fa3c1b9cdf8492f4dcb9b
name=3.22.8~ynh2 # name=3.22.8~ynh2

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/standardnotes/api-gateway/archive/1.31.0.tar.gz SOURCE_URL=https://github.com/standardnotes/api-gateway/archive/1.33.0.tar.gz
SOURCE_SUM=94c75b6d8f111c36639965c1ba4c3340a81578768e3e58096d0455bc7b1fb200 SOURCE_SUM=5b2694f140b466e06ce89139d95c0307fcb99fc110b5e82e0434032ddf74ab7e
SOURCE_SUM_PRG=sha256sum SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz SOURCE_FORMAT=tar.gz
SOURCE_IN_SUBDIR=true SOURCE_IN_SUBDIR=true

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/standardnotes/auth/archive/1.33.0.tar.gz SOURCE_URL=https://github.com/standardnotes/auth/archive/1.38.0.tar.gz
SOURCE_SUM=2f2b68e575f83e22e937ccef698980ad1e1d80895159ac48bb23ae86817bb2b0 SOURCE_SUM=a18d9aa6a8f0f0c41cec84fa9f36ea97e6885d3e256fea7edd0448fc1a1273d9
SOURCE_SUM_PRG=sha256sum SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz SOURCE_FORMAT=tar.gz
SOURCE_IN_SUBDIR=true SOURCE_IN_SUBDIR=true

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/standardnotes/syncing-server-js/archive/1.45.1.tar.gz SOURCE_URL=https://github.com/standardnotes/syncing-server-js/archive/1.46.1.tar.gz
SOURCE_SUM=3655a84f849a8066822ddb2994f894e4a43e4b9ad4402e1859a27cc6bec3cd4f SOURCE_SUM=8ff8d10553b5f200dd66e1f898c7822ccb3e635015ddd71ae9c00dd72f58e28a
SOURCE_SUM_PRG=sha256sum SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz SOURCE_FORMAT=tar.gz
SOURCE_IN_SUBDIR=true SOURCE_IN_SUBDIR=true

View file

@ -5,7 +5,7 @@
"description": { "description": {
"en": "The Standard Notes syncing server. An end-to-end encrypted note-taking app." "en": "The Standard Notes syncing server. An end-to-end encrypted note-taking app."
}, },
"version": "2022.01.17~ynh1", "version": "2022.02.21~ynh1",
"url": "https://github.com/standardnotes/standalone", "url": "https://github.com/standardnotes/standalone",
"upstream": { "upstream": {
"license": "AGPL-3.0-or-later", "license": "AGPL-3.0-or-later",

View file

@ -6,9 +6,9 @@
RUBY_VERSION="2.7.3" RUBY_VERSION="2.7.3"
NODEJS_VERSION="16" NODEJS_VERSION="16"
syncing_server_js_version="1.45.1" syncing_server_js_version="1.46.1"
auth_version="1.33.0" auth_version="1.38.0"
api_gateway_version="1.31.0" api_gateway_version="1.33.0"
extensions_version="2021.08.27" extensions_version="2021.08.27"
swap_needed=2048 swap_needed=2048

View file

@ -206,18 +206,18 @@ ynh_script_progression --message="Installing Standard Notes - Syncing Server..."
ynh_use_nodejs ynh_use_nodejs
pushd "$final_path/live/syncing-server-js" pushd "$final_path/live/syncing-server-js"
ynh_print_info "Installing ... [1/3]" ynh_print_info "Installing ... [1/3]"
ynh_exec_as $app env NODE_OPTIONS="--max-old-space-size=$node_max_old_space_size" PATH=$ynh_node_load_PATH yarn install --pure-lockfile ynh_exec_warn_less ynh_exec_as $app env NODE_OPTIONS="--max-old-space-size=$node_max_old_space_size" PATH=$ynh_node_load_PATH yarn install --pure-lockfile
ynh_exec_as $app env NODE_OPTIONS="--max-old-space-size=$node_max_old_space_size" PATH=$ynh_node_load_PATH yarn build ynh_exec_warn_less ynh_exec_as $app env NODE_OPTIONS="--max-old-space-size=$node_max_old_space_size" PATH=$ynh_node_load_PATH yarn build
popd popd
pushd "$final_path/live/auth" pushd "$final_path/live/auth"
ynh_print_info "Installing ... [2/3]" ynh_print_info "Installing ... [2/3]"
ynh_exec_as $app env NODE_OPTIONS="--max-old-space-size=$node_max_old_space_size" PATH=$ynh_node_load_PATH yarn install --pure-lockfile ynh_exec_warn_less ynh_exec_as $app env NODE_OPTIONS="--max-old-space-size=$node_max_old_space_size" PATH=$ynh_node_load_PATH yarn install --pure-lockfile
ynh_exec_as $app env NODE_OPTIONS="--max-old-space-size=$node_max_old_space_size" PATH=$ynh_node_load_PATH yarn build ynh_exec_warn_less ynh_exec_as $app env NODE_OPTIONS="--max-old-space-size=$node_max_old_space_size" PATH=$ynh_node_load_PATH yarn build
popd popd
pushd "$final_path/live/api-gateway" pushd "$final_path/live/api-gateway"
ynh_print_info "Installing ... [3/3]" ynh_print_info "Installing ... [3/3]"
ynh_exec_as $app env NODE_OPTIONS="--max-old-space-size=$node_max_old_space_size" PATH=$ynh_node_load_PATH yarn install --pure-lockfile ynh_exec_warn_less ynh_exec_as $app env NODE_OPTIONS="--max-old-space-size=$node_max_old_space_size" PATH=$ynh_node_load_PATH yarn install --pure-lockfile
ynh_exec_as $app env NODE_OPTIONS="--max-old-space-size=$node_max_old_space_size" PATH=$ynh_node_load_PATH yarn build ynh_exec_warn_less ynh_exec_as $app env NODE_OPTIONS="--max-old-space-size=$node_max_old_space_size" PATH=$ynh_node_load_PATH yarn build
popd popd
#================================================= #=================================================
# INSTALLING Standard Notes - Extensions # INSTALLING Standard Notes - Extensions

View file

@ -424,24 +424,24 @@ then
if [[ "$syncing_server_js_version_installed" < "$syncing_server_js_version" ]] if [[ "$syncing_server_js_version_installed" < "$syncing_server_js_version" ]]
then then
pushd "$final_path/live/syncing-server-js" pushd "$final_path/live/syncing-server-js"
ynh_exec_as $app env NODE_OPTIONS="--max-old-space-size=$node_max_old_space_size" PATH=$ynh_node_load_PATH yarn install --pure-lockfile ynh_exec_warn_less ynh_exec_as $app env NODE_OPTIONS="--max-old-space-size=$node_max_old_space_size" PATH=$ynh_node_load_PATH yarn install --pure-lockfile
ynh_exec_as $app env NODE_OPTIONS="--max-old-space-size=$node_max_old_space_size" PATH=$ynh_node_load_PATH yarn build ynh_exec_warn_less ynh_exec_as $app env NODE_OPTIONS="--max-old-space-size=$node_max_old_space_size" PATH=$ynh_node_load_PATH yarn build
popd popd
ynh_app_setting_set --app=$app --key=syncing_server_js_version --value=$syncing_server_js_version ynh_app_setting_set --app=$app --key=syncing_server_js_version --value=$syncing_server_js_version
fi fi
if [[ "$auth_version_installed" < "$auth_version" ]] if [[ "$auth_version_installed" < "$auth_version" ]]
then then
pushd "$final_path/live/auth" pushd "$final_path/live/auth"
ynh_exec_as $app env NODE_OPTIONS="--max-old-space-size=$node_max_old_space_size" PATH=$ynh_node_load_PATH yarn install --pure-lockfile ynh_exec_warn_less ynh_exec_as $app env NODE_OPTIONS="--max-old-space-size=$node_max_old_space_size" PATH=$ynh_node_load_PATH yarn install --pure-lockfile
ynh_exec_as $app env NODE_OPTIONS="--max-old-space-size=$node_max_old_space_size" PATH=$ynh_node_load_PATH yarn build ynh_exec_warn_less ynh_exec_as $app env NODE_OPTIONS="--max-old-space-size=$node_max_old_space_size" PATH=$ynh_node_load_PATH yarn build
popd popd
ynh_app_setting_set --app=$app --key=auth_version --value=$auth_version ynh_app_setting_set --app=$app --key=auth_version --value=$auth_version
fi fi
if [[ "$api_gateway_version_installed" < "$api_gateway_version" ]] if [[ "$api_gateway_version_installed" < "$api_gateway_version" ]]
then then
pushd "$final_path/live/api-gateway" pushd "$final_path/live/api-gateway"
ynh_exec_as $app env NODE_OPTIONS="--max-old-space-size=$node_max_old_space_size" PATH=$ynh_node_load_PATH yarn install --pure-lockfile ynh_exec_warn_less ynh_exec_as $app env NODE_OPTIONS="--max-old-space-size=$node_max_old_space_size" PATH=$ynh_node_load_PATH yarn install --pure-lockfile
ynh_exec_as $app env NODE_OPTIONS="--max-old-space-size=$node_max_old_space_size" PATH=$ynh_node_load_PATH yarn build ynh_exec_warn_less ynh_exec_as $app env NODE_OPTIONS="--max-old-space-size=$node_max_old_space_size" PATH=$ynh_node_load_PATH yarn build
popd popd
ynh_app_setting_set --app=$app --key=api_gateway_version --value=$api_gateway_version ynh_app_setting_set --app=$app --key=api_gateway_version --value=$api_gateway_version
fi fi