Dan Price wrote:
On Thu 05 Mar 2009 at 01:54PM, Brock Pytlik wrote:
[snip]
Brock and I touched base with Bart on this and concluded that
this work is still important, since the distinction of fast
vs. slow is really about what's in RAM versus what's on disk.
My high level comment is that FAST_OPTIONS and SLOW_OPTIONS seems
to bind interface too much to implementation.
Ok, I can certainly see that. I'll pull those two definitions out.
I would recommend defining:
BASICS, SUMMARY, CATEGORIES, STATE, PREF_AUTHORITY, SIZE, LICENSES
LINKS, HARDLINKS, FILES, DIRS, DEPENDENCIES
And defining ALL and ACTION_OPTIONS. It seems to me that
the rest could be obviated without too much pain to the caller--
ALL_BUT_LICENSE for example to me seems cumbersome.
Ok, that's reasonable to me. To some extent I chose my groupings based
on what callers were currently doing, but it's entirely possible they
were doing that b/c of the interface provided.
I might be tempted to call BASICS something like FMRI, or IDENTITY
or something.
I like IDENTITY, I'll switch to that.
Brock
-dp
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss