We noticed that the triggers spec[0] says "It is not defined in what
order triggers will run." We think this may invalidate your current approach. Or did you already see this and account for it?
Sean Whitton <spwhitton@spwhitton.name> writes:
We noticed that the triggers spec[0] says "It is not defined in what
order triggers will run." We think this may invalidate your current
approach. Or did you already see this and account for it?
I'll have to refresh, but from what I recall offhand, that might be a problem. (And perhaps I missed/forgot that from the spec.)
And for what it's worth, when I left things last, I'd mostly been
reasoning from Manoj's last graph here (and the subset covered in
policy): https://people.debian.org/~srivasta/MaintainerScripts.html
In any case, if I remember correctly, I was under the impression that
they may respect dependency ordering at least to the extent that the
postinst configure does, and hence allow us to avoid having to handle
that ourselves (e.g. as we do now, not entirely satisfactorily, via
tsort). I believe I also did some testing in a VM, and the ordering was respected for some test packages I created, but of course that's not a promise.
Sounds reasonable -- any chance y'all are going to have someone who
might know handy at debconf?
Thanks. When David and I talked about it, we thought that we shouldn't
rely on ordering that's not guaranteed by the triggers spec -- though possibly the spec has fallen out-of-date with the implementation.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 149:48:23 |
Calls: | 10,383 |
Files: | 14,054 |
Messages: | 6,417,777 |