From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Cl=C3=A9ment?= Lassieur Subject: Re: GSoC: Adding a web interface similar to the Hydra web interface Date: Wed, 18 Jul 2018 12:19:08 +0200 Message-ID: <87601c7so3.fsf@lassieur.org> 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> 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]:58324) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffjYA-0004QK-Sr for guix-devel@gnu.org; Wed, 18 Jul 2018 06:19:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ffjY7-00016l-MB for guix-devel@gnu.org; Wed, 18 Jul 2018 06:19:14 -0400 Received: from mail.lassieur.org ([83.152.10.219]:58848) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ffjY7-000162-DB for guix-devel@gnu.org; Wed, 18 Jul 2018 06:19:11 -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, Tatiana Sholokhova writes: > Am I right that in terms of Cuirass database derivations correspond to > jobs? Yes, but to be more precise, a job is a structure containing: - derivation - job-name - system - nix-name - eval-id The database table called "Derivations" should be called "Jobs", so the name is confusing indeed. A derivation, as Ricardo explained, is a file (.drv) representing low-level build actions and the environment in which they are performed. At each evaluation, there is a new set of jobs returned by the evaluator, each job having its 'eval-id' incremented. That means that two different jobs for the same job-name (i.e. linux-libre-4.17.6-job) could embed the same derivation. In that case, it's useless to build that job in my opinion, see that bug[1]. I hope it's clearer, Cl=C3=A9ment [1]: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D32190