I deployed marimohub ~2wks ago and our research team has been using it and really enjoying it. the remaining gap for us is around credential and provisioning ergonomics for git sync. afaik, every git synced notebook requires a manual create call plus its own one time token copied into ci secrets and its own push step.
id propose defining a marimohub.yml committed to the repo (target proj + branch + notebook path). this way we can have a single repo-scoped sync token authorizing both provisioning and content push. ideally, adding a notebook becomes "add it to the YAML and merge." this deliberately keeps marimohubs push only architecture intact.
I looked into building this on my end with the existing endpoints and found that it's possible but
- PAT only mintable from browser and unscoped/user-bound
POST /projects/{pid}/notebooks/git doesn't accept the idempotency key
- an external automation won't be able to safely tell which notebooks it owns (and can delete).
- sync tokens are shown once and stored hash-only, so my reconciler would have to capture the token and write it into the CI secret store itself
would you be open to this?
I deployed marimohub ~2wks ago and our research team has been using it and really enjoying it. the remaining gap for us is around credential and provisioning ergonomics for git sync. afaik, every git synced notebook requires a manual create call plus its own one time token copied into ci secrets and its own push step.
id propose defining a
marimohub.ymlcommitted to the repo (target proj + branch + notebook path). this way we can have a single repo-scoped sync token authorizing both provisioning and content push. ideally, adding a notebook becomes "add it to the YAML and merge." this deliberately keeps marimohubs push only architecture intact.I looked into building this on my end with the existing endpoints and found that it's possible but
POST /projects/{pid}/notebooks/gitdoesn't accept the idempotency keywould you be open to this?