[Freeipa-devel] [PATCH 0018] Fixed install_ca and install_kra failures at domain level 0

Martin Basti mbasti at redhat.com
Thu Jan 7 17:28:55 UTC 2016



On 07.01.2016 08:53, Oleg Fayans wrote:
>
> On 01/06/2016 03:06 PM, Martin Basti wrote:
>> I cannot apply your patch on master branch, missing blobs, can you
>> rebase please?
> Done
>
>> On 06.01.2016 11:47, Oleg Fayans wrote:
>>> Any chance this patch can be merged this week?
>>>
>>> On 12/14/2015 02:08 PM, Oleg Fayans wrote:
>>>> Hi Martin,
>>>>
>>>> On 12/11/2015 05:58 PM, Martin Basti wrote:
>>>>> On 11.12.2015 17:28, Oleg Fayans wrote:
>>>>>> +    myre = re.compile(".*Backed up to (?P<backup>.*?)\n.*")
>>>>> IMO this regexp is not good.
>>>>>
>>>>> 1)
>>>>> please name it better than "myre"
>>>> Done
>>>>
>>>>> 2)
>>>>> initial '.*' is not needed because regexp does not start with '^' and
>>>>> you use search() later
>>>>>
>>>>> 3)
>>>>>
>>>>> trailing '.*' is not needed as well, because it does not end with '$'
>>>>>
>>>>> 4)
>>>>> You can use re.MULTILINE that will parse string per lines
>>>>>
>>>>> path_re = re.compile("^Backed up to (?P<backup>.*)$", re.MULTILINE)
>>>> Used it, thanks!
>>>>
>>>>> 5)
>>>>> +    matched = myre.search(result.stdout_text + result.stderr_text)
>>>>> Why do you need search in both stderr and stdout?
>>>> Because of this bug: https://fedorahosted.org/freeipa/ticket/5484
>>>>
>>>>> Martin^2
>>>>>
>>>>>
>>>>
ACK
Pushed to:
master: 3b39d8b6de3e9e3551c2c413db1fe8260979c593
ipa-4-3: 67727a2864a8a0997cfa71d7a36618a4dc741ed8




More information about the Freeipa-devel mailing list