guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Outreachy Applicant - Guix Data Service


From: Daniela Lura
Subject: Re: Outreachy Applicant - Guix Data Service
Date: Tue, 24 Mar 2020 10:56:12 +0100

Good evening, 

I hope you are well!

So, these days I've been busy reading Guile documentation and trying to understand the code inside guix-data-service/web/revision/controller.scm, but I can't seem to wrap my head around it. :/

In addition to that, I noticed that when I go to http://localhost:9999/revision/554f5b62805b900a9e4e320cbbbb800c13557b7e/system-tests I don't get any data in the name,  description, location, derivation and build status fields even though I have loaded the small dump. Is this normal? 

P.S I added address@hidden as well. 
Regards, 

Dan

On Tue, 24 Mar 2020 at 10:54, Daniela Lura <address@hidden> wrote:
Good evening, 

I hope you are well!

So, these days I've been busy reading Guile documentation and trying to understand the code inside guix-data-service/web/revision/controller.scm, but I can't seem to wrap my head around it. :/

In addition to that, I noticed that when I go to http://localhost:9999/revision/554f5b62805b900a9e4e320cbbbb800c13557b7e/system-tests I don't get any data in the name,  description, location, derivation and build status fields even though I have loaded the small dump. Is this normal? 

Regards, 

Dan




On Wed, 18 Mar 2020 at 13:53, Christopher Baines <address@hidden> wrote:

Daniela Lura <address@hidden> writes:

> Hope you are doing well!
> I am trying to learn guile, to be able to later on work on the tasks you
> mentioned.
>
> Should I be using the guile-json module to provide the json version of the
> data. I checked it last night and I couldn't find an official
> documentation. Maybe I was too sleepy, so I will look at it again.

I normally read: https://github.com/aconchillo/guile-json#usage

There are also some examples of pages where you can get either HTML or
JSON back. For example this bit of JSON here [1] is generated by the
code here [2].

1: http://data.guix.gnu.org/compare.json?base_commit=771c5e155d7862ed91a5d503eecc00c1db1150ad&target_commit=0e26c3cfcf0e7fe74f942c5278a8fe6110a7ab38
2: https://git.savannah.gnu.org/cgit/guix/data-service.git/tree/guix-data-service/web/compare/controller.scm#n204

> Also, today I am thinking of running Guix locally and try packaging. Can I
> ask you for help, if I run into problems?

Sure, I can answer emails, but I'll also probably be on IRC for most of
the day.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]