Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Cleanup handling of non-env configs

#4

The load_config - configure cycle is confusing because of the yields to handle unknown configs. In one case a path is available and in the other there is not.

Direct all handling of non-env configs to a standard method and allow assignment of this method dynamically (a-la on_complete).

Reported by bahuvrihi · April 17th, 2008 @ 03:37 PM

State: resolved
Milestone: Tap 0.10.0
Assigned to: bahuvrihi bahuvrihi

Activity

  1. bahuvrihi
    bahuvrihi
    • State changed from new to resolved
    • Assigned user set to bahuvrihi

    Changed Env such that non_env_configs are passed to the load_config block, but ONLY for the config loaded directly from the config file. Similarly, non_env_configs are passed to the configure block but ONLY for the configs passed to configure.

    Hence, non-env configs will automatically be overlooked in chain-loaded configurations.

    April 17th, 2008 @ 04:17 PM

  2. bahuvrihi
    bahuvrihi
    • Milestone set to Tap 0.10.0

    April 17th, 2008 @ 04:19 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.