Skip to content

Update documentation with improved upload flow #46

Closed

Description

@neuromechanist

Summary

Document the improved upload workflow after all fixes are implemented.

New Upload Flow

1. User runs: nemar dataset upload ./my-data
2. CLI validates BIDS
3. CLI verifies gh CLI authentication matches NEMAR user
4. CLI calls API to create dataset (or resume existing)
5. API creates GitHub repo + invites user as collaborator
6. CLI auto-accepts invitation via gh API
7. [10s wait for IAM propagation]
8. CLI uploads to S3 with retry logic
9. CLI commits with --author="username <email>"
10. CLI pushes to GitHub (user's identity)
11. CLI finalizes (no branch protection for private)

Documentation Updates

  • Update README with new flow
  • Update CLI help text
  • Add troubleshooting guide for common failures
  • Document resume behavior
  • Document branch protection timing (private vs public)

Parent Issue

Part of #41

Activity

  1. added 2 commits that reference this issue on Jan 21, 2026
    8b326af
    949b2f8
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