Git drs
3.5: Commit and Upload you files¶
# Commit files (creates DRS records via pre-commit hook)
# Upload to object store
What happens during push:
- Git-DRS creates DRS records for each tracked file
- Files are uploaded to the configured S3 bucket
- DRS URIs are registered in the Gen3 system
- Pointer files are committed to the repository
¶
3.5.1 Verifying upload¶
Files should now show * prefix (localized/uploaded):
The - prefix means files are staged but not yet committed.
After completing the workflow:
- Files visible in Git repository (as LFS pointers)
- DRS records created (check .drs/ logs)
- Files accessible via git lfs pull
- Can share DRS URIs with collaborators
- Files NOT searchable in CALYPR web interface (expected)
4.5: Committing Changes¶
# Commit (triggers forge precommit hook)
git commit \-m "Register S3 files with custom FHIR metadata"
What happens during push:
- Git-DRS creates DRS records pointing to S3
- DRS URIs are registered
- No file upload occurs
- Pointer files committed to repository