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?
> 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.
> Even nicer would be to sort with a custom algorithm so that
> "package (>> 1)" sorts before "package (<< 2)" but I won't complain
> if you discard this request. For reference, when I sorted the output of
> dpkg-gencontrol I got precisly this request (that's why I'm mentionning
> it): http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=455520
Well the only program in debhelper that adds multiple versioned deps on
a package is the deprecated dh_python, so it's probably overkill.
--
see shy jo
signature.asc
Description: Digital signature

