-
Notifications
You must be signed in to change notification settings - Fork 78
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
Add history undo
command
#1452
Add history undo
command
#1452
Commits on Jun 7, 2024
-
Add
transaction_item_reason_at(...)
to get history reasonFor `undo` operation we need to be able to get a reason at specific point in history for specific package.
Configuration menu - View commit details
-
Copy full SHA for 8aaceda - Browse repository at this point
Copy the full SHA 8aacedaView commit details -
Split out
add_replay_to_goal
from adding serialized transThis is needed so that `add_replay_to_goal` can be reused when reverting transactions.
Configuration menu - View commit details
-
Copy full SHA for 3dccce1 - Browse repository at this point
Copy the full SHA 3dccce1View commit details -
Goal: Add API for reverting history transactions
So far it can revert only one transaction. To allow reverting multiple transactions we need to implement merging of transactions.
Configuration menu - View commit details
-
Copy full SHA for 9fd7ccd - Browse repository at this point
Copy the full SHA 9fd7ccdView commit details -
Configuration menu - View commit details
-
Copy full SHA for eeeb8de - Browse repository at this point
Copy the full SHA eeeb8deView commit details -
Configuration menu - View commit details
-
Copy full SHA for a28bbf5 - Browse repository at this point
Copy the full SHA a28bbf5View commit details -
Add
ignore_installed
andignore_extras
toGoalElements
They will be used by replaying and reverting transactions.
Configuration menu - View commit details
-
Copy full SHA for e58d18c - Browse repository at this point
Copy the full SHA e58d18cView commit details -
Add autocomplete for history info
Adds support for completing transaction ids. `history info` can accept also ranges of transactions which are not completed yet.
Configuration menu - View commit details
-
Copy full SHA for b6825ac - Browse repository at this point
Copy the full SHA b6825acView commit details -
Configuration menu - View commit details
-
Copy full SHA for 505ce63 - Browse repository at this point
Copy the full SHA 505ce63View commit details -
Configuration menu - View commit details
-
Copy full SHA for dca15d8 - Browse repository at this point
Copy the full SHA dca15d8View commit details -
Use
ignore_installed
option in transaction replayIt adds checks for expected packages in transaction replay producing either a warning or an error if something is missing. This matches the dnf4 implementation.
Configuration menu - View commit details
-
Copy full SHA for caeb9dd - Browse repository at this point
Copy the full SHA caeb9ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for a700946 - Browse repository at this point
Copy the full SHA a700946View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0751277 - Browse repository at this point
Copy the full SHA 0751277View commit details -
Transaction replay: add checking for extra packages
It is configured by `ignore_extras` and `ignore_installed` `GoalJobSettings`. This matches the functionality in dnf4. It also removes some unused imports in transaction.cpp
Configuration menu - View commit details
-
Copy full SHA for 14cf659 - Browse repository at this point
Copy the full SHA 14cf659View commit details -
Configuration menu - View commit details
-
Copy full SHA for db8e310 - Browse repository at this point
Copy the full SHA db8e310View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c322d6 - Browse repository at this point
Copy the full SHA 8c322d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7fdb2b6 - Browse repository at this point
Copy the full SHA 7fdb2b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2da5d66 - Browse repository at this point
Copy the full SHA 2da5d66View commit details