Skip to content

implement history id command#565

Merged
oliverkurth merged 2 commits intodevfrom
topic/okurth/history-current-id
Mar 18, 2026
Merged

implement history id command#565
oliverkurth merged 2 commits intodevfrom
topic/okurth/history-current-id

Conversation

@oliverkurth
Copy link
Contributor

@oliverkurth oliverkurth commented Mar 16, 2026

Useful addition to the history command, to be used in scripts to save the current state, so it can be easily reverted back to.

Example:

SAVED_ID=$(tdnf history id)
...
tdnf install foobar
...
tdnf hstory rollback ${SAVED_ID}

@oliverkurth oliverkurth force-pushed the topic/okurth/history-current-id branch from e7d59c6 to 441a4cb Compare March 16, 2026 20:08
@oliverkurth oliverkurth requested a review from sshedi March 16, 2026 22:54
Copy link
Contributor

@sshedi sshedi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, with a suggestion.

Signed-off-by: Oliver Kurth <oliver.kurth@broadcom.com>
Signed-off-by: Oliver Kurth <oliver.kurth@broadcom.com>
@oliverkurth oliverkurth force-pushed the topic/okurth/history-current-id branch from 441a4cb to 4c9a8a6 Compare March 18, 2026 21:11
@oliverkurth oliverkurth merged commit 29ae25b into dev Mar 18, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants