GNU bug report logs -
#50620
[PATCH 0/2] Unify 'computed-origin-method' (linux, icecat)
Previous Next
Reported by: zimoun <zimon.toutoune <at> gmail.com>
Date: Thu, 16 Sep 2021 11:46:01 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#50620: [PATCH 0/2] Unify 'computed-origin-method' (linux, icecat)
which was filed against the guix-patches package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 50620 <at> debbugs.gnu.org.
--
50620: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=50620
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
zimoun <zimon.toutoune <at> gmail.com> skribis:
> The 'computed-origin-method' had been introduced as a workaround limitations
> in the 'snippet' mechanism. The procedure is duplicated which makes hard to
> automatically detects packages using it.
>
> * guix/packages.scm (computed-origin-method): Move procedure from...
> * gnu/packages/gnuzilla.scm: ...here and...
> * gnu/packages/gnuzilla.scm: ...there.
I tweaked the commit log and applied, thanks!
Hopefully we’ll grow a “proper” solution thanks to the discussions about
<computed-tarball> & co. that we’ve had.
Thanks everyone,
Ludo’.
[Message part 3 (message/rfc822, inline)]
Hi,
This patch follows the discussion from [0]. In short, it simplifies the code
generating the file 'sources.json' used by Software Heritage to ingest all the
tarballs. It would partially fix the issue raised here [1].
The first patch moves the duplicate of 'computed-origin-method' and adds
comments. Please proof-read. :-)
The second patch update the package guix. Since I cannot know the commit hash
and checksum beforehand, it is set to xxxx and should be updated by the
commiter. This update is necessary to get the correct Guix-as-library used by
the website generator of 'sources.json', IIUC.
All the best,
simon
0: <http://issues.guix.gnu.org/50515#5>
1: <https://lists.gnu.org/archive/html/guix-devel/2021-09/msg00050.html>
zimoun (2):
guix: packages: Document 'computed-origin-method'.
gnu: guix: Update to xxxx.
gnu/packages/gnuzilla.scm | 14 ++------------
gnu/packages/linux.scm | 14 ++------------
gnu/packages/package-management.scm | 6 +++---
guix/packages.scm | 23 ++++++++++++++++++++++-
4 files changed, 29 insertions(+), 28 deletions(-)
base-commit: 33bc3fb2a5f30a6e21f1b8d6d43867d921bd951c
--
2.32.0
This bug report was last modified 3 years and 327 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.