guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Preservation of Guix 2021-10-22


From: zimoun
Subject: Re: Preservation of Guix 2021-10-22
Date: Mon, 25 Oct 2021 13:19:21 +0200

Hi Jonathan,

On Mon, 25 Oct 2021 at 11:55, indieterminacy@libre.brussels wrote:

> Would it be remiss to cross reference contributors to these identified
> scripts against Guix contributors (commits, ML messages)?

I do not understand what you are asking?

The only thing contributors can do is “./pre-inst-env guix lint
<package>” before they submit.  Then, «we» are investigating why the
coverage is not 100% and are trying to address the blockers (from Guix
infra first, then ask SWH).

It is an experimental work-in-progress.  It seems too early for
cross-reference something – it is already enough work without digging
commits or ML messages. :-)

Where people can help is by exploring the current pog.db file and check
against SWH; as Timothy or I are trying here or there, for example.

Or people can also help by subscribing to Software Heritage
Authentication service [1], get a TOKEN, and run systematically:

   $ GUIX_SWH_TOKEN=$TOKEN guix lint -c archival

Well, for sure, it is a poor man solution.  But it helps to improve the
coverage waiting a robust mechanism. :-) For instance, one can run,

--8<---------------cut here---------------start------------->8---
$ TOKEN=eyJh…
$ for p in $(guix package -p ~/.guix-profile -I | cut -f1);\
> do GUIX_SWH_TOKEN=$TOKEN guix lint -c archival $p \
> ;done
--8<---------------cut here---------------end--------------->8---

for all the profiles they use.  For instance, it should display
something like:

--8<---------------cut here---------------start------------->8---
gnu/packages/emacs-xyz.scm:21700:5: emacs-rust-mode@1.0.0: scheduled Software 
Heritage archival
gnu/packages/emacs-xyz.scm:18966:5: emacs-org-re-reveal@3.12.1: scheduled 
Software Heritage archival
gnu/packages/emacs-xyz.scm:12296:5: emacs-org-contrib@0.3: scheduled Software 
Heritage archival
gnu/packages/emacs-xyz.scm:12264:5: emacs-org@9.5: source not archived on 
Software Heritage and missing from the Disarchive database
gnu/packages/emacs-xyz.scm:786:5: emacs-magit@3.3.0: scheduled Software 
Heritage archival
gnu/packages/guile.scm:317:12: guile@3.0.7: source not archived on Software 
Heritage and missing from the Disarchive database
gnu/packages/emacs.scm:80:12: emacs@27.2: source not archived on Software 
Heritage and missing from the Disarchive database
gnu/packages/mail.scm:1352:12: notmuch@0.33.2: source not archived on Software 
Heritage and missing from the Disarchive database
gnu/packages/aspell.scm:115:12: aspell-dict-en@2020.12.07-0: source not 
archived on Software Heritage and missing from the Disarchive database
--8<---------------cut here---------------end--------------->8---

Then, people can go to

   <https://archive.softwareheritage.org/save/#requests>

and check if the «scheduled» packages «succeeded».  Please report if the
status is «failed».  Because it requires investigations.

1: <https://archive.softwareheritage.org/oidc/login/>


Cheers,
simon



reply via email to

[Prev in Thread] Current Thread [Next in Thread]