From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mathieu Othacehe Subject: Re: [PATCH] Support publishing build events Date: Mon, 21 Oct 2019 11:31:16 +0200 Message-ID: <87a79u78d7.fsf@gmail.com> References: <87mudvrhim.fsf@cbaines.net> <20191020074952.17732-1-christopher.baines@digital.cabinet-office.gov.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:35823) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMU2A-0006Hm-QN for guix-devel@gnu.org; Mon, 21 Oct 2019 05:31:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iMU25-0005WP-11 for guix-devel@gnu.org; Mon, 21 Oct 2019 05:31:26 -0400 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]:34090) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iMU24-0005Vy-LJ for guix-devel@gnu.org; Mon, 21 Oct 2019 05:31:20 -0400 Received: by mail-wm1-x342.google.com with SMTP id v3so1242992wmh.1 for ; Mon, 21 Oct 2019 02:31:20 -0700 (PDT) In-reply-to: <20191020074952.17732-1-christopher.baines@digital.cabinet-office.gov.uk> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Christopher Baines Cc: guix-devel@gnu.org Hello Christopher, > +(define* (main #:optional (args (command-line))) > + > + ;; Always have stdout/stderr line-buffered. > + (setvbuf (current-output-port) 'line) > + (setvbuf (current-error-port) 'line) I must admit I've not been following very closely your work on Guix Data Service. However, I must admit that being able to have an overview of the status of all packages of a given branch is something that would really be nice. On this patch more specifically, is this really necessary to create a separate process? Could the task of pushing events be done in the main cuirass binary, periodically in a separate thread/fiber? Thanks, Mathieu