SamuKata
The100
The100

patreon


๐Ÿš€ Automated Software Updates in THEOS

Today, I started designing the update process for THEOS, and while it might seem a bit overwhelming at first glance, I promiseโ€”itโ€™s not as complicated as it sounds! ๐Ÿ˜Š

Whatโ€™s the plan?

The goal is to integrate a new THEOS Module into the MainsailOS builder. This module will:
1๏ธโƒฃ Download the THE100 Configuration directly onto the operating system image.
2๏ธโƒฃ Set up Git Hooks for key software components like THEOS, Klipper, and Moonraker.

What are Git Hooks? ๐Ÿค”

Git Hooks are small scripts that run automatically after a Git operation is completed. For example, when you update Klipper through Mainsail, it fetches the latest version from a central repository using Git. Afterward, a custom script Iโ€™ll provide will automatically execute to handle any required adjustments.

Why is this important?

Some pluginsโ€”like ShakerTuneโ€”need extra setup after updates. ShakerTune modifies core Klipper functions, but updates overwrite those changes. My script will automatically reapply these adjustments so everything keeps running smoothly. This means hassle-free updates for Klipper, the THE100 Configuration, and Moonraker! ๐Ÿ”งโœจ

Adding Firmware Updates

The concept doesnโ€™t stop at softwareโ€”it also includes automatic firmware updates for managed boards.

Hereโ€™s how it will work:
1๏ธโƒฃ What is a managed board?
A managed board is any board running Klipper firmware with a static serial number.

2๏ธโƒฃ How does it update?

3๏ธโƒฃ What about unmanaged boards?
Boards without a static serial number wonโ€™t be updated automatically. When you first install THEOS, youโ€™ll need to flash your firmware manually. Once a board is managed, the firmware updater will handle all future updates for you seamlessly.

Why does this matter?

This automated process will simplify firmware management, ensure consistency, and save you timeโ€”letting you focus on printing instead of tinkering. ๐Ÿ’ก

Stay tuned as I continue to refine this system and bring THEOS closer to reality! ๐Ÿš€

๐Ÿš€ Automated Software Updates in THEOS

Comments

i built the 100 (it works..) and i am looking forward to start building the 250...

henk fischer

Wow, this sounds great!

Z-Man23


More Creators