CanBoot icon indicating copy to clipboard operation
CanBoot copied to clipboard

CanBoot Moonraker Update Manager

Open 0xUnkn0wN opened this issue 2 years ago • 8 comments

Hello,

maybe an update manager entry would be a cool feature, but I'm not sure if it would be such a useful feature, CanBoot updates should happen very rarely.

0xUnkn0wN avatar Aug 20 '22 18:08 0xUnkn0wN

As you mentioned, it probably isn't something that needs updating often. However it should be fairly simple to add an entry:

[update_manager CanBoot]
type: git_repo
origin: https://github.com/Arksine/CanBoot.git
path: ~/CanBoot

This assumes that you have the repo cloned at ~/CanBoot. One thing to keep in mind is that paths are case sensitive.

Arksine avatar Aug 25 '22 20:08 Arksine

The only line I would add is the "is_system_service" line below. Testing this out and CanBoot was updating properly, but was giving an error due to trying to restart a service that doesn't exist.

[update_manager CanBoot]
type: git_repo
origin: https://github.com/Arksine/CanBoot.git
path: ~/CanBoot
is_system_service: False

idontknowtom avatar Aug 26 '22 01:08 idontknowtom

Cool, thanks for the information.

NAPCAL avatar Aug 26 '22 01:08 NAPCAL

The only line I would add is the "is_system_service" line below. Testing this out and CanBoot was updating properly, but was giving an error due to trying to restart a service that doesn't exist.


[update_manager CanBoot]

type: git_repo

origin: https://github.com/Arksine/CanBoot.git

path: ~/CanBoot

is_system_service: False

Thats why i opened a ticket, i didn't know that there is such an option, thank you.

0xUnkn0wN avatar Aug 26 '22 11:08 0xUnkn0wN

The Moonraker information and documentation can be found here.

https://github.com/Arksine/moonraker

NAPCAL avatar Aug 26 '22 14:08 NAPCAL

How does this work with katapult?

midmadn avatar Oct 09 '23 18:10 midmadn

How does this work with katapult? In my config: [update_manager canboot] type: git_repo origin: https://github.com/Arksine/CanBoot.git path: ~/CanBoot is_system_service: False I still had canboot installed :)

Creo2005 avatar Oct 09 '23 18:10 Creo2005

Presuming a new clone of Katapult in the home directory the following should work:

[update_manager katapult]
type: git_repo
origin: https://github.com/Arksine/katapult.git
path: ~/katapult
is_system_service: False

Arksine avatar Oct 09 '23 20:10 Arksine