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

Update to 3.6.2

This commit is contained in:
Fabian Wilkens 2021-03-14 16:24:54 +01:00
parent 77f06174f8
commit 1121a66f89
No known key found for this signature in database
GPG key ID: 23DFA025BB4E9FAB
7 changed files with 28 additions and 25 deletions

View file

@ -13,7 +13,7 @@ A safe and private place for your life's work.
Standard Notes is a simple and private notes app available on most platforms, including Web, Mac, Windows, Linux, iOS, and Android. It focuses on simplicity, and encrypts data locally before it ever touches a cloud. This means no one can read your notes but you (not even us).
**Shipped version:** 3.5.11
**Shipped version:** 3.6.2
* Apps available for free. https://standardnotes.org/
* Desktop (Windows, Mac, Linux)
* Mobile (Android and iOS)

View file

@ -7,7 +7,6 @@ Type=simple
User=__APP__
Group=__APP__
EnvironmentFile=__FINALPATH__/live/.env
Environment=__ENV_PATH__
WorkingDirectory=__FINALPATH__/live/
ExecStart=/opt/rbenv/versions/__RUBY_VERSION__/bin/bundle exec puma -C config/puma.rb -p __PORT__ -e production
StandardOutput=append:/var/log/__APP__/snweb.log

View file

@ -5,21 +5,19 @@
"description": {
"en": "The Standard Notes Web App. An end-to-end encrypted note-taking app. Web, Mac, Windows, Linux, iOS, and Android."
},
"version": "3.5.11~ynh1",
"version": "3.6.2~ynh1",
"url": "https://github.com/standardnotes/web",
"license": "free",
"license": "AGPL-3.0-or-later",
"maintainer": {
"name": "Fabian Wilkens",
"email": "wilkens.fabian+github@gmail.com",
"url": "https://github.com/FabianWilkens/snweb_ynh"
"email": "46000361+FabianWilkens@users.noreply.github.com"
},
"requirements": {
"yunohost": ">= 4.0"
},
"multi_instance": true,
"services": [
"nginx",
"mysql"
"nginx"
],
"arguments": {
"install" : [

View file

@ -13,10 +13,10 @@ pkg_dependencies="\
"
RUBY_VERSION="2.7.2"
NODEJS_VERSION="10"
NODEJS_VERSION="15.11.0"
SOURCE="https://github.com/standardnotes/web"
COMMIT="31676f1cc61898147b363d442593870ae880d3e5"
COMMIT="22da9ea942dbb9f7fe66af0bf43290b06b7fb482"
#=================================================
# PERSONAL HELPERS

View file

@ -142,11 +142,13 @@ chown -R $app: "$final_path"
pushd "$final_path/live"
git submodule update --init --recursive --quiet
ynh_use_nodejs
exec_as $app $ENV_PATH $ynh_npm --loglevel=error ci
env PATH=$ENV_PATH /opt/rbenv/versions/$RUBY_VERSION/bin/gem install bundler --quiet
env PATH=$ENV_PATH /opt/rbenv/versions/$RUBY_VERSION/bin/bundler install --quiet
exec_as $app $ENV_PATH $ynh_npm --loglevel=error run bundle
exec_as $app $ENV_PATH /opt/rbenv/versions/$RUBY_VERSION/bin/bundle exec rails assets:precompile --quiet
/opt/rbenv/versions/$RUBY_VERSION/bin/gem install bundler --quiet
/opt/rbenv/versions/$RUBY_VERSION/bin/bundler install --quiet
exec_as $app /opt/rbenv/versions/$RUBY_VERSION/bin/bundle config set --local path 'vendor/bundle'
exec_as $app /opt/rbenv/versions/$RUBY_VERSION/bin/bundle install -j$(getconf _NPROCESSORS_ONLN) --quiet
exec_as $app $ENV_PATH yarn install --pure-lockfile
exec_as $app $ENV_PATH yarn bundle
exec_as $app /opt/rbenv/versions/$RUBY_VERSION/bin/bundle exec rails assets:precompile --quiet
popd
#=================================================

View file

@ -103,11 +103,13 @@ chown -R $app: "$final_path"
pushd "$final_path/live"
git submodule update --init --recursive --quiet
ynh_use_nodejs
exec_as $app $ENV_PATH $ynh_npm --loglevel=error ci
env PATH=$ENV_PATH /opt/rbenv/versions/$RUBY_VERSION/bin/gem install bundler --quiet
env PATH=$ENV_PATH /opt/rbenv/versions/$RUBY_VERSION/bin/bundler install --quiet
exec_as $app $ENV_PATH $ynh_npm --loglevel=error run bundle
exec_as $app $ENV_PATH /opt/rbenv/versions/$RUBY_VERSION/bin/bundle exec rails assets:precompile --quiet
/opt/rbenv/versions/$RUBY_VERSION/bin/gem install bundler --quiet
/opt/rbenv/versions/$RUBY_VERSION/bin/bundler install --quiet
exec_as $app /opt/rbenv/versions/$RUBY_VERSION/bin/bundle config set --local path 'vendor/bundle'
exec_as $app /opt/rbenv/versions/$RUBY_VERSION/bin/bundle install -j$(getconf _NPROCESSORS_ONLN) --quiet
exec_as $app $ENV_PATH yarn install --pure-lockfile
exec_as $app $ENV_PATH yarn bundle
exec_as $app /opt/rbenv/versions/$RUBY_VERSION/bin/bundle exec rails assets:precompile --quiet
popd
#=================================================

View file

@ -173,11 +173,13 @@ then
pushd "$final_path/live"
git submodule update --init --recursive --quiet
ynh_use_nodejs
exec_as $app $ENV_PATH $ynh_npm --loglevel=error ci
env PATH=$ENV_PATH /opt/rbenv/versions/$RUBY_VERSION/bin/gem install bundler --quiet
env PATH=$ENV_PATH /opt/rbenv/versions/$RUBY_VERSION/bin/bundler install --quiet
exec_as $app $ENV_PATH $ynh_npm --loglevel=error run bundle
exec_as $app $ENV_PATH /opt/rbenv/versions/$RUBY_VERSION/bin/bundle exec rails assets:precompile --quiet
/opt/rbenv/versions/$RUBY_VERSION/bin/gem install bundler --quiet
/opt/rbenv/versions/$RUBY_VERSION/bin/bundler install --quiet
exec_as $app /opt/rbenv/versions/$RUBY_VERSION/bin/bundle config set --local path 'vendor/bundle'
exec_as $app /opt/rbenv/versions/$RUBY_VERSION/bin/bundle install -j$(getconf _NPROCESSORS_ONLN) --quiet
exec_as $app $ENV_PATH yarn install --pure-lockfile
exec_as $app $ENV_PATH yarn bundle
exec_as $app /opt/rbenv/versions/$RUBY_VERSION/bin/bundle exec rails assets:precompile --quiet
popd
fi