Issue 8312: Add post/pre hooks for distutils commands (original) (raw)

Created on 2010-04-04 21:54 by tarek, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (5)
msg102353 - (view) Author: Tarek Ziadé (tarek) * (Python committer) Date: 2010-04-04 21:54
Add hooks to a script can be launched before/after a command. This will be useful to build pre/post commit hooks for install/uninstall commands for instance
msg112331 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2010-08-01 14:12
Should hooks be allowed for any command or just build and install?
msg112513 - (view) Author: Konrad Delong (Konrad.Delong) Date: 2010-08-02 18:52
I see no reasons to limit the command set to just these two.
msg112569 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2010-08-03 10:12
And if you don’t allow hooks on other commands, people can still subclass them to add hooks support. I guess it’s best to keep it a consenting adults matter and not adding a restriction that can easily be circumvented.
msg115775 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2010-09-07 15:23
Hooks implemented for any command by Konrad and merged into the main repo.
History
Date User Action Args
2022-04-11 14:56:59 admin set github: 52559
2010-09-07 15:23:02 eric.araujo set status: open -> closedresolution: accepted -> fixedmessages: + stage: needs patch -> resolved
2010-08-03 10:12:37 eric.araujo set messages: +
2010-08-02 18:54:04 konryd set nosy: - Konrad.Delong
2010-08-02 18:52:56 Konrad.Delong set nosy: + Konrad.Delongmessages: +
2010-08-01 14:12:10 eric.araujo set versions: + Python 2.6, Python 2.5, Python 3.1, Python 2.7, Python 3.2resolution: acceptedmessages: + keywords: + gsoctype: enhancementstage: needs patch
2010-05-09 16:47:57 Konrad.Delong set nosy: + konryd
2010-05-01 01:36:39 meatballhat set nosy: + meatballhat
2010-04-06 22:48:08 eric.araujo set nosy: + eric.araujo
2010-04-06 11:40:33 zubin71 set nosy: + zubin71
2010-04-04 21:54:59 tarek create