Closed aksharachaturvedi closed 10 years ago
@vanchi-zendesk
Incorporated the changes from the branch 'INFR-393-getopt-implementation' so that file has updated changes for getopt() and json.c
@vanchi-zendesk For Code review (working on indentation)
cc @zenachaturvedi @osheroff I was wondering if we don't bring down -k to ug_guts. What do you think? Maybe let the regexp part of -k be sent down and we filter it out at ruby side? The C code is doing quite a lot now..
@zenachaturvedi Overall, the code looks good. It's high time that we added plenty of tests for this though. We can add the tests at the ruby layer to keep it simple.
I will take a deeper look tomorrow..
cc @vanchi-zendesk and @osheroff. If we leave out -k in ug_guts and just pass regular expression from ruby code then how would we differentiate between 'regular expression for -k vs regular expression that follows in the end' ?
@vanchi-zendesk
Added tests for Json logs.
@vanchi-zendesk
Rebased this branch to get upto date
@vanchi-zendesk
Addressed the code review change.
:+1:
@vanchi-zendesk
This PR includes:
I have added the cleanup functions but I think they should be common to all the types. Right now ctx in ug_guts is not getting freed or am I missing something ?