From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id E0w1JBHO/l8QPQAA0tVLHw (envelope-from ) for ; Wed, 13 Jan 2021 10:40:17 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id uMyIHxHO/l9JbAAAB5/wlQ (envelope-from ) for ; Wed, 13 Jan 2021 10:40:17 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 657109403AE for ; Wed, 13 Jan 2021 10:40:12 +0000 (UTC) Received: from localhost ([::1]:52774 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kzdZR-00053R-Pl for larch@yhetil.org; Wed, 13 Jan 2021 05:40:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:53302) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kzdZK-00052x-Pk for bug-guix@gnu.org; Wed, 13 Jan 2021 05:40:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:51150) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kzdZK-000214-Ht for bug-guix@gnu.org; Wed, 13 Jan 2021 05:40:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kzdZK-0002WG-En for bug-guix@gnu.org; Wed, 13 Jan 2021 05:40:02 -0500 Subject: bug#42162: gforge.inria.fr to be taken off-line in Dec. 2020 Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Wed, 13 Jan 2021 10:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 42162 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer Mail-Followup-To: 42162@debbugs.gnu.org, ludovic.courtes@inria.fr, ludovic.courtes@inria.fr Received: via spool by 42162-done@debbugs.gnu.org id=D42162.16105343699609 (code D ref 42162); Wed, 13 Jan 2021 10:40:02 +0000 Received: (at 42162-done) by debbugs.gnu.org; 13 Jan 2021 10:39:29 +0000 Received: from localhost ([127.0.0.1]:34462 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzdYm-0002Uv-Rh for submit@debbugs.gnu.org; Wed, 13 Jan 2021 05:39:29 -0500 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:16626) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzdYk-0002Ug-PF for 42162-done@debbugs.gnu.org; Wed, 13 Jan 2021 05:39:27 -0500 X-IronPort-AV: E=Sophos;i="5.79,344,1602540000"; d="scm'?scan'208";a="369861859" Received: from 91-160-117-201.subs.proxad.net (HELO ribbon) ([91.160.117.201]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Jan 2021 11:39:19 +0100 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87mu4iv0gc.fsf@inria.fr> <87y2h04mhb.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 24 =?UTF-8?Q?Niv=C3=B4se?= an 229 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Wed, 13 Jan 2021 11:39:19 +0100 In-Reply-To: <87y2h04mhb.fsf@gmail.com> (Maxim Cournoyer's message of "Sun, 10 Jan 2021 14:32:00 -0500") Message-ID: <87a6tdce94.fsf@inria.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 42162-done@debbugs.gnu.org, Maurice =?UTF-8?Q?Br=C3=A9mond?= , andreas.enge@inria.fr Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 1.64 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 657109403AE X-Spam-Score: 1.64 X-Migadu-Scanner: scn0.migadu.com X-TUID: 660DJlLc6wa5 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Maxim, Maxim Cournoyer skribis: >> The following packages have their source on gforge.inria.fr: >> >> scheme@(guile-user)> ,pp packages-on-gforge >> $7 =3D (# >> # >> # [...] > I ran the code you had attached to the original message and got: > > ,pp packages-on-gforge > $2 =3D () > scheme@(guile-user)> ,pp archived-source > $3 =3D () Oh, it=E2=80=99s due to a bug, where the wrong =E2=80=98origin?=E2=80=99 pr= edicate was taken. After hiding the =E2=80=9Cwrong=E2=80=9D one: #:use-module ((guix swh) #:hide (origin?)) I get: --8<---------------cut here---------------start------------->8--- scheme@(guix-user)> ,pp packages-on-gforge $1 =3D (# # # # # # # # # # # # # #) scheme@(guix-user)> ,pp archived-source $2 =3D (# # # # # # # #) --8<---------------cut here---------------end--------------->8--- Attaching the fixed script for clarity. BTW, gforge.inria.fr shutdown has been delayed a bit, but most active projects have started migrating to gitlab.inria.fr or elsewhere, so hopefully we should be able to start updating our package recipes accordingly. It=E2=80=99s likely, though, that tarballs were lost in the migration. For example, Scotch is now at . shows =E2=80=9Cassets=E2= =80=9D for the 6.1.0 release, but these are auto-generated tarballs instead of the handcrafted one found on gforge.inria.fr (but this one is fine since its tarball is archived as-is on SWH.) ISL, MPFI, and GMP-ECM haven=E2=80=99t migrated, it seems. CMH is now at but without its tarballs. Andreas, do you happen to know about the status of these? We can already change Scotch and CMH to =E2=80=98git-fetch=E2=80=99 I think= . That doesn=E2=80=99t solve the problem for earlier Guix revisions though, and I = hope Disarchive will save us! Thanks, Ludo=E2=80=99. --=-=-= Content-Type: text/plain Content-Disposition: inline; filename=gforge.scm (use-modules (guix) (gnu) (guix svn-download) (guix git-download) ((guix swh) #:hide (origin?)) (ice-9 match) (srfi srfi-1) (srfi srfi-26)) (define (gforge? package) (define (gforge-string? str) (string-contains str "gforge.inria.fr")) (match (package-source package) ((? origin? o) (match (origin-uri o) ((? string? url) (gforge-string? url)) (((? string? urls) ...) (any gforge-string? urls)) ;or 'find' ((? git-reference? ref) (gforge-string? (git-reference-url ref))) ((? svn-reference? ref) (gforge-string? (svn-reference-url ref))) (_ #f))) (_ #f))) (define packages-on-gforge (fold-packages (lambda (package result) (if (gforge? package) (cons package result) result)) '())) (define archived-source (filter (lambda (package) (let* ((origin (package-source package)) (hash (origin-hash origin))) (lookup-content (content-hash-value hash) (symbol->string (content-hash-algorithm hash))))) packages-on-gforge)) --=-=-=--