On Tue, 04 Mar 2008, Joey Hess wrote: > Raphael Hertzog wrote: > > As discussed on debian-devel, it's nice to have deterministic output > > for dependency fields. See the thread that started here: > > http://lists.debian.org/debian-devel/2008/02/msg00893.html > > I assume that you're ditching the global sorting of dependencies and > will only sort ones generated by substvars and similar?
Yes, it's already in git: http://git.debian.org/?p=dpkg/dpkg.git;a=commit;h=bd244cd5d5699e8ece1713398c0bb4c732f60932 I don't want to mess with substvars but people creating substvars ought to create them in a deterministic manner. > > Replace the lines: > > $line=join(", ", keys %items); > > With: > > $line=join(", ", sort keys %items); > > It's obviously good to sort this, since the dependency order was > completly pesudo-random here and, unlike in the above thread, was not > explicitly provided by the maintainer. Exactly. Cheers, -- Raphaël Hertzog Le best-seller français mis à jour pour Debian Etch : http://www.ouaza.com/livre/admin-debian/

