Skip to content
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

--last does not respect multiple events on a package #2

Closed
herzrasen opened this issue Aug 26, 2019 · 0 comments
Closed

--last does not respect multiple events on a package #2

herzrasen opened this issue Aug 26, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@herzrasen
Copy link
Owner

When querying using --last n it is ignored when multiple events occurred on a single package.

For exampe i3-gaps has been installed and removed multiple times which is using to many "slots" in the result set.

[2019-08-25 20:52] [ALPM] installed yajl (2.1.0-2)
[2019-08-25 20:52] [ALPM] installed i3-gaps (4.17-1)
[2019-08-25 20:52] [ALPM] installed i3blocks (1.4-6)
[2019-08-25 20:52] [ALPM] installed i3lock (2.12-1)
[2019-08-25 20:52] [ALPM] installed confuse (3.2.2-1)
[2019-08-25 20:52] [ALPM] installed i3status (2.13-2)
[2019-08-25 20:52] [ALPM] transaction completed
[2019-08-25 20:52] [ALPM] running 'systemd-update.hook'...
[2019-08-25 20:52] [ALPM] running 'update-desktop-database.hook'...
[2019-08-25 21:32] [ALPM] transaction started
[2019-08-25 21:32] [ALPM] removed i3status (2.13-2)
[2019-08-25 21:32] [ALPM] removed i3lock (2.12-1)
[2019-08-25 21:32] [ALPM] removed i3blocks (1.4-6)
[2019-08-25 21:32] [ALPM] removed i3-gaps (4.17-1)
[2019-08-25 21:32] [ALPM] transaction completed
[2019-08-25 21:32] [ALPM] running 'systemd-update.hook'...
[2019-08-25 21:32] [ALPM] running 'update-desktop-database.hook'...
[2019-08-25 21:33] [ALPM] transaction started
[2019-08-25 21:33] [ALPM] upgraded libldap (2.4.47-3 -> 2.4.48-1)
[2019-08-25 21:33] [ALPM] upgraded llvm-libs (8.0.1-2 -> 8.0.1-3)
[2019-08-25 21:33] [ALPM] transaction completed
[2019-08-25 21:33] [ALPM] running 'systemd-update.hook'...
[2019-08-26 13:39] [ALPM] transaction started
[2019-08-26 13:39] [ALPM] reinstalled st (0.8.2-2)
[2019-08-26 13:39] [ALPM] transaction completed
[2019-08-26 13:39] [ALPM] running 'systemd-update.hook'...
[2019-08-26 14:13] [ALPM] transaction started
[2019-08-26 14:13] [ALPM] installed i3-gaps (4.17-1)
[2019-08-26 14:13] [ALPM] installed i3lock (2.12-1)
[2019-08-26 14:13] [ALPM] transaction completed
[2019-08-26 14:13] [ALPM] running 'systemd-update.hook'...
[2019-08-26 14:13] [ALPM] running 'update-desktop-database.hook'...
[2019-08-26 14:17] [ALPM] transaction started
[2019-08-26 14:17] [ALPM] installed herbstluftwm (0.7.2-1)
[2019-08-26 14:17] [ALPM] transaction completed
[2019-08-26 14:17] [ALPM] running 'systemd-update.hook'...
[2019-08-26 14:17] [ALPM] transaction started
[2019-08-26 14:17] [ALPM] installed dzen2 (0.9.5.14.488ab66-1)
[2019-08-26 14:17] [ALPM] transaction completed
[2019-08-26 14:17] [ALPM] running 'systemd-update.hook'...
[2019-08-26 14:29] [ALPM] transaction started
[2019-08-26 14:29] [ALPM] removed dzen2 (0.9.5.14.488ab66-1)
[2019-08-26 14:29] [ALPM] removed herbstluftwm (0.7.2-1)
╰─➤  pkghist --last 20 --limit 1
confuse
  [2019-08-25 20:52:00] Installed
    3.2.2-1
yajl
  [2019-08-25 20:52:00] Installed
    2.1.0-2
libldap
  [2019-08-25 21:33:00] Upgraded
    2.4.48-1
llvm-libs
  [2019-08-25 21:33:00] Upgraded
    8.0.1-3
i3-gaps
  [2019-08-26 14:13:00] Installed
    4.17-1
i3lock
  [2019-08-26 14:13:00] Installed
    2.12-1
@herzrasen herzrasen added the bug Something isn't working label Aug 26, 2019
herzrasen pushed a commit that referenced this issue Aug 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant