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.
This adds another option to the review process allowing the user to exit the review and apply the decisions made so far.
I'm just starting to use pacdef and I have a few hundred packages to review. I've had to start over multiple times due to pacman/aur errors or accidents. This would essentially allow the user to save a "checkpoint" during the review process.
Another option would be to update the group file immediately when adding a package to a group or assigning it as a dependency. Then if the user is interrupted for whatever reason, he can pick up where he left off even if he doesn't apply. If you'd like, I can look into adding this feature as well.
Furthermore, a better approach might also be a temp file which records the decision for each package and then applies the changes at the end. This would also allow for resuming the review process but save all changes until the end. This is a bit more involved but if you're interested, I can look into adding this as well.
Thanks for the cool app. I just tried out NixOS for about a week and am coming back to Arch. I like many of the declarative features of NixOS and would like to see more of that in the Arch ecosystem.
Implements part of #36