On 2013-01-22 19:50, Guillem Jover wrote: > Package: lintian > Version: 2.5.12 > Severity: wishlist > > Hi! >
Hi, > Due to 537051 we noticed that the documentation for the triggers > control file directives is not really clear. Using the two different > directives for the same trigger names is pretty confusing as only the > last one will be honoured. Things like this in the .deb triggers > control file: > > ,--- DEBIAN/triggers > | interest-noawait foo > | interest foo > `--- > > would only add a non-awaiting trigger to the dpkg database. The same > goes for activate-noawait/activate. Ideally dpkg would contain better > documentation explaining this, and the code would make sure this never > happens at build time, and warn at unpack time, etc. For further > details of the situation that brought up this, read starting at: > > <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=537051#90> > When you say the "only last one will be honoured" does mean that an "interest foo" and "activate foo" can override each other (or is that a separate namespace). I understand that interest is for file names and activate is not, but just for getting the case right. > So it would be nice if lintian could emit an error tag for those > conditions. I've added to my TODO to improve this for dpkg 1.17.x, > but even then the lintian check would still be useful as there might > be packages in the wild with stuff like the above. > > Thanks, > Guillem > > ~Niels -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org