On Tue, Jun 21, 2011 at 2:16 PM, Dale Curtis <[email protected]> wrote:
> Sorry about that. I was trying to be proactive given the errors we normally
> face with our patches. The inline version is corrupted, so I'll just send
> the attached versions from now on.

Not a problem. I see you are also using git, and I must say sending just inline

git format-patch -[range]

git send-email *.patch --to autotest

Works pretty well... Just a suggestion anyway!

> I'll also send a patch for adding the parameters to the global config
> shortly.

Awesome, thank you!

> Thanks!
> - dale
>
> On Mon, Jun 20, 2011 at 9:50 PM, Lucas Meneghel Rodrigues
> <[email protected]> wrote:
>>
>> On Mon, Jun 20, 2011 at 8:35 PM, Dale Curtis <[email protected]>
>> wrote:
>> > There have been several cases where we need to modify the SSH command
>> > line for Chrome OS. This patch adds site extensibility to the
>> > make_ssh_command function in abstract_ssh.
>>
>> LGTM, applied:
>>
>> http://autotest.kernel.org/changeset/5432
>>
>> Now, you are sending the patches both attached and inline, this sorts
>> of breaks patchwork, look how the patch looks there:
>>
>> http://patchwork.test.kernel.org/patch/3467/
>>
>> This breaks my patch check scripts... Next time, please send either
>> inline or attached. In any case, thank you very much for the change!
>>
>> > Signed-off-by: Dale Curtis <[email protected]>
>> > ---
>> >  server/hosts/abstract_ssh.py |    9 +++++++--
>> >  1 files changed, 7 insertions(+), 2 deletions(-)
>> >
>> > diff --git a/server/hosts/abstract_ssh.py b/server/hosts/abstract_ssh.py
>> > index 3723c46..0f61391 100644
>> > --- a/server/hosts/abstract_ssh.py
>> > +++ b/server/hosts/abstract_ssh.py
>> > @@ -10,8 +10,8 @@ enable_master_ssh = get_value('AUTOSERV',
>> > 'enable_master_ssh', type=bool,
>> >                               default=False)
>> >
>> >
>> > -def make_ssh_command(user="root", port=22, opts='',
>> > hosts_file='/dev/null',
>> > -                     connect_timeout=30, alive_interval=300):
>> > +def _make_ssh_cmd_default(user="root", port=22, opts='',
>> > hosts_file='/dev/null',
>> > +                          connect_timeout=30, alive_interval=300):
>> >     base_command = ("/usr/bin/ssh -a -x %s -o StrictHostKeyChecking=no "
>> >                     "-o UserKnownHostsFile=%s -o BatchMode=yes "
>> >                     "-o ConnectTimeout=%d -o ServerAliveInterval=%d "
>> > @@ -22,6 +22,11 @@ def make_ssh_command(user="root", port=22, opts='',
>> > hosts_file='/dev/null',
>> >                            alive_interval, user, port)
>> >
>> >
>> > +make_ssh_command = utils.import_site_function(
>> > +    __file__, "autotest_lib.server.hosts.site_host",
>> > "make_ssh_command",
>> > +    _make_ssh_cmd_default)
>> > +
>> > +
>> >  # import site specific Host class
>> >  SiteHost = utils.import_site_class(
>> >     __file__, "autotest_lib.server.hosts.site_host", "SiteHost",
>> > --
>> > 1.7.3.1
>> >
>> > _______________________________________________
>> > Autotest mailing list
>> > [email protected]
>> > http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
>> >
>> >
>>
>>
>>
>> --
>> Lucas
>
>



-- 
Lucas
_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to