Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to v0.4.3 #11

Merged
merged 4 commits into from
Mar 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion README_fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion conf/systemd.service
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
18 changes: 9 additions & 9 deletions manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []

Expand Down Expand Up @@ -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$"
Expand Down
6 changes: 2 additions & 4 deletions scripts/install
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion scripts/restore
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 1 addition & 3 deletions scripts/upgrade
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down