Hi Stuart,

> > Glancing at the parsed data structures, it would seem like the code is
> > collapsing duplicate environment keys in the returned value of
> > get_environment() as well as throw away the original ordering.
>
> It is deliberate, although inconsistent as you note. I'm happy to be told me
> reasoning is not sound and that different structures would be better

No, I was mostly just checking; you've clearly thought this through. I
think your various solutions are more than adequate, especially as we
don't really define anywhere what happens if any of our fields contain
duplicates anyway.


Best wishes,

--
      o
    ⬋   ⬊      Chris Lamb
   o     o     reproducible-builds.org 💠
    ⬊   ⬋
      o

_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to