Re: [SSSD] Embedding Lua into SSSD

2015-08-25 Thread Simo Sorce
On Tue, 2015-08-25 at 16:14 +0300, Nikolai Kondrashov wrote: Hi Pavel, On 08/24/2015 11:54 AM, Pavel Březina wrote: On 08/21/2015 07:01 PM, Nikolai Kondrashov wrote: I might be in a strange and careless mood today, but here is something I wanted to suggest since the time I saw the amount

Re: [SSSD] Embedding Lua into SSSD

2015-08-25 Thread Michal Židek
On 08/25/2015 03:21 PM, Nikolai Kondrashov wrote: Hi Michal, On 08/24/2015 05:06 PM, Michal Židek wrote: On 08/21/2015 07:01 PM, Nikolai Kondrashov wrote: I might be in a strange and careless mood today, but here is something I wanted to suggest since the time I saw the amount of logic that

Re: [SSSD] Embedding Lua into SSSD

2015-08-25 Thread Nikolai Kondrashov
On 08/25/2015 06:05 PM, Michal Židek wrote: On 08/25/2015 03:21 PM, Nikolai Kondrashov wrote: On 08/24/2015 05:06 PM, Michal Židek wrote: On 08/21/2015 07:01 PM, Nikolai Kondrashov wrote: I might be in a strange and careless mood today, but here is something I wanted to suggest since the time

Re: [SSSD] Embedding Lua into SSSD

2015-08-25 Thread Nikolai Kondrashov
On 08/25/2015 06:59 PM, Lukas Slebodnik wrote: On (25/08/15 15:57), Nikolai Kondrashov wrote: Hi Simo, On 08/21/2015 09:37 PM, Simo Sorce wrote: On Fri, 2015-08-21 at 20:01 +0300, Nikolai Kondrashov wrote: I might be in a strange and careless mood today, but here is something I wanted to

Re: [SSSD] Embedding Lua into SSSD

2015-08-25 Thread Lukas Slebodnik
On (25/08/15 15:57), Nikolai Kondrashov wrote: Hi Simo, On 08/21/2015 09:37 PM, Simo Sorce wrote: On Fri, 2015-08-21 at 20:01 +0300, Nikolai Kondrashov wrote: I might be in a strange and careless mood today, but here is something I wanted to suggest since the time I saw the amount of logic that

Re: [SSSD] Embedding Lua into SSSD

2015-08-25 Thread Nikolai Kondrashov
On 08/25/2015 04:14 PM, Nikolai Kondrashov wrote: Hi Pavel, On 08/24/2015 11:54 AM, Pavel Březina wrote: On 08/21/2015 07:01 PM, Nikolai Kondrashov wrote: I might be in a strange and careless mood today, but here is something I wanted to suggest since the time I saw the amount of logic that

Re: [SSSD] Embedding Lua into SSSD

2015-08-25 Thread Nikolai Kondrashov
On 08/25/2015 04:21 PM, Nikolai Kondrashov wrote: Hi Michal, On 08/24/2015 05:06 PM, Michal Židek wrote: On 08/21/2015 07:01 PM, Nikolai Kondrashov wrote: I might be in a strange and careless mood today, but here is something I wanted to suggest since the time I saw the amount of logic that

Re: [SSSD] Embedding Lua into SSSD

2015-08-25 Thread Nikolai Kondrashov
On 08/25/2015 08:48 PM, Simo Sorce wrote: On Tue, 2015-08-25 at 16:14 +0300, Nikolai Kondrashov wrote: On 08/24/2015 11:54 AM, Pavel Březina wrote: On 08/21/2015 07:01 PM, Nikolai Kondrashov wrote: I might be in a strange and careless mood today, but here is something I wanted to suggest

Re: [SSSD] Embedding Lua into SSSD

2015-08-25 Thread Nikolai Kondrashov
On 08/25/2015 09:26 PM, Nikolai Kondrashov wrote: I think a lightweight embeddable language could be an asset to SSSD, in general. It doesn't have to be Lua. I think Lua is a good candidate, but there are other similar languages around, although probably not of such extended vintage. There is

Re: [SSSD] [PATCH] sss_override: document --debug options

2015-08-25 Thread Petr Cech
On 08/25/2015 01:00 PM, Pavel Březina wrote: https://fedorahosted.org/sssd/ticket/2758 Hi Pavel, I have 3 formal comments to coding style. Now I am running the tests. I will send you mail with results soon. Petr 0001-sss_override-document-debug-options.patch From

Re: [SSSD] [PATCH] sss_override: document --debug options

2015-08-25 Thread Pavel Březina
On 08/25/2015 01:32 PM, Petr Cech wrote: On 08/25/2015 01:00 PM, Pavel Březina wrote: https://fedorahosted.org/sssd/ticket/2758 Hi Pavel, I have 3 formal comments to coding style. Now I am running the tests. I will send you mail with results soon. Petr

[SSSD] [PATCH] sss_override: document --debug options

2015-08-25 Thread Pavel Březina
https://fedorahosted.org/sssd/ticket/2758 From f181b0a94863f082abaf074a0940e83fbf1c89b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20B=C5=99ezina?= pbrez...@redhat.com Date: Tue, 25 Aug 2015 12:58:45 +0200 Subject: [PATCH] sss_override: document --debug options Resolves:

Re: [SSSD] Embedding Lua into SSSD

2015-08-25 Thread Nikolai Kondrashov
Hi Pavel, On 08/24/2015 11:54 AM, Pavel Březina wrote: On 08/21/2015 07:01 PM, Nikolai Kondrashov wrote: I might be in a strange and careless mood today, but here is something I wanted to suggest since the time I saw the amount of logic that goes into SSSD and is implemented in C. What if we

Re: [SSSD] Embedding Lua into SSSD

2015-08-25 Thread Nikolai Kondrashov
Hi Michal, On 08/24/2015 05:06 PM, Michal Židek wrote: On 08/21/2015 07:01 PM, Nikolai Kondrashov wrote: I might be in a strange and careless mood today, but here is something I wanted to suggest since the time I saw the amount of logic that goes into SSSD and is implemented in C. What if we

Re: [SSSD] Embedding Lua into SSSD

2015-08-25 Thread Nikolai Kondrashov
On 08/25/2015 03:57 PM, Nikolai Kondrashov wrote: I expect main savings to come from exception support, automatic memory management, simpler data massaging, and brevity of a scripting language (e.g. implicit, dynamic typing). Oh, and another thing which scripting languages bring and which I'm

Re: [SSSD] [PATCH] sss_override: document --debug options

2015-08-25 Thread Petr Cech
On 08/25/2015 01:36 PM, Pavel Březina wrote: +static void sss_tool_print_common_opts(void) +{ +fprintf(stderr, _(Common options:\n)); +fprintf(stderr, -d, --debug=INT%s\n, +_(Enable debug at level)); I'm not sure, but is it habbit to indent to '('? I mean:

Re: [SSSD] Embedding Lua into SSSD

2015-08-25 Thread Nikolai Kondrashov
Hi Simo, On 08/21/2015 09:37 PM, Simo Sorce wrote: On Fri, 2015-08-21 at 20:01 +0300, Nikolai Kondrashov wrote: I might be in a strange and careless mood today, but here is something I wanted to suggest since the time I saw the amount of logic that goes into SSSD and is implemented in C. What