Env ==
Reported by bahuvrihi | August 6th, 2008 @ 10:11 AM | in Tap-1.0.0
Should Env perform some equality check based on Env#root.root? If two envs are somehow loaded in (ex when tap.yml for a gem sets root = "."), then this can cause a manifest error, and duplication.
The current scheme searches for envs that are included in the flat_envs target... but at preset == must be checking object_id, and not just contents.
Comments and changes to this ticket
-
bahuvrihi August 6th, 2008 @ 10:26 AM
Also consider disallowing root reconfiguration in Env#instantiate
config.delete('root').delete(:root) (instances[path] = Env.new({}, root, logger)).reconfigure(config) do |unhandled_configs| yield(unhandled_configs) if block_given? end
-
bahuvrihi September 10th, 2008 @ 10:01 AM
- Milestone set to Tap-0.11.0
-
bahuvrihi October 21st, 2008 @ 08:11 AM
- Milestone changed from Tap-0.11.0 to Tap-1.0.0
-
bahuvrihi May 25th, 2009 @ 12:32 PM
- Assigned user set to bahuvrihi
- State changed from new to resolved
I think the core of this problem has been solved using contexts that track env instances for a given root.
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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
A framework for making configurable, file-based tasks and workflows.