From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: GSoC: Adding a web interface similar to the Hydra web interface Date: Mon, 11 Jun 2018 12:19:54 +0200 Message-ID: <87efhdzktx.fsf@elephly.net> References: <87vac3twbe.fsf@gnu.org> <87o9hog2ye.fsf@elephly.net> <87d0xyn9zs.fsf@elephly.net> <87d0xswvls.fsf@elephly.net> <87r2m4ntk4.fsf@mdc-berlin.de> <87tvqxy4i9.fsf@elephly.net> <87in78hxo2.fsf@elephly.net> <878t7xb58o.fsf@elephly.net> <874lijbqvf.fsf@elephly.net> <20180606200210.7a9c4dd6@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49567) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fSJw8-0004fi-Lv for guix-devel@gnu.org; Mon, 11 Jun 2018 06:20:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fSJw5-0004Ir-Ab for guix-devel@gnu.org; Mon, 11 Jun 2018 06:20:32 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21011) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fSJw5-0004Ho-0p for guix-devel@gnu.org; Mon, 11 Jun 2018 06:20:29 -0400 In-reply-to: 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: Tatiana Sholokhova Cc: guix-devel Hi Tatiana, > I've just committed a new version of the interface. I've implemented the > first feature and create a more friendly interface based on bootstrap. I=E2=80=99ve looked at the screenshots and have to say that this is really looking good already. Exciting! > I had to add new database requests: db-get-evaluations-count, > db-get-evaluations-info for the feature. I have added new endpoints: > ("jobset" name), ("eval" id) and changed "status" endpoint to "/". Okay. > Now, when you launch Cuirass you can see all specifications on the > main page (localhost:PORT/); when you click on the specification name > you can see a list of all evaluations of a specification displaying > numbers of successful, failed and pending builds for each evaluation; > when you click on the evaluation ID you can see a list of builds with > their statuses. Excellent. > The evaluation list is broken down into a set of pages with 20 > evaluations on each page. I have implemented a page navigation tool > which may be used for other pages of this kind that we will implement > later. Sounds good. > Could you please take a look at the commit and new functions? I will take a look today and reply with some comments on your commits. > I am still facing the local testing issue. When I tried to launch Cuirass > with the large database you sent before it crashed with some git > error. Could you share the error message with us? > Maybe you could recommend me some > specifications to add to my local database? I wasn=E2=80=99t sure about this, so I asked on the #guix IRC channel. Lud= ovic replied there that the Cuirass repository contains a =E2=80=9Crandom=E2=80= =9D specification in =E2=80=9Cexamples/random.scm=E2=80=9D. It uses =E2=80=9Cexamples/random-jobs.scm=E2=80=9D to generate =E2=80=A6 random job= s :) Note that you=E2=80=99ll need to have Guix installed to use this, and you n= eed to start Cuirass from your source checkout. > Now I am going to implement separate pages for builds with different > statuses and implementation of the first feature will be finished. Also, I > think It will be useful if I add some more navigation buttons to the > header. Now it has only one link to the main page with Guix logo. These sound like good next steps. Thank you, Tatiana! -- Ricardo