Shawn Walker wrote:

> If there was a parsing error, no.  But if we couldn't get any version
> information from configuration at all, then yes, the fallback gets
> used as a last ditch attempt to determine what sort of image is being
> used.

So in what kind of scenario do we end up here -- if you decided to keep the
format of the config file, but rearrange the structure so that the version
attribute was found somewhere else?

I'm not seeing how we can infer that an image is of a version we can
understand if we're having to fall back to scraping directory structure.
If we're at that point, either the version isn't one we can do anything
useful with or the image is damaged.  In neither case, I believe, should we
try to make any changes to the image, except perhaps some sort of repair.
Am I just not seeing what you're trying to do here?

Danek
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to