Bug 1192684

Summary: RFE: history transaction labels
Product: [Fedora] Fedora Reporter: Pete Travis <me>
Component: dnf-plugins-coreAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED DEFERRED QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: rawhideCC: akozumpl, jsilhan, mluscon, packaging-team-maint, pnemade, ptselios, rholy, tim.lauridsen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-05 14:12:45 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1167239    
Bug Blocks:    

Description Pete Travis 2015-02-14 06:08:28 UTC
If I run a package transaction and later want to undo the transaction with `dnf history`, it can be a time consuming process to iterate over `dnf history info N` to identify the transaction later.  It would be helpful if I could arbitrarily label a transaction and have the label show as a column in the history list, for example:

    dnf install gnumeric calligra-sheets libreoffice-calc --historylabel spreadsheets
    
    # test the applications

    dnf history 

ID     | Label        |Login  | Date a           | Action         | Altere
---------------------------------------------------------------------------
   246 | spreadsheets | Pete  | 2015-02-13 22:55 | I, U           |    4  

    dnf history undo 246 (or) dnf history undo --historylabel=spreadsheets --exclude-libreoffice-calc

Comment 1 Honza Silhan 2015-03-05 14:12:45 UTC
Hi, this could be work for some plugin. We need the new history database that would allow to save custom values and expose it's API. I am not convinced that this RFE will not be massively used. At the time of installation you don't usually know that you would like to at the future undo that and for that case tag it. If anyone comes with new use case, feel free to share it.

Comment 2 Honza Silhan 2015-06-26 11:25:52 UTC
*** Bug 1235901 has been marked as a duplicate of this bug. ***