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

Merge pull request #19 from YunoHost-Apps/testing

Testing - v2024.x
This commit is contained in:
Salamandar 2024-07-01 09:55:30 +02:00 committed by GitHub
commit 2d3d17a404
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 14 additions and 31 deletions

View file

@ -18,7 +18,7 @@ It shall NOT be edited by hand.
Huginn is a system for building agents that perform automated tasks for you online. They can read the web, watch for events, and take actions on your behalf. Huginn's Agents create and consume events, propagating them along a directed graph. Think of it as a hackable version of IFTTT or Zapier on your own server. You always know who has your data. You do.
**Shipped version:** 2022.08.18~ynh1
**Shipped version:** 2024.06.07~ynh1
## Screenshots

View file

@ -18,7 +18,7 @@ No se debe editar a mano.
Huginn is a system for building agents that perform automated tasks for you online. They can read the web, watch for events, and take actions on your behalf. Huginn's Agents create and consume events, propagating them along a directed graph. Think of it as a hackable version of IFTTT or Zapier on your own server. You always know who has your data. You do.
**Versión actual:** 2022.08.18~ynh1
**Versión actual:** 2024.06.07~ynh1
## Capturas

View file

@ -18,7 +18,7 @@ EZ editatu eskuz.
Huginn is a system for building agents that perform automated tasks for you online. They can read the web, watch for events, and take actions on your behalf. Huginn's Agents create and consume events, propagating them along a directed graph. Think of it as a hackable version of IFTTT or Zapier on your own server. You always know who has your data. You do.
**Paketatutako bertsioa:** 2022.08.18~ynh1
**Paketatutako bertsioa:** 2024.06.07~ynh1
## Pantaila-argazkiak

View file

@ -18,7 +18,7 @@ Il NE doit PAS être modifié à la main.
Huginn is a system for building agents that perform automated tasks for you online. They can read the web, watch for events, and take actions on your behalf. Huginn's Agents create and consume events, propagating them along a directed graph. Think of it as a hackable version of IFTTT or Zapier on your own server. You always know who has your data. You do.
**Version incluse:** 2022.08.18~ynh1
**Version incluse:** 2024.06.07~ynh1
## Captures décran

View file

@ -18,7 +18,7 @@ NON debe editarse manualmente.
Huginn is a system for building agents that perform automated tasks for you online. They can read the web, watch for events, and take actions on your behalf. Huginn's Agents create and consume events, propagating them along a directed graph. Think of it as a hackable version of IFTTT or Zapier on your own server. You always know who has your data. You do.
**Versión proporcionada:** 2022.08.18~ynh1
**Versión proporcionada:** 2024.06.07~ynh1
## Capturas de pantalla

View file

@ -18,7 +18,7 @@
Huginn is a system for building agents that perform automated tasks for you online. They can read the web, watch for events, and take actions on your behalf. Huginn's Agents create and consume events, propagating them along a directed graph. Think of it as a hackable version of IFTTT or Zapier on your own server. You always know who has your data. You do.
**分发版本:** 2022.08.18~ynh1
**分发版本:** 2024.06.07~ynh1
## 截图

View file

@ -6,7 +6,7 @@ id = "huginn"
name = "Huginn"
description.en = "Build agents that monitor and act on your behalf. Your agents are standing by"
version = "2022.08.18~ynh1"
version = "2024.06.07~ynh1"
maintainers = ["aurel"]
@ -45,8 +45,8 @@ ram.runtime = "50M"
[resources]
[resources.sources.main]
url = "https://github.com/huginn/huginn/archive/refs/tags/v2022.08.18.tar.gz"
sha256 = "845042042089a35c274bef41fc498cfd23733d923ab3772f4311212b42b356d9"
url = "https://github.com/huginn/huginn/archive/5a1509b51188e0d16868be893c983d6fcfd232a5.tar.gz"
sha256 = "d71c27306e6cb63a6e9e02c6a18b8a63c0f4bb4d94311002c8df526d66f6dddf"
# Yeah there is a release but it's 2 years old and the doc tells to git commit…
autoupdate.strategy = "latest_github_commit"

View file

@ -4,7 +4,7 @@
# COMMON VARIABLES
#=================================================
ruby_version=2.7
ruby_version=3.2.4
#=================================================
# PERSONAL HELPERS

View file

@ -1,7 +1,5 @@
#!/bin/bash
#=================================================
# GENERIC START
#=================================================
# IMPORT GENERIC HELPERS
#=================================================

View file

@ -1,7 +1,5 @@
#!/bin/bash
#=================================================
# GENERIC STARTING
#=================================================
# IMPORT GENERIC HELPERS
#=================================================

View file

@ -1,7 +1,5 @@
#!/bin/bash
#=================================================
# GENERIC START
#=================================================
# IMPORT GENERIC HELPERS
#=================================================
@ -37,8 +35,6 @@ mkdir -p "$install_dir/log" "$install_dir/tmp/pids" "$install_dir/tmp/sockets"
chmod -R o-rwx "$install_dir"
chown -R "$app:www-data" "$install_dir"
#=================================================
# SPECIFIC SETUP
#=================================================
# ADD A CONFIGURATION
#=================================================
@ -57,7 +53,7 @@ ynh_script_progression --message="Building app..."
pushd "$install_dir"
ynh_use_ruby
cp config/unicorn.rb.example config/unicorn.rb
chown -R $app:www-data "$install_dir/config/unicorn.rb"
chown -R "$app:www-data" "$install_dir/config/unicorn.rb"
ynh_gem install rubygems-update -v 3.4
ynh_gem update --system --no-document
ynh_gem install bundler -v 2.4.22
@ -73,7 +69,7 @@ popd
chmod 750 "$install_dir/public"
chmod -R o-rwx "$install_dir/public"
chown -R $app:www-data "$install_dir/public"
chown -R "$app:www-data" "$install_dir/public"
#=================================================
# SYSTEM CONFIGURATION
@ -85,8 +81,9 @@ ynh_add_nginx_config
# Create a dedicated systemd config
ynh_add_systemd_config --service="$app-web" --template="web.service"
ynh_add_systemd_config --service="$app-jobs" --template="jobs.service"
yunohost service add "$app-web" --log="$install_dir/log/unicorn.log"
ynh_add_systemd_config --service="$app-jobs" --template="jobs.service"
yunohost service add "$app-jobs" --log="$install_dir/log/production.log"
#=================================================

View file

@ -1,7 +1,5 @@
#!/bin/bash
#=================================================
# GENERIC START
#=================================================
# IMPORT GENERIC HELPERS
#=================================================

View file

@ -1,7 +1,5 @@
#!/bin/bash
#=================================================
# GENERIC START
#=================================================
# IMPORT GENERIC HELPERS
#=================================================

View file

@ -1,7 +1,5 @@
#!/bin/bash
#=================================================
# GENERIC START
#=================================================
# IMPORT GENERIC HELPERS
#=================================================
@ -9,8 +7,6 @@
source _common.sh
source /usr/share/yunohost/helpers
#=================================================
# STANDARD UPGRADE STEPS
#=================================================
# STOP SYSTEMD SERVICE
#=================================================
@ -38,8 +34,6 @@ mkdir -p "$install_dir/log" "$install_dir/tmp/pids" "$install_dir/tmp/sockets"
chmod -R o-rwx "$install_dir"
chown -R "$app:www-data" "$install_dir"
#=================================================
# SPECIFIC UPGRADE
#=================================================
# UPDATE A CONFIG FILE
#=================================================