From: zimoun <zimon.toutoune@gmail.com>
To: Guix Devel <guix-devel@gnu.org>, Christopher Baines <mail@cbaines.net>
Subject: Data Services: use cases
Date: Mon, 12 Oct 2020 15:26:43 +0200 [thread overview]
Message-ID: <868scbvalo.fsf@gmail.com> (raw)
Hi Chris,
Since blog post about Data Services seems floating around, I describe
what I find useful as an end-user of the service. And if you have not
showed me IRL at FOSDEM (and you showed me several times ;-)), then I
would not be using the service so often.
To me, the entry point is always:
<https://data.guix.gnu.org/repository/1/branch/master/package/PACKAGE>
and to be exact <https://data.guix.gnu.org/…/PACKAGE/output-history>.
Even, I have this Emacs trivial helper function:
--8<---------------cut here---------------start------------->8---
(defun my/guix-data (package)
"Add URL of PACKAGE to `kill-ring'.
Yankable result:
`https://data.guix.gnu.org/repository/1/branch/master/package/PACKAGE/output-history'.
With `universal-argument', load URL using `browse-url'."
(interactive "sPackage: ")
(let ((url
(format
"https://data.guix.gnu.org/repository/1/branch/master/package/%s/output-history" package)))
(kill-new url)
(when current-prefix-arg
(browse-url url))
(message (format "%s killed." url))))
--8<---------------cut here---------------end--------------->8---
(This dumb function could be improved using “guix-emacs” with package
completion etc. But the time to implement such thing is not worth for
me because I generally exactly know which package I look up. :-))
Let’s take the recent example of the package ’python-umap-learn’ [1].
From the webpage, it is quick and easy to see which version build or
fail. Then, once I know that:
Version Output Builds From To
“From” means the date of the first commit corresponding to Version ––
specifically at the derivation. And “To” resp. the last commit.
Then I can click to say the “To” date of the last “Succeeded” build and
it leads to the webpage:
<https://data.guix.gnu.org/revision/cac674d99dc4a332e6210c57ec7f1b8164f66642>
which provides the commit hash. Now, it is easy to use the
time-machine:
guix time-machine –commit=cac674d99dc4a332e6210c57ec7f1b8164f66642 \
– install python-umap-learn
Time to time, I click to “Failed Dependency” but I do not know how this
information is accurate.
Well, I could describe other use cases, but I think this one is really
useful for the end-user:
- list all the versions available (since Dec. 2019 I guess)
- know which build and which not
- easily find the commit for “guix time-machine”
Cheers,
simon
1: <https://lists.gnu.org/archive/html/help-guix/2020-09/msg00140.html>
next reply other threads:[~2020-10-12 13:30 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-12 13:26 zimoun [this message]
2020-10-13 8:44 ` Data Services: use cases Pierre Neidhardt
2020-10-21 9:27 ` Ludovic Courtès
2020-10-21 9:39 ` Pierre Neidhardt
2020-10-21 10:19 ` zimoun
2020-11-16 19:28 ` Christopher Baines
2020-11-16 20:24 ` zimoun
2020-11-16 20:54 ` Christopher Baines
2020-11-16 21:12 ` zimoun
2020-11-16 21:50 ` Christopher Baines
2020-11-16 22:38 ` zimoun
2020-11-17 21:43 ` zimoun
2020-11-17 21:57 ` Fix incorrect date and commit in Data Service zimoun
2020-11-17 22:44 ` zimoun
2020-11-16 19:26 ` Data Services: use cases Christopher Baines
2020-11-16 19:20 ` Christopher Baines
2020-11-17 7:48 ` Pierre Neidhardt
2020-11-17 8:04 ` Christopher Baines
2020-11-17 8:49 ` Pierre Neidhardt
2020-11-17 19:34 ` Christopher Baines
2020-11-17 19:42 ` Pierre Neidhardt
2020-11-16 19:17 ` Christopher Baines
2020-11-16 20:34 ` zimoun
2020-11-16 21:08 ` Christopher Baines
2020-11-17 13:19 ` Linking to the data service Ludovic Courtès
2020-11-17 16:26 ` zimoun
2020-11-17 16:18 ` Data Services: use cases zimoun
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=868scbvalo.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).