On Sat, Jul 22, 2017 at 7:26 AM, Joshua Root <j...@macports.org> wrote:
> For now, I'd like to ask in what order does "registry::entry imaged"
>> returns the port list? Because I'm running the sorting function which the
>> restore_ports.tcl uses but it's giving me the ports in the same order as
> Probably just ordered by rowid, i.e. might as well be random. Note that
> the sort_ports proc from restore_ports.tcl does not take a list of registry
> references like registry::entry returns, but a list of strings representing
> port names, versions and variants in the format generated by 'port
`port installed` returns the result of `registry::entry imaged` sorted in
an alphabetical order, first by name, then version etc.
`registry::entry imaged` might be returning in a random order but sorting
it (with ports coming before their dependencies) doesn't change the result