Skip to content

Design dataset push/commit workflow for ongoing updates #51

Closed

Description

@neuromechanist

Context

Issue #45 addresses resume for failed initial uploads. However, there's a broader need for ongoing dataset updates after initial upload.

Problem

After initial upload, users may want to:

  1. Add new files to an existing dataset
  2. Modify existing files (e.g., update JSON sidecars)
  3. Push only the changes (not re-upload everything)

Questions to resolve

  1. Should nemar dataset upload handle both initial upload AND ongoing updates?
  2. Or should there be separate commands?
    • nemar dataset upload - Initial upload only
    • nemar dataset push - Push changes to existing dataset
    • nemar dataset commit - Commit local changes (no push)
  3. How does this interact with git-annex workflow?
    • git annex copy --to s3 naturally handles incremental uploads
    • But we need presigned URLs from backend
  4. What about the GitHub flow?
    • Direct push vs PR-based workflow
    • Branch protection considerations

Proposed exploration

  1. Map current workflow state machine
  2. Identify gaps between initial upload and ongoing updates
  3. Design unified or separate commands
  4. Consider DataLad native workflows vs custom commands

Related

Activity

  1. neuromechanist commented on Jan 23, 2026

    @neuromechanist
    ContributorAuthor

    Publication workflow in #68 depends on the PR-based update flow designed here. BIDS CI (added at upload time per #68) validates PRs. S3 staging for data-change PRs feeds into the publish pipeline.

  2. neuromechanist commented on Jan 24, 2026

    @neuromechanist
    ContributorAuthor

    Implemented in PRs #73, #74: dataset push/save/push --pr workflow, BIDS CI at upload, dataset ci command.

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

Metadata

Metadata

Assignees

No one assigned

    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