View previous topic :: View next topic |
Author |
Message |
lekto Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 20 Sep 2014 Posts: 217 Location: Ancient Rome
|
Posted: Tue Feb 11, 2025 6:03 pm Post subject: genlop --date doesn't work right |
|
|
Hi, recently I moved a system to a different machine, and genlop shows build times of the old machine, so I'm getting wrong genlop -p times. I want genlop to ignore times older than 2025. Genlop --help shows:
Code: | --date datestring1 [--date datestring2] only shows results between
datestring1 and datestring2.
datestring2 defaults to "now" if not explicitly set.
(e.g. genlop --list --date 3 days ago) shows packages emerged since this
time three days ago. |
But it doesn't work, I tried:
Code: | genlop --date 01/01/2025 -t mesa
genlop --date 2025/01/01 -t mesa
genlop --date 2025 -t mesa
genlop --date 1 january 2025 -t mesa
genlop --date "1 january 2025" -t mesa |
But each time it includes results older than 2025. I also tried specifying the range, but it doesn't work at all:
Code: | genlop --date 1/1/2025 --date now -t mesa
too many --date arguments ?
Died at /usr/bin/genlop line 267. |
Is this a bug, or am I missing something? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
grknight Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
Joined: 20 Feb 2015 Posts: 2013
|
Posted: Tue Feb 11, 2025 6:43 pm Post subject: |
|
|
I can't speak for genlop, but perhaps it wants ISO8601 dates. I know qlop does:
Edit:
Yes, it does work: Code: | $ genlop --date 2025-01-01 --list
* packages merged:
Wed Jan 29 14:47:52 2025 >>> sys-kernel/gentoo-sources-6.1.121 |
Last edited by grknight on Tue Feb 11, 2025 6:50 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Anon-E-moose Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/3064969284ad468b81342a.jpg)
Joined: 23 May 2008 Posts: 6224 Location: Dallas area
|
Posted: Tue Feb 11, 2025 6:48 pm Post subject: Re: genlop --date doesn't work right |
|
|
lekto wrote: | But it doesn't work, I tried:
Code: | genlop --date 01/01/2025 -t mesa
genlop --date 2025/01/01 -t mesa
genlop --date 2025 -t mesa
genlop --date 1 january 2025 -t mesa
genlop --date "1 january 2025" -t mesa |
|
double dates are used with -l (list IIRC)
This should work
genlop --date 01/01/2025 -t mesa
Code: | $ genlop --date 01/01/2025 -t mesa
* media-libs/mesa
Sat Feb 8 05:45:24 2025 >>> media-libs/mesa-25.0.0_rc2
merge time: 1 minute and 16 seconds. |
I am using an older version, so don't know if it has changed
Code: | $ genlop -v
genlop 0.30.10 |
All the above relies on the system date being accurate. _________________ UM780, 6.12 zen kernel, gcc 13, openrc, wayland |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|