feat: add capture-history command#30
Closed
KumamuKuma wants to merge 1 commit into
Closed
Conversation
Collaborator
|
Thanks, we are building this already |
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.
Linked issue
Fixes #27.
Issue #27 asks for a bulk workflow to bootstrap research-git from existing repository history instead of repeatedly capturing old commits by hand or capturing one large blurry range.
Summary
rgit capture-history A..Bfor importing existing commit history one commit at a time--writeto create open proposalsValidation
python -m pytest tests/test_capture_history.py -q->22 passedpython -m pytest tests/test_capture_history.py tests/test_cli.py -k "capture_history or capture_range or capture_same_diff or pending_json or capture_auto or capture_trigger_commit" -q->30 passed, 100 deselectedpython -m pytest tests/test_gitutil.py -k "range_source or diff_of_commit or resolve_commit" -q->12 passed, 35 deselectedpython -m pytest tests/test_segmenter.py -k "not replaced_external_symlink" -q->16 passed, 1 deselectedpython -m pytest -q -k "not test_run_with_init_flag_bootstraps_store and not test_diff_since_captures_replaced_external_symlink_without_leaking and not test_cli_run_with_resolves_name_to_active_edge and not test_segment_diff_captures_replaced_external_symlink_without_leaking and not test_python_dash_m_rgit_entrypoint"->492 passed, 5 skipped, 5 deselectedgit diff --checkNative Windows full-suite failures observed before this branch are handled separately in #31.