Bug 1130006

Summary: [RFE] Record "copr enable" into DNF history
Product: [Fedora] Fedora Reporter: Vít Ondruch <vondruch>
Component: dnf-plugins-coreAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: akozumpl, jsilhan, packaging-team-maint, pnemade, rholy, tim.lauridsen
Target Milestone: ---Keywords: FutureFeature, Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-14 11:19:51 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:

Description Vít Ondruch 2014-08-14 07:30:23 UTC
It would be cool if "dnf copr enable" is recorded in dnf history and could be later reverted by call to "dnf history undo last".


$ rpm -q dnf-plugins-core
dnf-plugins-core-0.1.1-3.fc20.noarch

Comment 1 Honza Silhan 2014-08-14 10:47:54 UTC
Hi, this shouldn't belong to dnf history. There are stored package transactions not dnf actions you have executed. Otherwise history output would be chaotic.

Comment 2 Vít Ondruch 2014-08-14 10:54:50 UTC
dnf history records results of stateful changes done by dnf IMO. This is another stateful action, not just arbitrary action.

Comment 3 Honza Silhan 2014-08-14 11:11:36 UTC
History records are package oriented stateful changes done by dnf. We don't store `--setopt` cmdline action neither.

Comment 4 Radek Holy 2014-08-14 11:18:54 UTC
neither DNF nor Yum does track the history of repository settings on your machine