[Freeipa-devel] [PATCH] 0014 Add final debug message in installers

Petr Viktorin pviktori at redhat.com
Thu Mar 15 10:30:20 UTC 2012


On 03/01/2012 11:45 AM, Petr Viktorin wrote:
> On 02/29/2012 07:46 PM, Rob Crittenden wrote:
>> Martin Kosek wrote:
>>> On Mon, 2012-02-27 at 17:51 +0100, Petr Viktorin wrote:
>>>> On 02/22/2012 10:41 AM, Petr Viktorin wrote:
>>>>> This fixes https://fedorahosted.org/freeipa/ticket/2071 (Add final
>>>>> debug
>>>>> message in installers). The try/except blocks at the end of
>>>>> installers/management scripts are replaced by a call to a common
>>>>> function, which includes the final message.
>>>>>
>>>>> Obviously the installers still need some more love. This is as far
>>>>> as I
>>>>> got before Martin stopped me, saying I shouldn't change too much
>>>>> before
>>>>> a release :)
>>>>>
>>>>>
>>>>> If it's still too many changes to test, I could just wrap the
>>>>> blocks in
>>>>> some `with add_final_message` block for now, and resubmit this patch
>>>>> after the release.
>>>>>
>>>>>
>>>
>>> Yeah, this is exactly the kind of changes that can have yet-unseen
>>> consequences and I don't like pushing this close to the release.
>>>
>>> The original ticket just asks for a debug message when the install
>>> script ends. If possible, I would really prefer to have some low-risk
>>> patch adding just those and leave install script refactoring for next
>>> big release, like 3.x. Rob, what's your opinion on this?
>>>
>>> Martin
>>>
>>
>> Yes, I agree. Simpler is better at this point.
>>
>> rob
>
> This patch simply wraps the try blocks in a context that logs the final
> result.
> Most of the changes are indentation; diff with -w to see the additions.
>
> Not sure if this would count as an update or a new patch...
>
>
>
> _______________________________________________
> Freeipa-devel mailing list
> Freeipa-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/freeipa-devel

Rebased against current master.

-- 
Petr³
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pviktori-0014-04-Add-final-debug-message-in-installers.patch
Type: text/x-patch
Size: 29999 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20120315/5647af35/attachment.bin>


More information about the Freeipa-devel mailing list