Wayland, GNOME Shell and arbtt

Joachim Breitner mail at joachim-breitner.de
Sat Dec 23 21:02:29 CET 2017


Hi,

I'll look at the pull requests later, thanks!

For the JSON input, I think we want to.support both; undelimited objects for streaming, where each object can be parsed and written to the log as it is done, and the variant with [ to round-trip from -dump. I'll implement that.

Cheers,
Joachim 



Am 23. Dezember 2017 09:13:50 MEZ schrieb "Tomasz Miąsko" <tomasz.miasko at gmail.com>:
>Hi,
>
>On Fri, Dec 22, 2017 at 09:59:45PM +0100, Joachim Breitner wrote:
>> I did this now:
>>
>https://github.com/nomeata/arbtt/commit/448967e02371f79184e6a915bea38de0bb9ea8f4
>
>Wow, that was fast! I left some comments (in the form of pull
>requests).
>
>It would be nice to ensure that format of arbtt-dump and arbtt-import
>is
>exactly the same, so that you can pipe them together as follows:
>
>  arbtt-dump -t JSON -f a.log | arbtt-import -a -t JSON -f b.log
>
>Currently they differ in one small respect. arbtt-dump wraps everything
>in an array, i.e., it starts file with '[', ends file with ']', and
>interposes ',' in-between the entries. On the other hand arbtt-import
>doesn't expect any of those.
>
>Thanks,
>Tomasz
>
>_______________________________________________
>arbtt mailing list
>arbtt at lists.nomeata.de
>https://lists.nomeata.de/mailman/listinfo/arbtt




More information about the arbtt mailing list