GNU bug report logs - #37010
website: export package list to JSON

Previous Next

Package: guix-patches;

Reported by: Nicolò Balzarotti <anothersms <at> gmail.com>

Date: Mon, 12 Aug 2019 14:53:02 UTC

Severity: normal

Done: Ricardo Wurmus <rekado <at> elephly.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 37010 in the body.
You can then email your comments to 37010 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#37010; Package guix-patches. (Mon, 12 Aug 2019 14:53:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Nicolò Balzarotti <anothersms <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 12 Aug 2019 14:53:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Nicolò Balzarotti <anothersms <at> gmail.com>
To: guix-patches <at> gnu.org
Subject: website: export package list to JSON
Date: Mon, 12 Aug 2019 14:51:55 +0000
[Message part 1 (text/plain, inline)]
Hi,

I'm sending a patch to guix-artwork. My aim was to help in getting this
issue (https://github.com/repology/repology/issues/218) fixed (and have
guix packages back on repology).

Probably is possible to add more fields, but they are not strictly required
(as per https://repology.org/addrepo)

Also, I don't know if (ab)using make-page that way is right. Any suggestion
is welcome.

Thanks, Nicolò
[Message part 2 (text/html, inline)]
[0001-website-export-JSON-package-list-to-packages.json.patch (text/x-patch, attachment)]

Information forwarded to guix-patches <at> gnu.org:
bug#37010; Package guix-patches. (Mon, 12 Aug 2019 15:13:02 GMT) Full text and rfc822 format available.

Message #8 received at 37010 <at> debbugs.gnu.org (full text, mbox):

From: Nicolò Balzarotti <anothersms <at> gmail.com>
To: 37010 <at> debbugs.gnu.org
Subject: Fix field exported as lists
Date: Mon, 12 Aug 2019 15:12:08 +0000
[Message part 1 (text/plain, inline)]
Hello,

Sorry, I just realized fields were exported as a single-element lists.
Fixed now, please ignore the previous patch.

Nicolò
[Message part 2 (text/html, inline)]
[0001-website-export-JSON-package-list-to-packages.json.patch (text/x-patch, attachment)]

Reply sent to Ricardo Wurmus <rekado <at> elephly.net>:
You have taken responsibility. (Wed, 21 Aug 2019 22:25:02 GMT) Full text and rfc822 format available.

Notification sent to Nicolò Balzarotti <anothersms <at> gmail.com>:
bug acknowledged by developer. (Wed, 21 Aug 2019 22:25:04 GMT) Full text and rfc822 format available.

Message #13 received at 37010-done <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: anothersms <at> gmail.com
Cc: 37010-done <at> debbugs.gnu.org
Subject: Re: [bug#37010] Fix field exported as lists
Date: Thu, 22 Aug 2019 00:24:14 +0200
Hi Nicolò,

thank you for the patch!

Commit 9c6f714305460e99c681d9b7f368e13bfe49fdd9 is the result of basing
this patch on top of changes to remove GUIX_WEB_SITE_INFO and adjusting
the code so that the site can be built.

I had to convert the package list to a vector, because that’s what Guile
JSON version 3 expects to work with.

I also simplified the code a bit, changed tabs to spaces, and wrote a
commit message.

Thanks again!

--
Ricardo





Information forwarded to guix-patches <at> gnu.org:
bug#37010; Package guix-patches. (Thu, 22 Aug 2019 07:16:01 GMT) Full text and rfc822 format available.

Message #16 received at 37010-done <at> debbugs.gnu.org (full text, mbox):

From: Nicolò Balzarotti <anothersms <at> gmail.com>
To: Ricardo Wurmus <rekado <at> elephly.net>
Cc: 37010-done <at> debbugs.gnu.org
Subject: Re: [bug#37010] Fix field exported as lists
Date: Thu, 22 Aug 2019 07:14:50 +0000
[Message part 1 (text/plain, inline)]
Whops, you had to do lot of things, I'm sorry!

I'll try to do better next time.

Thanks, Nicolò

Il giorno mer 21 ago 2019 alle ore 22:24 Ricardo Wurmus <rekado <at> elephly.net>
ha scritto:

>
> Hi Nicolò,
>
> thank you for the patch!
>
> Commit 9c6f714305460e99c681d9b7f368e13bfe49fdd9 is the result of basing
> this patch on top of changes to remove GUIX_WEB_SITE_INFO and adjusting
> the code so that the site can be built.
>
> I had to convert the package list to a vector, because that’s what Guile
> JSON version 3 expects to work with.
>
> I also simplified the code a bit, changed tabs to spaces, and wrote a
> commit message.
>
> Thanks again!
>
> --
> Ricardo
>
>
[Message part 2 (text/html, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#37010; Package guix-patches. (Thu, 22 Aug 2019 07:35:01 GMT) Full text and rfc822 format available.

Message #19 received at 37010-done <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: Nicolò Balzarotti <anothersms <at> gmail.com>
Cc: 37010-done <at> debbugs.gnu.org
Subject: Re: [bug#37010] Fix field exported as lists
Date: Thu, 22 Aug 2019 09:34:15 +0200
Hey Nicolò,

> Whops, you had to do lot of things, I'm sorry!

No worries!  I only adjusted your patch, and I didn’t have to think much
about where to add things.  Thanks for getting it started!

-- 
Ricardo





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 19 Sep 2019 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 192 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.