mirror of
https://github.com/YunoHost-Apps/traggo_ynh.git
synced 2024-09-04 01:15:55 +02:00
Upgrade to v0.4.3 (#11)
Co-authored-by: OniriCorpe <oniricorpe@disroot.org>
This commit is contained in:
parent
5e6c48cd92
commit
3c2594976b
7 changed files with 16 additions and 20 deletions
|
@ -26,7 +26,7 @@ Traggo is a tag-based time tracking tool. In Traggo there are no tasks, only tag
|
|||
- A list and calendar view of the tracked time
|
||||
- Sleek web ui with multiple themes
|
||||
- Simple user management
|
||||
**Shipped version:** 0.3.0~ynh2
|
||||
**Shipped version:** 0.4.3~ynh1
|
||||
|
||||
## Screenshots
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ Traggo est un outil de suivi du temps basé sur des balises. Dans Traggo, il n'y
|
|||
- Une liste et une vue calendrier du temps suivi
|
||||
- Interface utilisateur Web élégante avec plusieurs thèmes
|
||||
- Gestion simple des utilisateurs
|
||||
**Version incluse :** 0.3.0~ynh2
|
||||
**Version incluse :** 0.4.3~ynh1
|
||||
|
||||
## Captures d’écran
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ Type=simple
|
|||
User=__APP__
|
||||
Group=__APP__
|
||||
WorkingDirectory=__INSTALL_DIR__/
|
||||
ExecStart=__INSTALL_DIR__/traggo-server
|
||||
ExecStart=__INSTALL_DIR__/traggo
|
||||
|
||||
# Sandboxing options to harden security
|
||||
# Depending on specificities of your service/app, you may need to tweak these
|
||||
|
|
|
@ -5,7 +5,7 @@ name = "Traggo"
|
|||
description.en = "Self-hosted tag-based time tracking"
|
||||
description.fr = "Outil de suivi du temps auto-hébergé"
|
||||
|
||||
version = "0.3.0~ynh2"
|
||||
version = "0.4.3~ynh1"
|
||||
|
||||
maintainers = []
|
||||
|
||||
|
@ -42,14 +42,14 @@ ram.runtime = "50M"
|
|||
[resources]
|
||||
[resources.sources.main]
|
||||
in_subdir = false
|
||||
arm64.url = "https://github.com/traggo/server/releases/download/v0.3.0/traggo-server-0.3.0-linux-arm64.zip"
|
||||
arm64.sha256 = "7430f4540d4f4428be71fc6bde1a7665f652b503f40c47b781fda920ed8437fa"
|
||||
amd64.url = "https://github.com/traggo/server/releases/download/v0.3.0/traggo-server-0.3.0-linux-amd64.zip"
|
||||
amd64.sha256 = "bde681e8aa60327799c2078649d8646e1d3c1c9d35d34430fd52ce04e419106c"
|
||||
armhf.url = "https://github.com/traggo/server/releases/download/v0.3.0/traggo-server-0.3.0-linux-arm-7.zip"
|
||||
armhf.sha256 = "420a1c7e091fcdea86c9c3ff5aebc294875b9a4db7199739caf85339ba655052"
|
||||
i386.url = "https://github.com/traggo/server/releases/download/v0.3.0/traggo-server-0.3.0-linux-386.zip"
|
||||
i386.sha256 = "c45aa6db1088b07323b1f076eff728834c531e6e739d86f767ba96972d07b457"
|
||||
arm64.url = "https://github.com/traggo/server/releases/download/v0.4.3/traggo_0.4.3_linux_arm64.tar.gz"
|
||||
arm64.sha256 = "004c35548ccade0fd2ecefb6c199718ecd1d7e5071dab709de155bbb17f049d7"
|
||||
amd64.url = "https://github.com/traggo/server/releases/download/v0.4.3/traggo_0.4.3_linux_amd64.tar.gz"
|
||||
amd64.sha256 = "bf28626599a038cdf6dac4533425fed2ff2197ff6a21062d3ade1ad795c7b79f"
|
||||
armhf.url = "https://github.com/traggo/server/releases/download/v0.4.3/traggo_0.4.3_linux_armv7.tar.gz"
|
||||
armhf.sha256 = "2f854f2fd9b055500f33c1d8b484104ff1520c5dbccff0292f0421514570f4f4"
|
||||
i386.url = "https://github.com/traggo/server/releases/download/v0.4.3/traggo_0.4.3_linux_i386.tar.gz"
|
||||
i386.sha256 = "4fd2b70268aa552fb21b07bcfef60f21c0bf0282f2d58c8387cb0b2c0f496d3e"
|
||||
|
||||
autoupdate.strategy = "latest_github_release"
|
||||
autoupdate.asset.arm64 = "^traggo_.*_linux_arm64.tar.gz$"
|
||||
|
|
|
@ -17,18 +17,16 @@ ynh_script_progression --message="Setting up source files..." --weight=3
|
|||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
ynh_setup_source --dest_dir="$install_dir"
|
||||
|
||||
mv $install_dir/traggo-server-* $install_dir/traggo-server
|
||||
|
||||
chmod -R o-rwx "$install_dir"
|
||||
chown -R $app:www-data "$install_dir"
|
||||
chmod +x $install_dir/traggo-server
|
||||
chmod +x $install_dir/traggo
|
||||
|
||||
#=================================================
|
||||
# ADD A CONFIGURATION
|
||||
#=================================================
|
||||
ynh_script_progression --message="Adding a configuration file..." --weight=3
|
||||
|
||||
ynh_add_config --template="../conf/.env.sample" --destination="$install_dir/.env"
|
||||
ynh_add_config --template=".env.sample" --destination="$install_dir/.env"
|
||||
|
||||
chmod 400 "$install_dir/.env"
|
||||
chown $app:$app "$install_dir/.env"
|
||||
|
|
|
@ -19,7 +19,7 @@ ynh_restore_file --origin_path="$install_dir"
|
|||
|
||||
chmod -R o-rwx "$install_dir"
|
||||
chown -R $app:www-data "$install_dir"
|
||||
chmod +x $install_dir/traggo-server
|
||||
chmod +x $install_dir/traggo
|
||||
|
||||
#=================================================
|
||||
# RESTORE THE NGINX CONFIGURATION
|
||||
|
|
|
@ -36,11 +36,9 @@ then
|
|||
ynh_setup_source --dest_dir="$install_dir" --keep=".env"
|
||||
fi
|
||||
|
||||
mv $install_dir/traggo-server-* $install_dir/traggo-server
|
||||
|
||||
chmod -R o-rwx "$install_dir"
|
||||
chown -R $app:www-data "$install_dir"
|
||||
chmod +x $install_dir/traggo-server
|
||||
chmod +x $install_dir/traggo
|
||||
|
||||
#=================================================
|
||||
# NGINX CONFIGURATION
|
||||
|
|
Loading…
Reference in a new issue