Packaging Mercury & Some Struggles

2019-12-02 Thread Brett Gilio
Greetings all! I am continuing my prolific streak of trying to move as many things from my channel to the main repository as possible. Up next on the menu: the Mercury language and compiler. http://mercurylang.org/ So here are a few issues I am wanting to get resolved with this package, and I am

Re: [PATCH 2/2] Support publishing evaluation events

2019-12-02 Thread Christopher Baines
Clément Lassieur writes: > Christopher Baines writes: > >> * src/cuirass/base.scm (process-specs): Record the creation of new >> evaluations as events. >> * src/cuirass/database.scm (db-set-evaluation-done): Record when evaluations >> finish as an event. >> * src/cuirass/http.scm (url-handler):

Re: [PATCH 1/2] Support publishing build events

2019-12-02 Thread Christopher Baines
Clément Lassieur writes: > Christopher Baines writes: > >> diff --git a/src/schema.sql b/src/schema.sql >> index a9e4a6a..b84b231 100644 >> --- a/src/schema.sql >> +++ b/src/schema.sql >> @@ -64,6 +64,18 @@ CREATE TABLE Builds ( >>FOREIGN KEY (evaluation) REFERENCES Evaluations (id) >> );

Re: [PATCH 1/2] Support publishing build events

2019-12-02 Thread Christopher Baines
Clément Lassieur writes: > Hi Christopher, > > This is a small review :) > > Christopher Baines writes: > >> Add a table to store events, which have a type and a JSON blob. These can be >> used to record changes, this commit inserts events when new builds are >> created, and when the status of

Re: [PATCH 1/2] Support publishing build events

2019-12-02 Thread Christopher Baines
Clément Lassieur writes: > Christopher Baines writes: > >> Following up on this again, I've now sent a couple of updated >> patches. Not much about the code has changed, I fixed a typo, added >> better error handling to sending events, and added changelog entries to >> the commit messages. > >

Re: [PATCH] WIP patches for the rust importer

2019-12-02 Thread Martin Becze
On 2019-12-02 04:01, Ivan Petkov wrote: > Hi Martin! > >> On Dec 1, 2019, at 7:17 PM, Martin Becze wrote: >> >> oh to be more clear. Even with "#:skip-build? #t" on all the rust >> libs, >> things fail if I omit one optional dependency from somewhere. I'm >> just >> testing on hello-cli but hell

Re: guix gc doesn't seem to clean old guix revision

2019-12-02 Thread zimoun
Hi, On Mon, 2 Dec 2019 at 21:55, YOANN P wrote: > > I do not understand: running without any $USER is kind of very special > > edge case. > > It is not special at all, $USER is only set when using a login shell. > So if you script some guix commands (who doesn't use a login shell), > it broke as

RE: guix gc doesn't seem to clean old guix revision

2019-12-02 Thread YOANN P
> > > As said, it is not a bug of "guix pull" but a bug of the > > > configuration. Adding the root user to your Dockerfile should fix the > > > issue you encounter. > > > > The fact that guix require $USER to be set is IMO a kind of bug and is > > documented anywhere. > I do not understand: runni

Re: How long to compute a package derivation?

2019-12-02 Thread zimoun
Hi Ludo, On Sun, 24 Nov 2019 at 22:44, Ludovic Courtès wrote: > Anyway, perhaps if you look at the ranking of your favorite packages, > you’ll find that something’s fishy, who knows. Interesting! I am not sure if it is a goal of the Guix Data Service -- kind of Guix version of the Debian trac

Re: On DSLs

2019-12-02 Thread Julien Lepiller
Le 2 décembre 2019 20:05:57 GMT+01:00, zimoun a écrit : >Hi Ludo, > >On Tue, 26 Nov 2019 at 10:52, Ludovic Courtès wrote: > >> That’s not true. In some cases, people write something that’s >actually >> code (in YAML, in JSON, etc.) and there’s an interpreter running it. >> There’s usually no to

Re: On DSLs

2019-12-02 Thread zimoun
Hi Ludo, On Tue, 26 Nov 2019 at 10:52, Ludovic Courtès wrote: > That’s not true. In some cases, people write something that’s actually > code (in YAML, in JSON, etc.) and there’s an interpreter running it. > There’s usually no tooling coming with that interpreter, in particular > no debugger, e

Re: Store channel specification in profile

2019-12-02 Thread zimoun
Hi Let add some related features. :-) Some days ago, Konrad proposed [1] a new subcommad (yes another one! ;-) to deal with channels. Mimicking "git remote" management, if I summarize correctly. guix channel init guix channel add URL guix channel remove guix channel describe guix channe

Re: guix gc doesn't seem to clean old guix revision

2019-12-02 Thread zimoun
Dear, On Fri, 29 Nov 2019 at 16:14, YOANN P wrote: > > As said, it is not a bug of "guix pull" but a bug of the > > configuration. Adding the root user to your Dockerfile should fix the > > issue you encounter. > > The fact that guix require $USER to be set is IMO a kind of bug and is > documen

Re: [bug#38455] [PATCH] doc: Mention how to test against make / guix pull breakage.

2019-12-02 Thread zimoun
On Mon, 2 Dec 2019 at 13:46, Pierre Neidhardt wrote: > CC-ing guix-devel. If guix-devel is CC-ed, then let talk about the tests of "guix pull" in the test suite. :-) I do not find any test about "guix pull" in the test suite. I was expecting e.g., "guix-pull.sh" or "pull.scm". Do I misread some

Re: [bug#38455] [PATCH] doc: Mention how to test against make / guix pull breakage.

2019-12-02 Thread Pierre Neidhardt
zimoun writes: > On Mon, 2 Dec 2019 at 13:16, Pierre Neidhardt wrote: >> >> I'm actually not sure about one thing: Does `guix pull` catch the errors >> of `make`? > > What is the point of this advice? Check if "guix pull" is broken, > right? I think "guix pull -n --url=foo" does the job, isn't i

Re: bug#38445: Guix CI evaluation broken

2019-12-02 Thread Clément Lassieur
Sorry for my tone, it might sound harsh, it's not what I meant, I just didn't have coffee yet ;) Clément Lassieur writes: > Hi Ludo, > > Ludovic Courtès writes: > >> Sorry for the breakage! I noticed it yesterday and fixed it in >> 33d1c970c323971da8d70a662748c7b1b520d6b6. >> >> Let me know if

Re: Guix pull chokes on uglify-js

2019-12-02 Thread Pierre Neidhardt
I've sent patch 38455 to document this. -- Pierre Neidhardt https://ambrevar.xyz/ signature.asc Description: PGP signature

Re: bug#38445: Guix CI evaluation broken

2019-12-02 Thread Clément Lassieur
Hi Ludo, Ludovic Courtès writes: > Sorry for the breakage! I noticed it yesterday and fixed it in > 33d1c970c323971da8d70a662748c7b1b520d6b6. > > Let me know if you think anything else is wrong! I find the initial commit[1] counterintuitive and would have loved a discussion before the fix. I