From: "Clément Lassieur" <clement@lassieur.org>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 32575@debbugs.gnu.org
Subject: bug#32575: [Cuirass] Filter results by architecture
Date: Fri, 31 Aug 2018 20:35:32 +0200 [thread overview]
Message-ID: <87r2ietmdn.fsf@lassieur.org> (raw)
In-Reply-To: <87va7rsifm.fsf@gnu.org>
Ludovic Courtès <ludo@gnu.org> writes:
>> CREATE TABLE Builds (
>> derivation TEXT NOT NULL PRIMARY KEY,
>> evaluation INTEGER NOT NULL,
>> job_name TEXT NOT NULL,
>> system TEXT NOT NULL,
>> nix_name TEXT NOT NULL,
>> log TEXT NOT NULL,
>> status INTEGER NOT NULL,
>> timestamp INTEGER NOT NULL,
>> starttime INTEGER NOT NULL,
>> stoptime INTEGER NOT NULL,
>> FOREIGN KEY (evaluation) REFERENCES Evaluations (id)
>> );
>>
>> We even have the 'system' column, so to me we have everything we need,
>> and we could display on one line all the builds that have the same
>> 'nix_name' for a given evaluation.
>
> Hmm, probably, indeed (though ‘nix_name’ is meant as hint, not as a
> key.)
>
> Right now, build-aux/hydra/*.scm returns a list of jobs like this:
>
> (hello-2.10.x86_64-linux
> (derivation
> .
> "/gnu/store/2dl7n4l0l0vjzpjnv67fbb7vf24kw0ap-hello-2.10.drv")
> (description …)
> (long-description …)
> (license …)
> (home-page …)
> (maintainers "bug-guix@gnu.org")
> (max-silent-time . 3600)
> (timeout . 72000))
> ;; … likewise for ‘hello.i686-linux’, etc.
>
> My proposal would be for build-aux/hydra/*.scm to return jobs that look
> like this:
>
> (hello-2.10 ; <- no special naming convention
^
This is 'nix-name' (which is 'derivation-name')
> (derivations
> .
> (("x86_64-linux" . /gnu/store/…-hello-2.10.drv")
> ("i686-linux" . /gnu/store/…-hello-2.10.drv")))
^
This is 'system' (which is 'derivation-system')
> (description …)
> (long-description …)
> (license …)
> (home-page …)
> (maintainers "bug-guix@gnu.org")
> (max-silent-time . 3600)
> (timeout . 72000))
So everything is already in the derivations that are in Cuirass. Why
would we need to change the interface with the evaluator
(build-aux/hydra/*.scm)?
Clément
> Conceptually, that models the situation better, IMO.
>
> But like you write, we probably already have everything to do something
> along the lines of what Danny proposed. The change above can come later
> (it would be incompatible with Hydra, too.)
>
> Thoughts?
>
> Ludo’.
next prev parent reply other threads:[~2018-08-31 18:36 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-29 13:54 bug#32575: [Cuirass] Filter results by architecture Ricardo Wurmus
2018-08-29 20:49 ` Joshua Branson
2018-08-30 5:56 ` Gábor Boskovits
2018-08-30 8:09 ` Ricardo Wurmus
2018-08-30 9:41 ` Danny Milosavljevic
2018-08-30 12:14 ` Ludovic Courtès
2018-08-30 12:50 ` Clément Lassieur
2018-08-30 20:33 ` Ludovic Courtès
2018-08-31 18:35 ` Clément Lassieur [this message]
2021-03-25 13:32 ` Mathieu Othacehe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r2ietmdn.fsf@lassieur.org \
--to=clement@lassieur.org \
--cc=32575@debbugs.gnu.org \
--cc=ludo@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).