Skip to content

genlop

Nice emerge.log parser


Display the currently compiling packages in use

genlop -c

Search for portage tree sync/rsync history

genlop -r

Show full merge history

genlop -l

Calculate merge time for a specifik package

genlop -t

Show when unemerged a package

genlop -u

Display package history with examples (default if any option is used)

genlop -e mesa
 
 * media-libs/mesa

     Tue May 13 17:36:18 2025 >>> media-libs/mesa-25.0.5
     Tue Jun 10 08:49:19 2025 >>> media-libs/mesa-25.1.1
     Sat Jul  5 08:25:31 2025 >>> media-libs/mesa-25.1.5
     Sun Aug  3 08:34:21 2025 >>> media-libs/mesa-25.1.7
     Wed Sep 17 20:19:01 2025 >>> media-libs/mesa-25.1.8
     Fri Sep 19 01:06:41 2025 >>> media-libs/mesa-25.2.3
     Fri Jan  9 22:52:17 2026 >>> media-libs/mesa-25.3.2
     Mon Jan 12 17:28:11 2026 >>> media-libs/mesa-25.3.3
     Thu Jan 29 08:46:52 2026 >>> media-libs/mesa-25.3.3
     Thu Jan 29 09:13:37 2026 >>> media-libs/mesa-25.3.3
     Thu Jan 29 09:39:41 2026 >>> media-libs/mesa-25.3.3
  • Merge Time and Eta

Show current merge time and eta

genlop -c | grep -E 'current merge time|ETA'

Another way to show current merge time and eta

genlop -c | awk -F': ' '
/current merge time/ { printf "⏱  Merge time: %s\n", $2 }
/ETA/                { printf "⌛ ETA:        %s\n", $2 }
'

Minimalist one-liner (pure POSIX grep)

genlop -c | grep -e 'current merge time' -e '^ *ETA'