How wurthel/git-remote-s3 works
git-remote-s3 presents S3 as a Git remote and Git LFS storage service. Git invokes the remote helper for fetch/push operations; the helper stores Git bundles (and, for s3+zip remotes, ZIP archives) in S3. Git LFS separately invokes the custom transfer process to upload or download objects. The management CLI inspects and administers refs, branch protection, and stale locks. The excerpts establish these entry points and helper relationships, but do not expose every internal dispatch or storage operation, so those links are omitted where not evidenced.
Main entry points: remote.py Remote helper · lfs.py Custom transfer · common.py S3 URI parser · manage.py Repository doctor
Components 10
Git remote
- Remote helper
git_remote_s3/remote.py - Bundle and archive
git_remote_s3/git.py
LFS transfer
- Custom transfer
git_remote_s3/lfs.py
Remote management
- Repository doctor
git_remote_s3/manage.py - Branch administration
git_remote_s3/manage.py
Shared internals
- S3 URI parser
git_remote_s3/common.py - URI schemes
git_remote_s3/enums.py
Other components
- Git client
- Amazon S3
- Git LFS
Connections 13
- Git client → Remote helper: invokes helper
README.md - Remote helper → S3 URI parser: parses URI
git_remote_s3/remote.py - S3 URI parser → URI schemes: uses scheme
git_remote_s3/common.py - Remote helper → Amazon S3: reads and writes
git_remote_s3/remote.py - Remote helper → Bundle and archive: creates bundles
README.md - Git client → Git LFS: requests transfer
README.md - Git LFS → Custom transfer: invokes custom transfer
README.md - Custom transfer → S3 URI parser: parses URI
git_remote_s3/lfs.py - Custom transfer → Bundle and archive: validates ref
git_remote_s3/lfs.py - Custom transfer → Amazon S3: uploads and downloads
git_remote_s3/lfs.py - Repository doctor → S3 URI parser: parses remote
git_remote_s3/manage.py - Repository doctor → Amazon S3: inspects and repairs
git_remote_s3/manage.py - Branch administration → Amazon S3: manages branches
git_remote_s3/manage.py