lp:~zyga/checkbox/fix-1401996

Created by Zygmunt Krynicki and last modified
Get this branch:
bzr branch lp:~zyga/checkbox/fix-1401996
Only Zygmunt Krynicki can upload to this branch. If you are Zygmunt Krynicki please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Zygmunt Krynicki
Project:
Checkbox
Status:
Merged

Recent revisions

3502. By Zygmunt Krynicki

plainbox:vendor:extcmd: respect the on_line() protocol

This patch changes the glibc-based implementation of extcmd to correctly
respect the extcmd's on_line() protocol. This means, that when a chunk
of data is read, it must be first split into distinct lines and only
such split bytes should be passed to the on_line(). Adherence to the
protocol should be maintained even when processing partial lines, that
is lines which are half-way read (before the '\n' byte is seen).

In practical terms, the _read_pipe() method now gets a helper argument
which stores partial data and all new data is (after being combined with
data left over from the previous call to _read_pipe()) split into
distinct lines.

Fixes: https://bugs.launchpad.net/plainbox/+bug/1401996

Signed-off-by: Zygmunt Krynicki <email address hidden>

3501. By Zygmunt Krynicki

"automatic merge of lp:~zkrynicki/checkbox/fix-1401927/ by tarmac [r=sylvain-pineau][bug=1401927][author=zkrynicki]"

3500. By Zygmunt Krynicki

"automatic merge of lp:~zkrynicki/checkbox/attachment-fixes/ by tarmac [r=sylvain-pineau][bug=1401886][author=zkrynicki]"

3499. By Zygmunt Krynicki

"automatic merge of lp:~zkrynicki/checkbox/extcmd-abnormal-end/ by tarmac [r=sylvain-pineau][bug=][author=zkrynicki]"

3498. By Maciej Kisielewski

"automatic merge of lp:~kissiel/checkbox/fix-1399623/ by tarmac [r=zkrynicki][bug=1399623][author=kissiel]"

3497. By Sylvain Pineau

"automatic merge of lp:~sylvain-pineau/checkbox/export_flags/ by tarmac [r=zkrynicki][bug=][author=sylvain-pineau]"

3496. By Zygmunt Krynicki

"automatic merge of lp:~zkrynicki/checkbox/glibc-extcmd/ by tarmac [r=sylvain-pineau][bug=][author=zkrynicki]"

3495. By Sylvain Pineau

"automatic merge of lp:~sylvain-pineau/checkbox/client-cert-regression/ by tarmac [r=zkrynicki][bug=][author=sylvain-pineau]"

3494. By Maciej Kisielewski

"automatic merge of lp:~kissiel/checkbox/common-dialog/ by tarmac [r=zkrynicki][bug=][author=kissiel]"

3493. By Zygmunt Krynicki

"automatic merge of lp:~zkrynicki/checkbox/test-plan-fixes/ by tarmac [r=roadmr][bug=][author=zkrynicki]"

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:checkbox
This branch contains Public information 
Everyone can see this information.

Subscribers