unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: zimoun <zimon.toutoune@gmail.com>
To: Christopher Baines <mail@cbaines.net>, Guix Devel <guix-devel@gnu.org>
Subject: Data Services feedback
Date: Wed, 01 Jul 2020 22:57:52 +0200	[thread overview]
Message-ID: <86wo3n7y27.fsf@gmail.com> (raw)

Hi Chris,

I have remarked that, from this webpage:

https://data.guix.gnu.org/repository/1/branch/master/package/git/output-history

the JSON button is broken, i.e.,

https://data.guix.gnu.org/repository/1/branch/master/package/git/output-history.json

returns an error.


BTW, I am currently interested by finding all the (old) versions for one
specific package.  Well, I fetch the JSON file then find my way.
However, it does not contain all -- I think you already mentioned that,
start in 2019.  And it would like to have something that returns the
commit id.  Do you plan to add more back history?

Then, if I read correctly, the function that returns all the versions is
'package-versions-for-branch' defined in model/package.scm.  Well, it is
in fact a SQL query. :-)

The question is how do you generate the table(s)?  Did you started at
one point in time and then append since then?

Well, I would like to have something which could be run locally even if
it is *really* expensive, and so substitutable by the Data Service.  Do
you think it is doable?


Cheers,
simon


                 reply	other threads:[~2020-07-01 20:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86wo3n7y27.fsf@gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=mail@cbaines.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).