Donkie / Spoolman

Keep track of your inventory of 3D-printer filament spools.
MIT License
1k stars 93 forks source link

Add update git-repo style for Moonraker update service #535

Open plandevida opened 2 days ago

plandevida commented 2 days ago

Is your feature request related to a problem? Please describe. Updating Spoolman is a manual process, whereas Moonraker has an update manager service based on git repositories Spoolman is not taking the benefit of it. Making the update process more a hassle than desired.

Describe the solution you'd like I would like to install the Spoolman service via just cloning the repository and be able to add this repository in the update manager of Moonraker.

Describe alternatives you've considered Cloning the repository and making a script that implements the current installation process, so Moonkraker could know when the repository has been updated and install the latest release. Although, this method will include many "false" updates for any repository change that is not included in a release yet.

plandevida commented 2 days ago

I was reading the Moonraker documentation and it seems there is a way to do this for web based applications like Mainsail and Spoolman.

So I am trying this configuration for the update manager: [update_manager Spoolman] type: web channel: stable repo: Donkie/Spoolman path: ~/Spoolman install_script: scripts/install.sh

If this works and it is the way of doing it, maybe the FR should be to update the documentation to include this as the update process.