Ticket #955 (new enhancement)

Opened 10 years ago

Last modified 9 years ago

list MYOPTIONS deps along with option deps

Reported by: zlin Owned by:
Priority: Sometime Milestone: cave Long Term Extras
Component: clients/cave Version: scm
Keywords: Cc:
Blocked By: Blocking:
Distribution: Exherbo


Maybe by splitting that out of pkg_pretend for now or by running pretends for packages that aren't masked

Change History

comment:1 Changed 9 years ago by ciaranm

I don't think I get what this is after. How's it different from ticket:956?

comment:2 Changed 9 years ago by zlin

This is just about showing all option requirements along with option deps even in cases where pretend don't currently get run. If foo[bar] depends upon bar[baz] and foo[baz] you currently first get an error about bar needing to be reconfigured. Then after you've resolved that you get an error about foo[bar] requiring foo[baz].

comment:3 Changed 9 years ago by ciaranm

Hrm, this is related to ticket:1066.

The pkg_bad_options thing is done as part of PretendAction?. So we'd need some way of running just the "bad options" part of PretendAction?. However, it's rather fiddly, because there might be changed choices in action, so we'd have to redo the MYOPTIONS checking to do it with changes rather than upon the basic flags.

comment:4 Changed 9 years ago by ciaranm

...and then we'd need a way of running pkg_bad_options such that things like optionq would work on the reconfigured values too.

This is starting to look very very messy.

Note: See TracTickets for help on using tickets.