Open rkhamis opened 6 years ago
commented by @zaibon In theory this is really easy to do. But in practice, the robot actually use the URL of the repo to build the UID of the templates. If we just load the templates from a directory on the filesystem, we only know their name and version.
*commented by @iwanbk I think it would be easier if the local directory is git repo as well.
So, we still has the needed URL to build the UID*
commented by @zaibon That would be a partly solution yeah. The idea here to be able to use flist as source of templates. We could indeed leave the .git directory with a proper remote as part of the flist
*commented by @zaibon Turns out this feature is not possible for now. 0-OS doesn't support to replace or mount new flist into a running container, which means there will be no way to add/upgrade the code of the templates. being able to upgrade template at runtime is something vital for the node robot
So I'll mark this FR as blocked for now*
commented by @zaibon Move to roadmap, we can continue on this while zero-os can support changing flist of container at runtime
Issue migrated from [https://api.github.com/repos/zero-os/0-robot/issues/161](), opened by @zaibon
This feature goal is to be able to use a flist mounted into a 0-OS container that contains template code. The flist will be mounted into the container and thus appears as a normal directory for the robot.