Bug 1155918 - let "history list" show all records
Summary: let "history list" show all records
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Honza Silhan
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Keywords: FutureFeature
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-23 07:56 UTC by Vít Ondruch
Modified: 2015-02-20 08:32 UTC (History)
7 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2015-02-20 08:32:04 UTC


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Bugzilla 1155878 None None None Never

Internal Trackers: 1155878

Description Vít Ondruch 2014-10-23 07:56:24 UTC
Description of problem:
"history list" lists just last ~20 records. Please allow to list all records.


Version-Release number of selected component (if applicable):
$ rpm -q dnf
dnf-0.6.2-1.fc22.noarch


How reproducible:


Steps to Reproduce:
1. dnf history list
2.
3.

Actual results:
Lists just last ~20 records


Expected results:
List all records.


Additional info:
Although I don't mind how it will be achieved, it seems that DFN currently accepts "history list all" and even list all records, but the results may not be reliable and this command is not yet supported according to bug #1155878.

Comment 1 Radek Holy 2014-10-23 08:09:11 UTC
Thank you for the report. The use case is clear. We'll take a look.

For the record, the *yet unsupported* (but accepted) command "history list all" produces a different output than "history list" command, so it isn't just about adding the command to the documentation.

Comment 2 Honza Silhan 2014-10-24 08:21:02 UTC
I would preffer printing all the results after execution of "dnf history list" and don't add new "all" option. "dnf list <spec_pattern>" prints ALL matched packages too.

Comment 3 Vít Ondruch 2014-10-24 08:48:22 UTC
Sounds good. One can use some pager if there will be more entries. I would be only worried about performance ...

Just to clarify what was my usecase which triggered this RFE. I was trying to find out when I installed one specific package and the "history list" was the obvious choice.

Comment 4 Radek Holy 2014-10-24 09:09:00 UTC
(In reply to Vít Ondruch from comment #3)
> Just to clarify what was my usecase which triggered this RFE. I was trying
> to find out when I installed one specific package and the "history list" was
> the obvious choice.

Maybe even the more obvious choice is "dnf history info <pkg>".

Comment 5 Vít Ondruch 2014-10-24 09:56:29 UTC
(In reply to Radek Holy from comment #4)
> Maybe even the more obvious choice is "dnf history info <pkg>".

Thanks for the tip, but for this case, you have to remember the package name, which I have forget already.

Comment 6 Fedora Update System 2015-02-16 00:02:54 UTC
dnf-plugins-core-0.1.5-1.fc21,hawkey-0.5.3-2.fc21,dnf-0.6.4-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/dnf-plugins-core-0.1.5-1.fc21,hawkey-0.5.3-2.fc21,dnf-0.6.4-1.fc21

Comment 7 Fedora Update System 2015-02-17 08:03:49 UTC
Package hawkey-0.5.3-2.fc21, dnf-plugins-core-0.1.5-1.fc21, dnf-0.6.4-1.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing hawkey-0.5.3-2.fc21 dnf-plugins-core-0.1.5-1.fc21 dnf-0.6.4-1.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-2139/dnf-plugins-core-0.1.5-1.fc21,hawkey-0.5.3-2.fc21,dnf-0.6.4-1.fc21
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2015-02-20 08:32:04 UTC
hawkey-0.5.3-2.fc21, dnf-plugins-core-0.1.5-1.fc21, dnf-0.6.4-1.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.