feat(silo): push DAG on save and commit hooks #216
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Wire the DAG extraction engine into
Silo_SaveandSilo_Commitso the feature tree is pushed to Silo whenever the user saves or creates a revision.Deliverables
Silo_Save.activated(): after successful file upload, callextract_dag(doc)andclient.push_dag().Silo_Commit.activated(): after revision creation succeeds, push DAG with the new revision number.Location
mods/silo/freecad/silo_commands.py-- modifySilo_SaveandSilo_Commitcommands.Depends on
Ref
docs/MULTI_USER_CLIENT.mdSection 5