You are not logged in.

#1 2019-03-25 03:10:06

jernst
Member
From: Silicon Valley
Registered: 2014-03-04
Posts: 290
Website

Understanding what happens when during package install/remove/upgrade/

Created a little test package that doesn't do anything other than reporting what happens, e.g. install methods being invoked.

Helped me understand just when, for example, a file gets removed (if only the old package version has it) vs added (if only the new package version has it).

https://github.com/jernst/pacman-package-state

What what it's worth ...

Offline

#2 2019-03-25 06:59:22

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 1,975
Website

Re: Understanding what happens when during package install/remove/upgrade/

Not that I'd be interested in using this.
But your repo lacks the second folder described in the readme file "pacman-package-state-v2".

Last edited by schard (2019-03-25 07:02:41)


macro_rules! yolo { { $($tokens:tt)* } => { unsafe { $($tokens)* } }; }

Offline

#3 2019-03-25 16:03:12

jernst
Member
From: Silicon Valley
Registered: 2014-03-04
Posts: 290
Website

Re: Understanding what happens when during package install/remove/upgrade/

Oops, missing check-in. Fixed. Thanks for letting me know.

Offline

Board footer

Powered by FluxBB