v0.1.1
-
Directory naming: Fixed nested
gh/gh/{number}/bug when cloning from withingh/directory- Now correctly creates
{git_root}/gh/{number}/regardless of current directory - From git root →
gh/1690/ - From
gh/→1690/ - From
gh/subdir/→../1690/
- Now correctly creates
-
Ownership check: Fixed clone command editing others' PRs/Issues
- Now only adds gist footer if current user is the PR/Issue author
- Prevents "edited by" appearing on others' PRs
-
Visible footer extraction: Made
extract_gist_footer()more permissive- Now handles both 3-line and 4-line visible footer formats
- Accepts optional blank line before "Synced with..." line
-
Added 54 new tests across 4 test modules
test_patterns.py: PR/Issue spec parsing (10 tests)test_files.py: Description file operations (20 tests)test_ownership.py: Ownership checks (6 tests)test_gist.py: Gist footer operations (18 tests)
-
Total: 92 tests, all passing
New comprehensive test coverage for:
- PR spec parsing: full URLs, owner/repo#number, just numbers
- Description file operations: finding, reading, writing with link refs
- Ownership validation: user matching for PR/Issue editing
- Gist footer handling: visible/hidden formats, extraction, addition
- Roundtrip testing: ensure write→read preserves data
Full Changelog: v0.1.0...v0.1.1