Fix cross-platform dotenv loading and enable parallel batch containers#4
Open
Fix cross-platform dotenv loading and enable parallel batch containers#4
Conversation
- Add load_dotenv() to utils.py — custom .env parser that works on Windows (source .env breaks on Git Bash due to CR/LF issues) - Call load_dotenv() in both main() and batch() local entrypoints - Add max_containers=100 to migrate_hf_to_ms, migrate_hf_to_ms_git, and migrate_ms_to_hf so batch starmap can run repos in parallel - Update CLAUDE.md with setup instructions and current status - Update SPEC.md with v1.5.0 planned features (dry-run, selective migration) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
… guidance - Simplify CLI commands in SKILL.md and migrate.md — load_dotenv() handles .env loading, no shell source needed - Add hf repo delete CLI usage to verification-and-cleanup.md - Add detached mode verification caveat (logs disconnect, verify via API) - Fix Modal troubleshooting entry (modal token set, not token verify) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
load_dotenv()toutils.py— custom parser that reliably loads.envon Windows (bashsource .envbreaks on Git Bash due to CR/LF issues). Called in bothmain()andbatch()local entrypoints.max_containers=100tomigrate_hf_to_ms,migrate_hf_to_ms_git, andmigrate_ms_to_hfsobatchstarmap can run repos across multiple containers simultaneously (was defaulting to 1).Test plan
load_dotenv()successfully loads tokens from.envon Windows🤖 Generated with Claude Code