Re: Guix Package Search API Server

2022-01-06 Thread Tissevert
I see. Thank you very much for this piece of information ! And I'm
relieved to know everything is fine with the UMC Utrecht instance.

Le Fri, 7 Jan 2022 00:13:40 +0530,
Sai Karthik  a écrit :

> You could also obtain the json file from
> https://guix.gnu.org/packages.json
> 
> On 05/01/22 13:08, Tissevert wrote:
> > Hi,
> > 
> > This JSON file sounds nice and useful. By the way, it may only be a
> > transient error but the instance of hpcguix-web running at UMC
> > Utrecht mentioned in the github repos seems to be down
> > (https://hpcguix.op.umcutrecht.nl/). Is it supposed to be so ?
> > 
> > Tissevert
> > 
> > Le Mon, 03 Jan 2022 17:27:56 +0100,
> > Ludovic Courtès  a écrit :
> >   
> >> Hi!
> >>
> >> Sai Karthik  skribis:
> >>  
> >>> Nice! I didn't knew about this earlier. Does hpc.guix.info exposes
> >>> API ?  
> >>
> >> It runs hpcguix-web¹, which exposes a big (but gzipped) JSON file
> >> at .  Everything else happens
> >> in client-side JavaScript code.
> >>
> >> Ludo’.
> >>
> >> ¹ https://github.com/UMCUGenetics/hpcguix-web
> >>  
> >   
> 




Re: Guix Package Search API Server

2022-01-06 Thread Sai Karthik

You could also obtain the json file from https://guix.gnu.org/packages.json

On 05/01/22 13:08, Tissevert wrote:

Hi,

This JSON file sounds nice and useful. By the way, it may only be a
transient error but the instance of hpcguix-web running at UMC Utrecht
mentioned in the github repos seems to be down
(https://hpcguix.op.umcutrecht.nl/). Is it supposed to be so ?

Tissevert

Le Mon, 03 Jan 2022 17:27:56 +0100,
Ludovic Courtès  a écrit :


Hi!

Sai Karthik  skribis:


Nice! I didn't knew about this earlier. Does hpc.guix.info exposes
API ?


It runs hpcguix-web¹, which exposes a big (but gzipped) JSON file at
.  Everything else happens in
client-side JavaScript code.

Ludo’.

¹ https://github.com/UMCUGenetics/hpcguix-web





--
https://kskarthik.gitlab.io/


OpenPGP_0xF5B9A961BF6EAF0E.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: Guix Package Search API Server

2022-01-05 Thread Roel Janssen
On Wed, 2022-01-05 at 08:38 +0100, Tissevert wrote:
> Hi,
> 
> This JSON file sounds nice and useful. By the way, it may only be a
> transient error but the instance of hpcguix-web running at UMC Utrecht
> mentioned in the github repos seems to be down
> (https://hpcguix.op.umcutrecht.nl/). Is it supposed to be so ?
> 
> Tissevert
> 

I can comment on that because I worked at UMC Utrecht and set this particular 
instance up.
It only responds to certain IP addresses (those within the IP range of UMC 
Utrecht).

So this is normal.

Kind regards,
Roel Janssen




Re: Guix Package Search API Server

2022-01-04 Thread Tissevert
Hi,

This JSON file sounds nice and useful. By the way, it may only be a
transient error but the instance of hpcguix-web running at UMC Utrecht
mentioned in the github repos seems to be down
(https://hpcguix.op.umcutrecht.nl/). Is it supposed to be so ?

Tissevert

Le Mon, 03 Jan 2022 17:27:56 +0100,
Ludovic Courtès  a écrit :

> Hi!
> 
> Sai Karthik  skribis:
> 
> > Nice! I didn't knew about this earlier. Does hpc.guix.info exposes
> > API ?  
> 
> It runs hpcguix-web¹, which exposes a big (but gzipped) JSON file at
> .  Everything else happens in
> client-side JavaScript code.
> 
> Ludo’.
> 
> ¹ https://github.com/UMCUGenetics/hpcguix-web
> 




Re: Guix Package Search API Server

2022-01-03 Thread Ludovic Courtès
Hi!

Sai Karthik  skribis:

> Nice! I didn't knew about this earlier. Does hpc.guix.info exposes API ?

It runs hpcguix-web¹, which exposes a big (but gzipped) JSON file at
.  Everything else happens in
client-side JavaScript code.

Ludo’.

¹ https://github.com/UMCUGenetics/hpcguix-web



Re: Guix Package Search API Server

2021-12-30 Thread Sai Karthik
I have observed that debian provides a similar api 
https://sources.debian.org/doc/api/


On 30/12/21 23:23, zimoun wrote:

Hi,

On Thu, 30 Dec 2021 at 22:33, Sai Karthik  wrote:


Nice! I didn't knew about this earlier. Does hpc.guix.info exposes API ?


I do not know.

Unrelated naive question, what is the aim to have an API for packages?


Cheers,
simon


--
https://kskarthik.gitlab.io/


OpenPGP_0xF5B9A961BF6EAF0E.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: Guix Package Search API Server

2021-12-30 Thread zimoun
Hi,

On Thu, 30 Dec 2021 at 22:33, Sai Karthik  wrote:

> Nice! I didn't knew about this earlier. Does hpc.guix.info exposes API ?

I do not know.

Unrelated naive question, what is the aim to have an API for packages?


Cheers,
simon



Re: Guix Package Search API Server

2021-12-30 Thread Sai Karthik

Nice! I didn't knew about this earlier. Does hpc.guix.info exposes API ?

On 30/12/21 19:50, zimoun wrote:

Hi,

On Thu, 30 Dec 2021 at 15:50, Sai Karthik  wrote:

Hello everyone!, I was unable to find any API for querying guix package
info on official guix website. So, I have created a very simple REST API
server for searching/querying package info in Javascript. It parses the
package info from https://guix.gnu.org/packages.json file & returns the
results.


Maybe you could be interested by .  Or by




Cheers,
simon


--
https://kskarthik.gitlab.io/


OpenPGP_0xF5B9A961BF6EAF0E.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: Guix Package Search API Server

2021-12-30 Thread zimoun
Hi,

On Thu, 30 Dec 2021 at 15:50, Sai Karthik  wrote:
> Hello everyone!, I was unable to find any API for querying guix package 
> info on official guix website. So, I have created a very simple REST API 
> server for searching/querying package info in Javascript. It parses the 
> package info from https://guix.gnu.org/packages.json file & returns the 
> results.

Maybe you could be interested by .  Or by




Cheers,
simon



Guix Package Search API Server

2021-12-30 Thread Sai Karthik
Hello everyone!, I was unable to find any API for querying guix package 
info on official guix website. So, I have created a very simple REST API 
server for searching/querying package info in Javascript. It parses the 
package info from https://guix.gnu.org/packages.json file & returns the 
results.


It currently uses Deno runtime to execute. I have just started learning 
guile, So, i will try to recreate this in guile as well, Once i am 
confident :)


Project URL:  https://gitlab.com/kskarthik/guix-packages-api

I have documented it's usage too. Feel free to explore it & let me know 
your thoughts!


--
https://kskarthik.gitlab.io/


OpenPGP_0xF5B9A961BF6EAF0E.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature