On Tuesday, November 20, 2012 4:45:59 PM UTC-6, Andy Parker wrote:
>
> On Tue, Nov 20, 2012 at 2:31 PM, llowder <[email protected]
> <javascript:>>wrote:
>
>> I'm currently working on trying to track down #1372 [1]. Somewhat new to
>> this process as well.
>>
>>
> Oh, I just remember this: update the bug to "Investigating" and assign it
> to yourself.
>
I'm able to assign it to myself, but I am listed as a "reporter" on the
project page, and "Investigating" does not show up in the list of statuses
I am able to set.
>
>
>> I currently have a series of tests that show and explain the current
>> behavior, to define the edges of this bug.[2]
>> The tests are mostly done, though I am adding an additional set to show
>> what happens when an ENC is used.
>>
>> Once these are done, I am not entirely sure what my next step is, though
>> I would guess it has to do with using irb or pry to trace the code and see
>> what happens.
>>
>>
> Yeah, this is where things can start getting a little more difficult :) I
> would suggest using pry or ruby-debug or even just puts statements and
> running a failing test case. Starting in the include function would
> probably be a good place. Figure out what include is doing that doesn't
> look right.
>
> You can also do some inspection by comparing what happens with "class {
> foo: }" vs. "include foo". Why are those two different? That might point to
> the problem as well.
>
> Once you figure that out, then try to figure out a fix to the design so
> that this kind of problem is unlikely to occur again. In this case I
> suspect it will be getting rid of some duplication.
>
>
>> Are there any documents available on getting started with this, or does
>> anyone have any pointers for me?
>>
>> Thanks.
>>
>> [1] http://projects.puppetlabs.com/issues/1372
>> [2]
>> https://github.com/llowder/puppet/blob/1372_data_gathering/spec/integration/parser/node_class_same_spec.rb
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Puppet Developers" group.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msg/puppet-dev/-/zVzS8NrZLo0J.
>> To post to this group, send email to [email protected]<javascript:>
>> .
>> To unsubscribe from this group, send email to
>> [email protected] <javascript:>.
>> For more options, visit this group at
>> http://groups.google.com/group/puppet-dev?hl=en.
>>
>
>
--
You received this message because you are subscribed to the Google Groups
"Puppet Developers" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/puppet-dev/-/T8gF6J2h4CIJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-dev?hl=en.