-
-
Notifications
You must be signed in to change notification settings - Fork 60
Commit b4773c9
Implement storing runtime state in repo level Git config (#295)
* Add initial impl of storinig state in Git config
* Drop test for find_project_root
* ππ Fix all existing tests to match new reality
* π Fix final path construction in load_config
* π¨ Validate input in from_git_rev_read function
* π¨ Move conf path from global scope to CherryPicker
* π¨ Use Enum for ALLOWED_STATES
* π¨ Make check_output line shorter
* π Improve error processing in from_git_rev_read
* β
π¨ Add tests for from_git_rev_read
* β
Add tests for low-level state management
* π Refer to set_paused_state correctly
* π Fix set_paused_state method args
* β
Test paused flow
* β
Cover a test case with unknown sha and fs path
* β
Test find_config w/o Git
* β
Add tests for two-stage methods
* π¨ Drop unused fixtures from test_start_end_states
* β
Add tests for cleanup_branch
* β
Add cherry-pick fail test
* β
Add cherry-pick success test
* β
Add get_state_and_verify fail test
* β
Add push_to_remote tests
* β
Add backport test with no branch
* π Interrupt cherry-pick loop on no-push
* π Ignore missing config pointer on wipe
* β
Cover backport method with tests
* β
Cover ``--continue`` with tests
* π¨ Improve test_backport_pause_and_continue
* π¨ Use raw-string for regex
* β
Cover ``--abort`` with tests
* π¨ Store all states in Enum structure
* π₯ Drop garbage comments
* π¨ Use match instead of message in pytest.raises
* f-stringify concatenation in tests
Co-Authored-By: webknjaz <wk.cvs.github@sydorenko.org.ua>
* ππ‘ Add change notes1 parent 6cb3534 commit b4773c9Copy full SHA for b4773c9
File tree
Expand file treeCollapse file tree
3 files changed
+1055
-79
lines changedFilter options
- cherry_picker
- cherry_picker
Expand file treeCollapse file tree
3 files changed
+1055
-79
lines changed
0 commit comments