Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: operations should always leave a clean repository #143

Open
geritwagner opened this issue Mar 31, 2023 · 0 comments
Open

feat: operations should always leave a clean repository #143

geritwagner opened this issue Mar 31, 2023 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@geritwagner
Copy link
Collaborator

Feature Request

Describe the Feature Request

Operations should always leave a clean repository and leave no uncommitted changes. Otherwise, users would have to figure out whether to keep or discard the changes.

Describe Preferred Solution

The review_manager should keep track of the files that are expected to go into the next commit (can be discarded if the operation fails). The list should be cleared after each commit. When an operation fails, a roll-back method should discard changes based on the list (unless in debug mode). It may also be helpful to print a warning for untracked files.

@geritwagner geritwagner added the enhancement New feature or request label Mar 31, 2023
@geritwagner geritwagner added this to the v0.9.0 milestone Mar 31, 2023
@geritwagner geritwagner modified the milestones: v0.9.0, v0.10.0 May 30, 2023
@geritwagner geritwagner modified the milestones: v0.10.0, v0.11.0 Aug 8, 2023
@CoLRev-Environment CoLRev-Environment deleted a comment from allcontributors bot Jan 26, 2024
@CoLRev-Environment CoLRev-Environment deleted a comment from allcontributors bot Jan 26, 2024
@geritwagner geritwagner modified the milestones: v0.11.0, v0.12.0 Jan 26, 2024
@geritwagner geritwagner modified the milestones: v0.12.0, v0.14.0 Apr 17, 2024
@geritwagner geritwagner modified the milestones: v0.14.0, v0.15.0 Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant