Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #16563
| From | weepingclown <weepingclown@disroot.org> |
|---|---|
| Newsgroups | linux.debian.maint.python |
| Subject | Re: Upload request: psrecord (NEW) |
| Date | 2024-12-08 19:50 +0100 |
| Message-ID | <JRuvT-eUmy-3@gated-at.bofh.it> (permalink) |
| References | (9 earlier) <JRadP-evkz-7@gated-at.bofh.it> <JRadP-evkz-3@gated-at.bofh.it> <JRsNr-eR4M-5@gated-at.bofh.it> <JRsNr-eR4M-3@gated-at.bofh.it> <JRtq9-eSyU-15@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi Peter,
I believe the previous way of doing this was -
override_dh_foo:
dh_foo
<do stuff>
which is now less verbose if you want -
execute_after_dh_foo:
<do stuff>
or execute_before, when you need that.
My understanding is that there is no added benefit than less verbosity and maybe more clarity (since it tells you in a first glance that it should run before/after dh_foo). So yes, nothing problematic as long as you still have dh_foo there once you use override_dh_foo, but these execute_* targets feel much better to me. tbph, overriding a target only to run the exact same thing again makes me feel stupid each time, so I change the older patters whenever I come across them in a package :p
Best,
Ananthu
On 8 December 2024 5:36:32 pm UTC, Peter Wienemann <wiene@debian.org> wrote:
>As long as the override_dh_auto_clean target still contains dh_auto_clean the original functionality should be retained. At least this is my understanding. Please correct me if this is wrong. But you are perfectly right that using execute_after_dh_auto_clean is less error-prone. Thanks for this suggestion. I added it to my notes. :-)
>
>Best regards
>
>Peter
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: Upload request: psrecord (NEW) Peter Wienemann <wiene@debian.org> - 2024-11-24 18:00 +0100
Re: Upload request: psrecord (NEW) Peter Wienemann <wiene@debian.org> - 2024-11-27 20:50 +0100
Re: Upload request: psrecord (NEW) Peter Wienemann <wiene@debian.org> - 2024-11-30 10:00 +0100
Re: Upload request: psrecord (NEW) Peter Wienemann <wiene@debian.org> - 2024-12-01 17:50 +0100
Re: Upload request: psrecord (NEW) Peter Wienemann <wiene@debian.org> - 2024-12-07 22:10 +0100
Re: Upload request: psrecord (NEW) weepingclown <weepingclown@disroot.org> - 2024-12-08 18:00 +0100
Re: Upload request: psrecord (NEW) Peter Wienemann <wiene@debian.org> - 2024-12-08 18:40 +0100
Re: Upload request: psrecord (NEW) weepingclown <weepingclown@disroot.org> - 2024-12-08 19:50 +0100
Re: Upload request: psrecord (NEW) Peter Wienemann <wiene@debian.org> - 2024-12-08 18:20 +0100
csiph-web