You are not logged in.

#1 2024-09-18 13:17:48

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,116
Website

[WIP] paclog - a pacman log parser

Inspired by this post I implemented paclog.
The library is still under heavy development and things might change.
However, a few example programs are already included.
E.g.:

~> nthtrans -p -- -1
python-pytz
~> nthtrans -p -- -2
curl libarchive pacman archlinux-keyring expac git grub lib32-curl lib32-libdrm libpng lib32-libpng lib32-libxi wayland lib32-wayland liburcu linux nextcloud openssh pacman-contrib python sudo
~>

To print the packages that have been installed, reinstalled or upgraded, but not removed in the Nth transaction in the log.


Inofficial first vice president of the Rust Evangelism Strike Force

Offline

#2 2024-09-18 13:34:04

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,426
Website

Re: [WIP] paclog - a pacman log parser

Just a heads up that a 'paclog' already exists (shipped as part of pacutils), but AFAIK it doesn't offer an easy way of listing packages involved in a transaction. smile


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2024-09-18 13:40:34

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,116
Website

Re: [WIP] paclog - a pacman log parser

Thanks for the info. I'd have no issue with changing the software's name this early during development.


Inofficial first vice president of the Rust Evangelism Strike Force

Offline

Board footer

Powered by FluxBB