Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian dpkg (http://www.linux-archive.org/debian-dpkg/)
-   -   Semantic change for dpkg triggers? (http://www.linux-archive.org/debian-dpkg/532529-semantic-change-dpkg-triggers.html)

Raphael Hertzog 05-30-2011 03:26 PM

Semantic change for dpkg triggers?
 
Hi,

I am considering changing the default behaviour of dpkg triggers. [1]
Currently when a package activates a trigger (except if it uses
dpkg-trigger directly with the --no-await option, and that is a minority
of cases), the trigerring package ends up in "triggers-awaited" status
and it doesn't satisfy dependencies.

This tends to be not needed and requires trigger processing sooner than
what's really required in many cases. Thus I am considering to change
this: the triggering package would directly go to the installed status
(the old behaviour could be kept if the package implementing the trigger
switched to another trigger directive named "interest-crucial" for example
instead of the usual "interest").

My question is thus: are there triggers currently in use where this
relaxed behaviour would be wrong? Or more simply are there packages which
are really not working before the processing of their awaited triggers?


Alternatively we could also discuss whether it would make sense
to change the meaning of the triggers-awaited status to something where
it would be enough to satisfy dependencies.

Thank you for your feedback.

Cheers,

[1] Initial proposal here: http://lists.debian.org/debian-dpkg/2011/05/msg00075.html
For more background information, you can read my recent blog post:
http://raphaelhertzog.com/2011/05/30/trying-to-make-dpkg-triggers-more-useful-and-less-painful/
and also the
--
Raphaël Hertzog ◈ Debian Developer

Follow my Debian News ▶ http://RaphaelHertzog.com (English)
▶ http://RaphaelHertzog.fr (Français)


--
To UNSUBSCRIBE, email to debian-dpkg-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110530152604.GE28898@rivendell.home.ouaza.com">h ttp://lists.debian.org/20110530152604.GE28898@rivendell.home.ouaza.com

Raphael Hertzog 05-30-2011 03:26 PM

Semantic change for dpkg triggers?
 
Hi,

I am considering changing the default behaviour of dpkg triggers. [1]
Currently when a package activates a trigger (except if it uses
dpkg-trigger directly with the --no-await option, and that is a minority
of cases), the trigerring package ends up in "triggers-awaited" status
and it doesn't satisfy dependencies.

This tends to be not needed and requires trigger processing sooner than
what's really required in many cases. Thus I am considering to change
this: the triggering package would directly go to the installed status
(the old behaviour could be kept if the package implementing the trigger
switched to another trigger directive named "interest-crucial" for example
instead of the usual "interest").

My question is thus: are there triggers currently in use where this
relaxed behaviour would be wrong? Or more simply are there packages which
are really not working before the processing of their awaited triggers?


Alternatively we could also discuss whether it would make sense
to change the meaning of the triggers-awaited status to something where
it would be enough to satisfy dependencies.

Thank you for your feedback.

Cheers,

[1] Initial proposal here: http://lists.debian.org/debian-dpkg/2011/05/msg00075.html
For more background information, you can read my recent blog post:
http://raphaelhertzog.com/2011/05/30/trying-to-make-dpkg-triggers-more-useful-and-less-painful/
and also the
--
Raphaël Hertzog ◈ Debian Developer

Follow my Debian News ▶ http://RaphaelHertzog.com (English)
▶ http://RaphaelHertzog.fr (Français)


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110530152604.GE28898@rivendell.home.ouaza.com">h ttp://lists.debian.org/20110530152604.GE28898@rivendell.home.ouaza.com


All times are GMT. The time now is 12:13 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.