Page 1 of 1

[RESOLVED] Suggestion for improvement

Published: June 26, 2019 - 2:19 PM
by Christophe0110
Hello!

Several times during package creation, I've encountered a problem:
How can I, when uninstalling a package, perform operations from the user's perspective (like session-setup does after installation)?

Therefore, I'd like to suggest an improvement for wapt:
Would it be possible to allow (via a package-related option) the session-setup to run again after uninstallation? Or any other method?

Thank you.
Christophe.

Re: Suggestion for improvement

Published: July 3, 2019 - 10:42 AM
by dcardon
Hello Christophe,
Christophe0110 wrote: June 26, 2019 - 2:19 PM Several times during package creation, I encountered a problem:
How can I, when uninstalling a package, perform operations from the user's perspective (like session-setup does after installation)?

Therefore, I would like to suggest an improvement for wapt:
Would it be possible to allow (via a package-related option) the session-setup to be run again after uninstallation? Or any other method?
Indeed, that could be interesting. It's not trivial to integrate because it will require keeping references to the old uninstalled packages in the SQLite database, along with their corresponding Python blobs. But it's definitely a good idea for truly clean uninstalls. Generally, software isn't uninstalled very often, except during the initial decrawling phase. I'll keep that in mind.

Sincerely,

Denis

Re: [RESOLVED] Suggestion for improvement

Published: July 18, 2019 - 3:10 PM
by Christophe0110
Thanks for your reply!