Robin H. Johnson wrote:
> I'm wondering how profiles should be reported. Rather than just the
> endpoint, I'm thinking that we should resolve them and generate a list,
> like the above, then explicitly whiteout the non-public ones.
> So in the above, you'd report:
> ===
> (censored) X 13
> default/linux/amd64/2008.0
> ===
> 
> The resolving can be terminated at each profile that is listed in
> profiles.desc, so you can just report default/linux/amd64/2008.0 and not
> all the profiles that make that up.

I'm not sure about that.  It feels a bit overkill to me.
I think for now I'll stick to

 1) $p = resolve the symlink
 2) match $p against /usr/portage/profiles/profiles.desc
 3) use $p on match, ~"custom" else



Sebastian


Reply via email to