all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Guix Data Service: Dump files missing (?)
@ 2024-11-16 20:39 Luis Felipe
  2024-11-23 20:54 ` Christopher Baines
  0 siblings, 1 reply; 5+ messages in thread
From: Luis Felipe @ 2024-11-16 20:39 UTC (permalink / raw)
  To: guix-devel


[-- Attachment #1.1.1: Type: text/plain, Size: 692 bytes --]

Hi,

I'd like to get familiar with the Guix Data Service locally, but I 
haven't been able to set up the database because there's no dump files 
available in the URLs indicated in the README.

For example, https://data.guix.gnu.org/dumps loads correctly but lists 
no dumps. And when visiting 
https://data.guix.gnu.org/dumps/latest/guix_data_service_small.dump I 
get the message "Resource not found: 
/dumps/latest/guix_data_service_small.dump".

I don't see anything in the git log that makes me think that dumps 
changed location, or their generation was removed or suspended.

Maybe a temporary issue?

-- 
Luis Felipe López Acevedo
https://luis-felipe.gitlab.io/


[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 2881 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 495 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Guix Data Service: Dump files missing (?)
  2024-11-16 20:39 Guix Data Service: Dump files missing (?) Luis Felipe
@ 2024-11-23 20:54 ` Christopher Baines
  2024-11-25 13:44   ` Luis Felipe
  0 siblings, 1 reply; 5+ messages in thread
From: Christopher Baines @ 2024-11-23 20:54 UTC (permalink / raw)
  To: Luis Felipe; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 991 bytes --]

Luis Felipe <sirgazil@zoho.com> writes:

> I'd like to get familiar with the Guix Data Service locally, but I
> haven't been able to set up the database because there's no dump files
> available in the URLs indicated in the README.
>
> For example, https://data.guix.gnu.org/dumps loads correctly but lists
> no dumps. And when visiting
> https://data.guix.gnu.org/dumps/latest/guix_data_service_small.dump I
> get the message "Resource not found:
> /dumps/latest/guix_data_service_small.dump".
>
> I don't see anything in the git log that makes me think that dumps
> changed location, or their generation was removed or suspended.
>
> Maybe a temporary issue?

I forget exactly when I disabled the dumps, but it was mostly to reduce
my costs. Producing the dump files required a significant amount of free
disk space to dump the database.

Would it be helpful to have some instructions on getting some data in to
an empty database? I did this recently when setting up a new laptop.

Chris


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Guix Data Service: Dump files missing (?)
  2024-11-23 20:54 ` Christopher Baines
@ 2024-11-25 13:44   ` Luis Felipe
  2024-11-25 17:08     ` Sergio Pastor Pérez
  0 siblings, 1 reply; 5+ messages in thread
From: Luis Felipe @ 2024-11-25 13:44 UTC (permalink / raw)
  To: Christopher Baines; +Cc: guix-devel


[-- Attachment #1.1.1: Type: text/plain, Size: 1443 bytes --]

Hi Chris,

On 23/11/24 20:54, Christopher Baines wrote:
> Luis Felipe <sirgazil@zoho.com> writes:
>
>> I'd like to get familiar with the Guix Data Service locally, but I
>> haven't been able to set up the database because there's no dump files
>> available in the URLs indicated in the README.
>>
>> For example, https://data.guix.gnu.org/dumps loads correctly but lists
>> no dumps. And when visiting
>> https://data.guix.gnu.org/dumps/latest/guix_data_service_small.dump I
>> get the message "Resource not found:
>> /dumps/latest/guix_data_service_small.dump".
>>
>> I don't see anything in the git log that makes me think that dumps
>> changed location, or their generation was removed or suspended.
>>
>> Maybe a temporary issue?
> I forget exactly when I disabled the dumps, but it was mostly to reduce
> my costs. Producing the dump files required a significant amount of free
> disk space to dump the database.

I see.


> Would it be helpful to have some instructions on getting some data in to
> an empty database? I did this recently when setting up a new laptop.

Yes, please. Or how to add the structure alone to the empty database so 
that I can then visualize the data model in an ERD tool.

And by the way, the ".envrc" file contains the following line:

   use guix -D -f guix-dev.scm postgresql

Where does the "use" command come from? My searching for it hasn't been 
productive...



[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 2881 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 495 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Guix Data Service: Dump files missing (?)
  2024-11-25 13:44   ` Luis Felipe
@ 2024-11-25 17:08     ` Sergio Pastor Pérez
  2024-11-25 18:08       ` Luis Felipe
  0 siblings, 1 reply; 5+ messages in thread
From: Sergio Pastor Pérez @ 2024-11-25 17:08 UTC (permalink / raw)
  To: guix-devel

Hello Luis!

On 11/25/24 14:44, Luis Felipe wrote:
> Where does the "use" command come from? My searching for it hasn't 
> been productive...

It comes from Direnv's standard library, it passes the arguments to 
`guix shell`. Please take a look at the library's man page[1].

[1]: https://direnv.net/man/direnv-stdlib.1.html#codeuse-guix-code

Regards,

Sergio.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Guix Data Service: Dump files missing (?)
  2024-11-25 17:08     ` Sergio Pastor Pérez
@ 2024-11-25 18:08       ` Luis Felipe
  0 siblings, 0 replies; 5+ messages in thread
From: Luis Felipe @ 2024-11-25 18:08 UTC (permalink / raw)
  To: Sergio Pastor Pérez, guix-devel


[-- Attachment #1.1.1: Type: text/plain, Size: 453 bytes --]

On 25/11/24 17:08, Sergio Pastor Pérez wrote:
> Hello Luis!
>
> On 11/25/24 14:44, Luis Felipe wrote:
>> Where does the "use" command come from? My searching for it hasn't 
>> been productive...
>
> It comes from Direnv's standard library, it passes the arguments to 
> `guix shell`. Please take a look at the library's man page[1].
>
> [1]: https://direnv.net/man/direnv-stdlib.1.html#codeuse-guix-code

Oh, okay, thank you Sergio :)



[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 2881 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 495 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-11-25 18:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-16 20:39 Guix Data Service: Dump files missing (?) Luis Felipe
2024-11-23 20:54 ` Christopher Baines
2024-11-25 13:44   ` Luis Felipe
2024-11-25 17:08     ` Sergio Pastor Pérez
2024-11-25 18:08       ` Luis Felipe

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.