Marc Espie wrote:
The --- around it show that this is stuff that gets shown at the end of pkg_add. You *have* to read that stuff.
I *want* to read this stuff, but I *cannot see it* if it flashes by. And then I do not know which packages installed and which of those actually contained such a message.
(And thanks for your generally favourable reply !)
You *can* recall such messages later. pkg_info -M will show the message again.
I know. Only: once the package is installed, the link is lost. I am sure I was clear enough on this and don't have to repeat this.
This is a good suggestion, we already try to do stuff so that it is ready for cut&paste, adding comments makes a lot of sense.
Thanks, yes. As of now I do likewise: whenever I can get hold of a message, I copy and paste the content into a specific directory under the package name; to be able to remember that something needed to be done. Usually, I postpone these actions for just a short time. Like when all packages are installed.
Yeah, that's another good suggestion, but as usual, we need to proceed really carefully there... the old package tools had ways more install scripts and nuts than the new ones, I don't think anyone wants to go back.
Not a question. I know you are working on it and you are doing a good job. So I thought it would be a good moment to add a hook or two now to be used later for calling script 'foo' to store / call the respective post-install script while installing / updating. (With another, independent, routine for the manual processing of those scripts at sysadmin's convenience.)
Also, we want to deal with updates gracefully. There have already been huge improvements over the last months, let's go further.
Right. Exactly right. My proposal does not warrant any action by the maintainers as of now. As of now it won't *run* the post-install message if it isn't a script. But it could still *store* these messages - respectively a pointer to them - to be called for display on demand; in the sequence as installed.
Once those hooks are in the pkg_add (or even pkg_*), it will be rather simple to add the extra functionality since the messages are relatively few and short and plain text and change definitively less frequently compared to the other parameters of a port.
Uwe
