Skip to content

declarative git-sync manifest #184

Description

@philipmassouh

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

  1. PAT only mintable from browser and unscoped/user-bound
  2. POST /projects/{pid}/notebooks/git doesn't accept the idempotency key
  3. an external automation won't be able to safely tell which notebooks it owns (and can delete).
  4. 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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions