From unknown Tue Jun 17 20:18:24 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#43442 <43442@debbugs.gnu.org> To: bug#43442 <43442@debbugs.gnu.org> Subject: Status: Code stored with Subversion (SVN) cannot be retrieved from SWH Reply-To: bug#43442 <43442@debbugs.gnu.org> Date: Wed, 18 Jun 2025 03:18:24 +0000 retitle 43442 Code stored with Subversion (SVN) cannot be retrieved from SWH reassign 43442 guix-patches submitter 43442 zimoun severity 43442 important tag 43442 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 16 04:14:27 2020 Received: (at submit) by debbugs.gnu.org; 16 Sep 2020 08:14:27 +0000 Received: from localhost ([127.0.0.1]:33130 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kISaB-000558-Eu for submit@debbugs.gnu.org; Wed, 16 Sep 2020 04:14:27 -0400 Received: from lists.gnu.org ([209.51.188.17]:42232) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kISa8-00054z-Dx for submit@debbugs.gnu.org; Wed, 16 Sep 2020 04:14:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56696) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kISa8-0004Zp-9E for guix-patches@gnu.org; Wed, 16 Sep 2020 04:14:24 -0400 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]:37534) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kISa5-00040X-Kb for guix-patches@gnu.org; Wed, 16 Sep 2020 04:14:23 -0400 Received: by mail-wr1-x443.google.com with SMTP id z4so5910886wrr.4 for ; Wed, 16 Sep 2020 01:14:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=44JcPDudrQuC8+Gfm4iVcUFgsOfwBEmQeG0cijnUQp4=; b=m23MiHJ7ZPFswQ6b7wZ5YEBf9R0D4+2ScFNTyeAusAmpT9JdTp0Kco8iHw4Yx/zsJY 7Oqq2OAS3P+C8QIOd/BsJzDZCqxVgeXqHk2E0hXo6fYjPhKoy5m6Si+tVsnxV02OQ206 p8Wyonj2ha9uuXk+wZSbjAEl6xNwGHOj1VTJ2Vr7E0lgQL7rbJGUTfHBdNMc6Eu8RdXv yGuR0yj74dKu3cl6C42oQ+6e2NUGY5ctuvywxtrjXSzITibI25BrsccSxhrLo7Tm6PXG ToU2yw3YutLxefHNgBJ1LFcarIR1h62eyV0jucsvWNHx9SKARrvW60x6Tuo8KL2NBUZM Chgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=44JcPDudrQuC8+Gfm4iVcUFgsOfwBEmQeG0cijnUQp4=; b=HXAsSbWDSbZz7JFaAj7S0WfkmZoUXmzNDa5wkC22cwrJ/OewAkguVguOBLLBpoEm6y oA1tpRZdTwsBXMkzbrUxcCmyF4gJiAOab7NidYk+H91n4mU4p9fqkeXbM5W7eyircyl/ QCHWAC3ST8ckUzzaVA2v5SDlaH8h8V/CCnu7pR/a7jSLjqgm10tWLGK3dxevmQvqiN2F dsIeN9MFPyV1as1z255ZkhXft0/5tXdPgmSQ15Io9booGmFwgnU3UIrpP9A9s83HGEpQ FtmGBHuHAFgq+L2Cxra9oHpEj01jvzrgoZtadQ6aMt2sCR0r+3tRRN39BCfmNSMLJT5U Ct0g== X-Gm-Message-State: AOAM531ZETh5qm+Q+LQ42Cw8l16xYLgK8oMKSSmq8p2MfjB1f3qnZrN7 Te9zWYrwKOkPETydykDxPhxotlxUDLQ= X-Google-Smtp-Source: ABdhPJxsfBPxiHA06AcI1jkhzHYmT3hfwSmj1Z8EGex+RBIzRtQvGjEccUhdxbxcFi5JJ6opAg6+hA== X-Received: by 2002:adf:f784:: with SMTP id q4mr20261633wrp.126.1600244059594; Wed, 16 Sep 2020 01:14:19 -0700 (PDT) Received: from lili.univ-paris-diderot.fr ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id n11sm31519839wrx.91.2020.09.16.01.14.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Sep 2020 01:14:19 -0700 (PDT) From: zimoun To: guix-patches@gnu.org Subject: [PATCH] Fixes init of #42162: gforge.inria.fr down Dec. 2020 Date: Wed, 16 Sep 2020 10:14:11 +0200 Message-Id: <20200916081411.5801-1-zimon.toutoune@gmail.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::443; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x443.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.6 (/) X-Debbugs-Envelope-To: submit Cc: Maurice.Bremond@inria.fr, ludovic.courtes@inria.fr, zimoun X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Dear, The first message in [1] explains the concrete issue. To avoid to pollute the already long thread discussing long term Tarball Archiving (which will not be ready before the down), here is sent patches fixing the concrete issue. Aside, note that the tarballs should be now ingested by Software Heritage via: https://archive.softwareheritage.org/browse/search/?q=https%3A%2F%2Fguix.gnu.org%2Fsources.json&with_visit=true&with_content=true but the issue is to reach them; well see [2]. >From [1], the non-archived packages (yet) are: --8<---------------cut here---------------start------------->8--- scheme@(guile-user)> ,pp (lset-difference eq? $7 $8) $11 = ( # # # # #) --8<---------------cut here---------------end--------------->8--- However, some have migrated to gitlab: - r-spams - gf2x - cmh Note that repackage 'r-spams' from the Git checkout needs some love and is not straightforward. (Not tried yet the 2 others). The aim of switching the 2 packages from 'url-fetch' to 'svn-fetch' is twofolds, test case for improving: - "guix lint -c archival" (support 'svn' and 'hg') - the fallback to SWH (for non-git VCS source) WDYT? [1]: [2] All the best, simon PS: I am not sure how to deal with to "clone" (split) the bug #42162. That's why this one. :-) zimoun (2): gnu: mpfi: Replace 'url-fetch' by 'svn-fetch'. gnu: gmp-ecm: Replace 'url-fetch' by 'svn-fetch'. gnu/packages/algebra.scm | 28 +++++++++++++++++++++------- gnu/packages/multiprecision.scm | 13 ++++++++----- 2 files changed, 29 insertions(+), 12 deletions(-) base-commit: f5163902d7c3cfed5a97033f38e92d7158b19fa8 -- 2.28.0 From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 16 04:16:56 2020 Received: (at 43442) by debbugs.gnu.org; 16 Sep 2020 08:16:56 +0000 Received: from localhost ([127.0.0.1]:33141 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kISca-0005B8-7i for submit@debbugs.gnu.org; Wed, 16 Sep 2020 04:16:56 -0400 Received: from mail-wr1-f54.google.com ([209.85.221.54]:40485) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIScY-0005Aq-Ex for 43442@debbugs.gnu.org; Wed, 16 Sep 2020 04:16:55 -0400 Received: by mail-wr1-f54.google.com with SMTP id j2so5890379wrx.7 for <43442@debbugs.gnu.org>; Wed, 16 Sep 2020 01:16:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=LCViRX8zDrlOWVj91b/FUlvacrnQUnuXBgUzO+aQPNs=; b=GTlOyIzyKpEY7Pe419DRMRbZzRotHuLEIneQsZbDShyY75x/Bl+f9cId2rDQKwnbBk N1kCi5OqAwAmCLSwYfBardg4XEeEGkq4zNpGJI+jVsZtBNWRbfqIL03kfpzL3FNNv2+M ZtDTzNy2gGA2ZnVId0790LbCD+IAP5Q4ms8vhEfIA4eoar21O5U2LAOrQK/7tQQ6n8LD 7v1bGjmI00F2e9P+AmA80klVvYWJTib8y+cl2KkxH8xxQIb9w1ef6rrSMT9XDE8YtniU IVR7PMqDQf+KSbIYNUfpDnv2qtnPlROYdB+sl4OeV+Q6HdRHARkMxsEr54jqtJPBBmDF K5TA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=LCViRX8zDrlOWVj91b/FUlvacrnQUnuXBgUzO+aQPNs=; b=RPKo4X10H2uHD+pdA4zWqUcIqiHgWwWYB46J3XcPsT+wOKoH+z0PrxoYxqjFzzOr7b y51BtElyUDBtIHmfaqyVAfOjHIyTpx+HhGKs2KtDPPPvtHeE3u/XNH7cX66uyd5J8vCr gij4SYPxdJ6WrRAMIchTl7oE/YAyY4iiAEnkgxNfengpeccAGh5H1DuggEuJqLFi5iFT VwMoKK9F3C0uAsD4reokHnO3HgPQS0zaMIrHptMeEiQAY1OKaLHa/1V1n6kAgoOZUZcN VN9gFm8C/2jL152xXPc3E4lcpnMB2ghfjM7Vwj+ej64DTVOzeKQa1pz7TeDKInQn0J7d 0cjQ== X-Gm-Message-State: AOAM5302HLyu77XWddFgH8dFPBU4DjLI8SHE12wkEK3GlXbli+j+UeLr 31duBTjeqncVftOz9zoiYik5eMUbgmI= X-Google-Smtp-Source: ABdhPJyqFU+qBst5PTuPjLrzMs71ErYgdxm+1s47u8as3ZIlNztzpNw2NEPZLo3r9t+iZ//xgh3Yfw== X-Received: by 2002:adf:e690:: with SMTP id r16mr25186005wrm.15.1600244208456; Wed, 16 Sep 2020 01:16:48 -0700 (PDT) Received: from lili.univ-paris-diderot.fr ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id w15sm33271135wro.46.2020.09.16.01.16.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Sep 2020 01:16:48 -0700 (PDT) From: zimoun To: 43442@debbugs.gnu.org Subject: [PATCH 2/2] gnu: gmp-ecm: Replace 'url-fetch' by 'svn-fetch'. Date: Wed, 16 Sep 2020 10:16:42 +0200 Message-Id: <20200916081642.6716-2-zimon.toutoune@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200916081642.6716-1-zimon.toutoune@gmail.com> References: <20200916081642.6716-1-zimon.toutoune@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 43442 Cc: zimoun X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Fixes . * gnu/packages/algebra.scm (gmp-ecm)[source]: Replace 'url-fetch' by 'svn-fetch'. [natice-inputs]: Add requirements. [arguments]: Adjust 'check phase to substitute correct path. --- gnu/packages/algebra.scm | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm index 318d653618..1cf293f17a 100644 --- a/gnu/packages/algebra.scm +++ b/gnu/packages/algebra.scm @@ -13,6 +13,7 @@ ;;; Copyright © 2020 Jakub Kądziołka ;;; Copyright © 2020 Vincent Legoll ;;; Copyright © 2020 Vinicius Monego +;;; Copyright © 2020 Simon Tournier ;;; ;;; This file is part of GNU Guix. ;;; @@ -66,6 +67,7 @@ #:use-module (guix download) #:use-module (guix git-download) #:use-module (guix hg-download) + #:use-module (guix svn-download) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix utils)) @@ -670,15 +672,20 @@ geometry and singularity theory.") (define-public gmp-ecm (package (name "gmp-ecm") - (version "7.0.4") + (version "7.0.4-3088") (source (origin - (method url-fetch) - ;; Use the ‘Latest version’ link for a stable URI across releases. - (uri (string-append "https://gforge.inria.fr/frs/download.php/" - "latestfile/160/ecm-" version ".tar.gz")) + (method svn-fetch) + (uri + (svn-reference + (url "https://scm.gforge.inria.fr/anonscm/svn/ecm/trunk") + (revision 3088))) (sha256 (base32 - "0hxs24c2m3mh0nq1zz63z3sb7dhy1rilg2s1igwwcb26x3pb7xqc")))) + "0g1jqgp9baqz4x9mzksch69i4kp3207d3wn56g9vnsmanrrb4qvb")))) (build-system gnu-build-system) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("libtool" ,libtool))) (inputs `(("gmp" ,gmp))) (arguments @@ -686,7 +693,14 @@ geometry and singularity theory.") ;; Disable specific assembly routines, which depend ;; on the subarchitecture of the build machine, ;; and use gmp instead. - "--disable-asm-redc"))) + "--disable-asm-redc") + #:phases (modify-phases %standard-phases + (add-before 'check 'replace-/bin/rm + (lambda _ + (substitute* + (list "test.ecm") + (("/bin/rm") (which "rm"))) + #t))))) (synopsis "Integer factorization library using the elliptic curve method") (description "GMP-ECM factors integers using the elliptic curve method (ECM) as well -- 2.28.0 From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 16 04:16:59 2020 Received: (at 43442) by debbugs.gnu.org; 16 Sep 2020 08:17:00 +0000 Received: from localhost ([127.0.0.1]:33143 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIScd-0005BK-Id for submit@debbugs.gnu.org; Wed, 16 Sep 2020 04:16:59 -0400 Received: from mail-wm1-f47.google.com ([209.85.128.47]:39027) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIScV-0005An-UB for 43442@debbugs.gnu.org; Wed, 16 Sep 2020 04:16:56 -0400 Received: by mail-wm1-f47.google.com with SMTP id b79so1970731wmb.4 for <43442@debbugs.gnu.org>; Wed, 16 Sep 2020 01:16:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=9xaqBFV1s3Y9JbiYLbcgWy/XqYRgN2TqQlZejwep4cc=; b=KM/+a33CDoLehbdfk8qznSSvBrb7jWO0AQw6xs21o4lto/aJ7yLI4JEbsH85sfsDXK P/veEGXVB0YWUubzAHjQhKTYglmix0gE2m8y9IkSG+oPi9mp/D4B6QhLb5UknRrP73zs CvPH5BSmt3ZHHtq/bbKuqnd+Y8zxTzqABC4zQMkNtlAWAczppP1o/1q3y8VJa5ybHpR/ nLgL02h7d5212xFxIwEg5Z0YiM0Grnc9kpna1yjW5IvBEFflzt8zY002fd0raPERaPHv EFS7HSGUVMPpcu3mfQfta9NgQpnjOnGI0TCaCrJfRDkbZL4VFRHDU1817GcoywrvXwCq 74Ew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=9xaqBFV1s3Y9JbiYLbcgWy/XqYRgN2TqQlZejwep4cc=; b=BddEWKt3XalHBGcFWTS7qMA7UnhDuyrpex+ArrEfZLyUfXwkqm6Uv/qeqN2gDd/8fn HOusx3+I64q/xpjUHJt+q+uG3hu0G+9qszextiZ+DTgTss1+5agxLqI3RkUr1opcOYSV 0NmV1AfR1qEXjhtpyU8HV26g3M/VBl1UtLoWaN66x/F9AYbm7hUhn1mUhcgCHVg4qWqW k22Irq/XOz6e71YiVWaE8lGUwtaO+2GYm991xOgSjL15jq2JAKyJ8btg8+cOXWXOj1DL Gs4Vf75TRM7AG+IGp+6/K8jraZAePWPVnXMup7Xq1uyui0edX7u87/tKiD15i3ctfMOV 797A== X-Gm-Message-State: AOAM533RswfPKpTM+DdC4OPVymiuAdEEdn/vnofCLJ4ZGlvnCecMNIWh qNbT1Vkm2vCsmmwylvMMLYrw8EHKsec= X-Google-Smtp-Source: ABdhPJykFM8DYcBrpbE2uIVVHTtpryenlMbs3vjHJD79cITdiF+AaSSLIAkiB11BwTaFbrRMUWk9Gw== X-Received: by 2002:a05:600c:20f:: with SMTP id 15mr3216783wmi.99.1600244205921; Wed, 16 Sep 2020 01:16:45 -0700 (PDT) Received: from lili.univ-paris-diderot.fr ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id w15sm33271135wro.46.2020.09.16.01.16.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Sep 2020 01:16:45 -0700 (PDT) From: zimoun To: 43442@debbugs.gnu.org Subject: [PATCH 1/2] gnu: mpfi: Replace 'url-fetch' by 'svn-fetch'. Date: Wed, 16 Sep 2020 10:16:41 +0200 Message-Id: <20200916081642.6716-1-zimon.toutoune@gmail.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 43442 Cc: zimoun X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Fixes . * gnu/packages/multiprecision.scm (mpfi)[source]: Replace 'url-fetch' by 'svn-fetch'. --- gnu/packages/multiprecision.scm | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/gnu/packages/multiprecision.scm b/gnu/packages/multiprecision.scm index b3a5ec5894..f1b152d9aa 100644 --- a/gnu/packages/multiprecision.scm +++ b/gnu/packages/multiprecision.scm @@ -7,6 +7,7 @@ ;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice ;;; Copyright © 2018 Eric Bavier ;;; Copyright © 2018, 2019 Efraim Flashner +;;; Copyright © 2020 Simon Tournier ;;; ;;; This file is part of GNU Guix. ;;; @@ -32,6 +33,7 @@ #:use-module (gnu packages texinfo) #:use-module (guix packages) #:use-module (guix download) + #:use-module (guix svn-download) #:use-module (guix utils) #:use-module (guix build-system gnu)) @@ -157,14 +159,15 @@ precision and correctly rounds the results.") (define-public mpfi (package (name "mpfi") - (version "1.5.4") + (version "1.5.4-688") (source (origin - (method url-fetch) - (uri (string-append "https://gforge.inria.fr/frs/download.php" - "/latestfile/181/mpfi-" version ".tgz")) + (method svn-fetch) + (uri (svn-reference + (url "https://scm.gforge.inria.fr/anonscm/svn/mpfi/trunk/mpfi") + (revision 688))) (sha256 - (base32 "0mismr1ll3wp788dq2n22s5irm0dziy75byyfdwz22kjbmckhf9v")))) + (base32 "13pqkdvi8maj0mm76zh8p7jcc4c4569zh4kq336shh9cxlrh8qqx")))) (build-system gnu-build-system) (arguments `(#:tests? #f ;tests are broken in this release -- 2.28.0 From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 17 04:14:59 2020 Received: (at submit) by debbugs.gnu.org; 17 Sep 2020 08:15:00 +0000 Received: from localhost ([127.0.0.1]:37261 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIp4F-0003Rv-Nq for submit@debbugs.gnu.org; Thu, 17 Sep 2020 04:14:59 -0400 Received: from lists.gnu.org ([209.51.188.17]:33448) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIp4E-0003Rj-8p for submit@debbugs.gnu.org; Thu, 17 Sep 2020 04:14:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57294) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kIp49-0002hO-BI for guix-patches@gnu.org; Thu, 17 Sep 2020 04:14:57 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:12282) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kIp47-0008Op-2R for guix-patches@gnu.org; Thu, 17 Sep 2020 04:14:52 -0400 X-IronPort-AV: E=Sophos;i="5.76,436,1592863200"; d="scan'208";a="359260461" Received: from unknown (HELO ribbon) ([193.50.110.192]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Sep 2020 10:14:45 +0200 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: zimoun Subject: Re: [PATCH] Fixes init of #42162: gforge.inria.fr down Dec. 2020 References: <20200916081411.5801-1-zimon.toutoune@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Jour du =?utf-8?Q?G=C3=A9nie?= de =?utf-8?Q?l'Ann?= =?utf-8?Q?=C3=A9e?= 228 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: Thu, 17 Sep 2020 10:14:34 +0200 In-Reply-To: <20200916081411.5801-1-zimon.toutoune@gmail.com> (zimoun's message of "Wed, 16 Sep 2020 10:14:11 +0200") Message-ID: <87imcczuol.fsf@inria.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=192.134.164.104; envelope-from=ludovic.courtes@inria.fr; helo=mail3-relais-sop.national.inria.fr X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/17 04:14:46 X-ACL-Warn: Detected OS = ??? X-Spam_score_int: -68 X-Spam_score: -6.9 X-Spam_bar: ------ X-Spam_report: (-6.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Maurice.Bremond@inria.fr, guix-patches@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Hello! zimoun skribis: > The aim of switching the 2 packages from 'url-fetch' to 'svn-fetch' is > twofolds, test case for improving: > > - "guix lint -c archival" (support 'svn' and 'hg') > - the fallback to SWH (for non-git VCS source) Woow, it=E2=80=99s ambitious given that SWH/SVN integration is currently la= cking on our side. :-) It=E2=80=99s a good idea to switch to gitlab.inria.fr for those that have migrated, though. Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 21 17:20:04 2020 Received: (at 43442) by debbugs.gnu.org; 21 Sep 2020 21:20:04 +0000 Received: from localhost ([127.0.0.1]:56506 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kKTEC-0000io-75 for submit@debbugs.gnu.org; Mon, 21 Sep 2020 17:20:04 -0400 Received: from eggs.gnu.org ([209.51.188.92]:41280) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kKTEA-0000iB-SZ for 43442@debbugs.gnu.org; Mon, 21 Sep 2020 17:20:03 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:37236) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kKTE5-0003rj-Cj; Mon, 21 Sep 2020 17:19:57 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=48028 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kKTE4-0002k2-UL; Mon, 21 Sep 2020 17:19:57 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: zimoun Subject: Re: [bug#43442] [PATCH 1/2] gnu: mpfi: Replace 'url-fetch' by 'svn-fetch'. References: <20200916081411.5801-1-zimon.toutoune@gmail.com> <20200916081642.6716-1-zimon.toutoune@gmail.com> Date: Mon, 21 Sep 2020 23:19:55 +0200 In-Reply-To: <20200916081642.6716-1-zimon.toutoune@gmail.com> (zimoun's message of "Wed, 16 Sep 2020 10:16:41 +0200") Message-ID: <87o8lyj090.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 43442 Cc: 43442@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi! zimoun skribis: > Fixes . > > * gnu/packages/multiprecision.scm (mpfi)[source]: Replace 'url-fetch' by > 'svn-fetch'. [...] > + (method svn-fetch) > + (uri (svn-reference > + (url "https://scm.gforge.inria.fr/anonscm/svn/mpfi/trunk/mp= fi") > + (revision 688))) Does this have any chance of working with SWH? Does their HTTP API support looking up svn revision for a given origin URL? Also: scheme@(guile-user)> (lookup-origin "https://scm.gforge.inria.fr/anonscm/= svn/mpfi/trunk/mpfi") $6 =3D #f So the effect today would be the opposite of what we=E2=80=99re attempting:= when GForge goes down, we=E2=80=99d lose it completely. Thoughts? Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 21 17:51:59 2020 Received: (at 43442) by debbugs.gnu.org; 21 Sep 2020 21:51:59 +0000 Received: from localhost ([127.0.0.1]:56577 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kKTj5-0001Wk-5i for submit@debbugs.gnu.org; Mon, 21 Sep 2020 17:51:59 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:42351) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kKTj2-0001WX-JC for 43442@debbugs.gnu.org; Mon, 21 Sep 2020 17:51:57 -0400 Received: by mail-wr1-f67.google.com with SMTP id c18so14548620wrm.9 for <43442@debbugs.gnu.org>; Mon, 21 Sep 2020 14:51:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=K7hNNCKY4ow2AzVH+PAT10JgiutAKQI7oPlZqxPql7Y=; b=pM/PTtg+I9KdovMwzIPoJ5jhj9TcwHQHPzJ24zMZp24CZtDuLZXefZZcB/q/HgG0GU yeUx12pjximI3sn4c0eSIKdDD7FkcVHtpM58PEw78TJlk2ZsMT4GyUyvK0vxLevodJ9q wNggfiyLJRePXbtrpYWYkoE3fnFwSuCbCQlGf32bPwHxYVODmMnLOttG6om/H4BgHG3q P3HiQHi/aZSQ9/O7xcij4R3VdwYdwPl8vdqkCXAVZs2aBXdeLPTOyWJCqZ7pownga6XF +jRHZQb5Rpn6gz+WTvqvrroJsBUjYgnTbE9Unz26cxcY21aN1fYWgvez0M6AWen4PxaZ AX/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=K7hNNCKY4ow2AzVH+PAT10JgiutAKQI7oPlZqxPql7Y=; b=OfoFVY52U+ZJdVxEdL5zg6uX0807cz6CrEPbod4OtosHQGWagf1lP0nHnP2XIOBV/K RpNibjTdV/M6yXYBjDPS0Jnt+SUqHXZLhCTmDucIXBXHboDG24bdpL6DskaENuUBn+ic 6FUQXSDXTnT4yV/afVWAm2KtSuZ2WcLoDL2HrWqmxwnKOphuOOIKFAc+E0+z1vqtF8rI vfxizdNAWibSQtLwCJXI8bTeMv4PHMnW/JvDYdLocd/XC/GmK2XC94KmNSK8vCTFmbYA PiWnAV7ygnt396LfssWi3VYfZSSXOQYne1v9E+96XXnr0PckHPwU6LWnN6ZKckuL6x2I VrgA== X-Gm-Message-State: AOAM533S669nnpuhcfxbyE8VihLzk1VUbxrmeMxUVblxW7PY+mI1DHDd P6F73G4naVo/PkPtbPIojKZHgYmjk9A= X-Google-Smtp-Source: ABdhPJx5Dr4kMszC0xl+SnHremhAVUtTVl6Ol5arpS/qvE2l6VhZgxRRz8cJW92myfXhmdl7Q/Twvg== X-Received: by 2002:adf:e292:: with SMTP id v18mr1823868wri.256.1600725110463; Mon, 21 Sep 2020 14:51:50 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id w14sm23098948wrk.95.2020.09.21.14.51.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Sep 2020 14:51:50 -0700 (PDT) From: zimoun To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: [bug#43442] [PATCH 1/2] gnu: mpfi: Replace 'url-fetch' by 'svn-fetch'. In-Reply-To: <87o8lyj090.fsf@gnu.org> References: <20200916081411.5801-1-zimon.toutoune@gmail.com> <20200916081642.6716-1-zimon.toutoune@gmail.com> <87o8lyj090.fsf@gnu.org> Date: Mon, 21 Sep 2020 23:51:48 +0200 Message-ID: <86zh5iol1n.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 43442 Cc: 43442@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, On Mon, 21 Sep 2020 at 23:19, Ludovic Court=C3=A8s wrote: >> + (method svn-fetch) >> + (uri (svn-reference >> + (url "https://scm.gforge.inria.fr/anonscm/svn/mpfi/trunk/m= pfi") >> + (revision 688))) > > Does this have any chance of working with SWH? Does their HTTP API > support looking up svn revision for a given origin URL? Well, I have not yet did my homework on the topic, neither asked on #swh-devel. Probably not! In any case, we should find a way because there are a lot of Subversion sources.=20 > Also: > > scheme@(guile-user)> (lookup-origin "https://scm.gforge.inria.fr/anonsc= m/svn/mpfi/trunk/mpfi") > $6 =3D #f Since =E2=80=9Cguix lint -c archival=E2=80=9D I should have forgotten to su= bmit the request via their Web interface. Now, it is scheduled: > So the effect today would be the opposite of what we=E2=80=99re attemptin= g: when > GForge goes down, we=E2=80=99d lose it completely. I agree. Well, the shutdown of the INRIA=E2=80=99s GForge is a concrete deadline to = add the support of Subversion (and Mercurial) sources to: - fallback to SWH - guix lint -c archival I am working on it. :-) All the best, simon From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 23 12:22:08 2020 Received: (at 43442) by debbugs.gnu.org; 23 Sep 2020 16:22:08 +0000 Received: from localhost ([127.0.0.1]:37603 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kL7Wy-0001TG-EY for submit@debbugs.gnu.org; Wed, 23 Sep 2020 12:22:08 -0400 Received: from eggs.gnu.org ([209.51.188.92]:44262) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kL7Wv-0001Sd-5s for 43442@debbugs.gnu.org; Wed, 23 Sep 2020 12:22:07 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47159) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kL7Wp-000079-UX; Wed, 23 Sep 2020 12:21:59 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=52546 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kL7Wl-0002cW-JF; Wed, 23 Sep 2020 12:21:59 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: zimoun Subject: Re: [bug#43442] [PATCH 1/2] gnu: mpfi: Replace 'url-fetch' by 'svn-fetch'. References: <20200916081411.5801-1-zimon.toutoune@gmail.com> <20200916081642.6716-1-zimon.toutoune@gmail.com> <87o8lyj090.fsf@gnu.org> <86zh5iol1n.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 2 =?utf-8?Q?Vend=C3=A9miaire?= 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, 23 Sep 2020 18:21:54 +0200 In-Reply-To: <86zh5iol1n.fsf@gmail.com> (zimoun's message of "Mon, 21 Sep 2020 23:51:48 +0200") Message-ID: <87h7rocvkt.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 43442 Cc: 43442@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, zimoun skribis: > On Mon, 21 Sep 2020 at 23:19, Ludovic Court=C3=A8s wrote: > >>> + (method svn-fetch) >>> + (uri (svn-reference >>> + (url "https://scm.gforge.inria.fr/anonscm/svn/mpfi/trunk/= mpfi") >>> + (revision 688))) >> >> Does this have any chance of working with SWH? Does their HTTP API >> support looking up svn revision for a given origin URL? > > Well, I have not yet did my homework on the topic, neither asked on > #swh-devel. > > Probably not! > > In any case, we should find a way because there are a lot of Subversion > sources.=20 Yes, we should implement it. But until that is done, I=E2=80=99m not sure = it=E2=80=99s worth replacing tarballs with svn references. WDYT? >> Also: >> >> scheme@(guile-user)> (lookup-origin "https://scm.gforge.inria.fr/anons= cm/svn/mpfi/trunk/mpfi") >> $6 =3D #f > > Since =E2=80=9Cguix lint -c archival=E2=80=9D I should have forgotten to = submit the > request via their Web interface. Now, it is scheduled: > > =E2=80=98lookup-origin=E2=80=99 still returns #f though. >> So the effect today would be the opposite of what we=E2=80=99re attempti= ng: when >> GForge goes down, we=E2=80=99d lose it completely. > > I agree. > > > Well, the shutdown of the INRIA=E2=80=99s GForge is a concrete deadline t= o add > the support of Subversion (and Mercurial) sources to: > > - fallback to SWH > - guix lint -c archival > > I am working on it. :-) Awesome. (Note that it seems possible that the shutdown of gforge.inria.fr will be delayed a bit or at least be made less brutally that initially announced.) Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 23 13:07:38 2020 Received: (at 43442) by debbugs.gnu.org; 23 Sep 2020 17:07:38 +0000 Received: from localhost ([127.0.0.1]:37700 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kL8F0-00035n-7W for submit@debbugs.gnu.org; Wed, 23 Sep 2020 13:07:38 -0400 Received: from mail-qk1-f195.google.com ([209.85.222.195]:39958) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kL8Ey-00035a-DU for 43442@debbugs.gnu.org; Wed, 23 Sep 2020 13:07:37 -0400 Received: by mail-qk1-f195.google.com with SMTP id w16so385652qkj.7 for <43442@debbugs.gnu.org>; Wed, 23 Sep 2020 10:07:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=/zNoKz9wHX80qcHPID0rwjY8Wn665nO72VVvHlg2mKY=; b=nsf9sIp18gneIdHMHY8OgrV1q5gWqByVdIiZQ+1KeWCu07NEkIPE4eXk1o2QEDBIMf 59GedMvTVSybHDfnJKyoI587V/HboUOOpko8buJUfnCnGj0HMYMDhxHniiIjO++PAF+3 /lSpOvIkw8fgVqwP//bt1NwCocekpe/N+1vA68AVbPmhqGcsqgT9ZwPUnBzl9aYzTAKH bldHc2QvUP7l7aIPIKE7P4sTuK3LyGK6+RzkMgu/SYSaqcAAdypc/zYq5+ced/KryF44 l6mQcjuL7P72ECh9MeIMpkunxbGwL8oCi5JEZHA5mzzDZcHkVt4bd4svTymsJKK6xrrq FU8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=/zNoKz9wHX80qcHPID0rwjY8Wn665nO72VVvHlg2mKY=; b=sY+IWHMNFVCUVXkYa8z+7ZtDbLGPFy5rGG8AseuRqSExIkVqZmyPTaTKa6orcUWxdr RMeUOGXS6eopkek9PGnKgUz14iULi/O4+ASX/o/tobdLsCL5AmsTIAcx8oP2VNhh1aiW clcb90j7kxy/GJvTUK6ZfQlMpBGZAzc748goK/aLAdL4TzehQ+bRAbFuw6imOzoutkIX pHbRk6wSdg8uFGYtrEFJ1hjShaEloI4c1Ijnva2XWAT3pFs/oBPn5/kNoYrHeEKzt87w OgrtZFd8ezUGzPJyAJhuKE7DriccWvqJLxiHhSso3z+OTc3uYHAoVF2pNZkUZKkbFL9x nt9Q== X-Gm-Message-State: AOAM531DC0AEdOzwk5wuqr7yw/tk0/fKDAzw7koHbLXcYSpkVAsYJupt 7e6KTQeYInNIoLY8vE2KC2qHcGyCy92Yr1TwsaU+Yc9X5tNYOA== X-Google-Smtp-Source: ABdhPJxQBMy1gHbU2bZ0FdDKCjala5y5BpZxtx7chHHfWhses+YePtLMi8BBVG7RfuCtukMTYF/78fwxeMwTRhjvYxA= X-Received: by 2002:a37:6848:: with SMTP id d69mr835589qkc.80.1600880850828; Wed, 23 Sep 2020 10:07:30 -0700 (PDT) MIME-Version: 1.0 References: <20200916081411.5801-1-zimon.toutoune@gmail.com> <20200916081642.6716-1-zimon.toutoune@gmail.com> <87o8lyj090.fsf@gnu.org> <86zh5iol1n.fsf@gmail.com> <87h7rocvkt.fsf@gnu.org> In-Reply-To: <87h7rocvkt.fsf@gnu.org> From: zimoun Date: Wed, 23 Sep 2020 19:07:19 +0200 Message-ID: Subject: Re: [bug#43442] [PATCH 1/2] gnu: mpfi: Replace 'url-fetch' by 'svn-fetch'. To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 43442 Cc: 43442@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Wed, 23 Sep 2020 at 18:22, Ludovic Court=C3=A8s wrote: > zimoun skribis: > > > On Mon, 21 Sep 2020 at 23:19, Ludovic Court=C3=A8s wrote= : > > > >>> + (method svn-fetch) > >>> + (uri (svn-reference > >>> + (url "https://scm.gforge.inria.fr/anonscm/svn/mpfi/trun= k/mpfi") > >>> + (revision 688))) > >> > >> Does this have any chance of working with SWH? Does their HTTP API > >> support looking up svn revision for a given origin URL? > > > > Well, I have not yet did my homework on the topic, neither asked on > > #swh-devel. > > > > Probably not! > > > > In any case, we should find a way because there are a lot of Subversion > > sources. > > Yes, we should implement it. But until that is done, I=E2=80=99m not sur= e it=E2=80=99s > worth replacing tarballs with svn references. WDYT? I do not have a strong opinion. > >> Also: > >> > >> scheme@(guile-user)> (lookup-origin "https://scm.gforge.inria.fr/ano= nscm/svn/mpfi/trunk/mpfi") > >> $6 =3D #f > > > > Since =E2=80=9Cguix lint -c archival=E2=80=9D I should have forgotten t= o submit the > > request via their Web interface. Now, it is scheduled: > > > > > > =E2=80=98lookup-origin=E2=80=99 still returns #f though. Weird because SWH says it is in. Requests at 21/09/2020, 23:47:09 then click. :-) - scheduled: 21/09/2020, 23:47:21 - start: 21/09/2020, 23:47:24 - end: 21/09/2020, 23:53:26 - log: [2020-09-21 21:53:26,098: INFO/ForkPoolWorker-1] Task swh.loader.svn.tasks.DumpMountAndLoadSvnRepository[b13942f6-b415-4831-b25f-= e68bd4515cf2] succeeded in 361.4525023885071s: {'status': 'eventful'} Well, the issue is: - Not in: https://scm.gforge.inria.fr/anonscm/svn/mpfi/trunk/mpfi + In: https://scm.gforge.inria.fr/anonscm/svn/mpfi as you can see here: > (Note that it seems possible that the shutdown of gforge.inria.fr will > be delayed a bit or at least be made less brutally that initially > announced.) Good to know. :-) All the best, simon From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 25 04:56:25 2020 Received: (at 43442) by debbugs.gnu.org; 25 Sep 2020 08:56:25 +0000 Received: from localhost ([127.0.0.1]:42600 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kLjWi-0005s9-QK for submit@debbugs.gnu.org; Fri, 25 Sep 2020 04:56:25 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47014) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kLjWg-0005ro-5Y for 43442@debbugs.gnu.org; Fri, 25 Sep 2020 04:56:23 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:49921) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kLjWa-000696-MK; Fri, 25 Sep 2020 04:56:16 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=60666 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kLjWZ-0004GR-C0; Fri, 25 Sep 2020 04:56:16 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: zimoun Subject: Re: [bug#43442] [PATCH 1/2] gnu: mpfi: Replace 'url-fetch' by 'svn-fetch'. References: <20200916081411.5801-1-zimon.toutoune@gmail.com> <20200916081642.6716-1-zimon.toutoune@gmail.com> <87o8lyj090.fsf@gnu.org> <86zh5iol1n.fsf@gmail.com> <87h7rocvkt.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 4 =?utf-8?Q?Vend=C3=A9miaire?= 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: Fri, 25 Sep 2020 10:56:13 +0200 In-Reply-To: (zimoun's message of "Wed, 23 Sep 2020 19:07:19 +0200") Message-ID: <877dsi44lu.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 43442 Cc: 43442@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi! zimoun skribis: > as you can see here: > > Oh indeed: --8<---------------cut here---------------start------------->8--- scheme@(guile-user)> ,use(guix swh) scheme@(guile-user)> (lookup-origin "https://scm.gforge.inria.fr/anonscm/sv= n/mpfi") $14 =3D #< visits-url: "https://archive.softwareheritage.org/api/1/= origin/https://scm.gforge.inria.fr/anonscm/svn/mpfi/visits/" type: #f url: = "https://scm.gforge.inria.fr/anonscm/svn/mpfi"> scheme@(guile-user)> (origin-visits $14) $15 =3D (#< date: # origin: "https://scm.gfo= rge.inria.fr/anonscm/svn/mpfi" url: "https://archive.softwareheritage.org/a= pi/1/origin/https://scm.gforge.inria.fr/anonscm/svn/mpfi/visit/1/" snapshot= -url: "https://archive.softwareheritage.org/api/1/snapshot/e7fdd4dc6230f710= dbc55c1b308804fa1b5f51f0/" status: full number: 1>) scheme@(guile-user)> (visit-snapshot (car $15)) $16 =3D #< branches: (#< name: "HEAD" target-type: revisi= on target-url: "https://archive.softwareheritage.org/api/1/revision/f7b445a= 6bdc38bf075f29265120ca49824f698ea/">)> --8<---------------cut here---------------end--------------->8--- Note that the original svn revision number is discarded, AFAICS. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 01 16:26:47 2020 Received: (at 43442) by debbugs.gnu.org; 1 Oct 2020 20:26:47 +0000 Received: from localhost ([127.0.0.1]:38536 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kO5A6-0006cr-Qz for submit@debbugs.gnu.org; Thu, 01 Oct 2020 16:26:47 -0400 Received: from mail-qv1-f65.google.com ([209.85.219.65]:44267) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kO5A5-0006cf-Fd for 43442@debbugs.gnu.org; Thu, 01 Oct 2020 16:26:45 -0400 Received: by mail-qv1-f65.google.com with SMTP id j10so3834538qvk.11 for <43442@debbugs.gnu.org>; Thu, 01 Oct 2020 13:26:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=Z68QW4gHpT+1xe7lnSIvyrabH0WmcixYXGuqYutIs/A=; b=TIkJ5noF1W7tWgaMsHo0zHWboTK/Diynn7lgPFv3OmOVxOie40soCiy1xMG2T2yLAn WH/slNV6w84x9hulmuzJMWwL+/3k+ytDUffvUEKt7iKEYZiRjhINTtWpno4Kbl3Mg6rR UXvNcPOXPPPJlyXtWeeti7f1wGxrf+exlNV1TBQ11VDps5+38e3m+e4OiTbhJBtL9a+j UuiYNW3mJ2qUb6eK7R76QKhKJpAQOGQvn3AtjPmPPN+I5Bwda14zkdfYTgAdNBJ9vexU 6TsXx/S3Jb30K79s8gljsVSgR+hYgxeoYENzXtLsXyJSjQzAWPUBv6I6iXpVuNvK3kgM WsQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=Z68QW4gHpT+1xe7lnSIvyrabH0WmcixYXGuqYutIs/A=; b=qzuKhM0MGByCHNYs9WAt258NL0zKOGSVMfBsj1YKjOUGOdAD9dltg0zYYpVCYX0bJY O0ImsfFSsnNTaEwThYTY3Zd8/XXMw+soNHFNuvzgh9Jad7MDbma1lQw/GJaE87jgzOlY +hiV3PREain7Id8Snpa3AyswaDrrT3ZBerehQybEmxE3qaHzm4cWfvH/CO4d9xg2YqEs TMpLMPxjWt0gjurhAuDmFjySaXNJAEAMktVSHRMDGWx/g3+r3p7sdvdZUKpKM/odvWZ7 2wS74vbU+DQwFx4m2mjSdVdLQv8WREgeB5d5PmmtAueK605AU7rDRoOLwcY78C+ms24Y SquA== X-Gm-Message-State: AOAM533AorT7fsBtUvuklm2CvghOe9RqRTPfLKKw5r6n6U8cktbR7lNL 7kBhF1TU46EscqfSbjk8DtXzk2E9NaKJ7J9GHx0= X-Google-Smtp-Source: ABdhPJx8Bt+ssxyrh5+65VqDMIMBi+AzRAvjefkPx23Ln6oYYti/awo+CpefuIIsTOx6X93agi/46QdveZ8HH3HbCrQ= X-Received: by 2002:ad4:58e7:: with SMTP id di7mr9337494qvb.36.1601583999915; Thu, 01 Oct 2020 13:26:39 -0700 (PDT) MIME-Version: 1.0 References: <20200916081411.5801-1-zimon.toutoune@gmail.com> <20200916081642.6716-1-zimon.toutoune@gmail.com> <87o8lyj090.fsf@gnu.org> <86zh5iol1n.fsf@gmail.com> <87h7rocvkt.fsf@gnu.org> <877dsi44lu.fsf@gnu.org> In-Reply-To: <877dsi44lu.fsf@gnu.org> From: zimoun Date: Thu, 1 Oct 2020 22:26:28 +0200 Message-ID: Subject: Re: [bug#43442] [PATCH 1/2] gnu: mpfi: Replace 'url-fetch' by 'svn-fetch'. To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 43442 Cc: 43442@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Ludo, On Fri, 25 Sep 2020 at 10:56, Ludovic Court=C3=A8s wrote: > Note that the original svn revision number is discarded, AFAICS. No, it is not... but to find it one needs a bit of guidance by SWH folks. := -) 1. With the URL, fetch: https://archive.softwareheritage.org/api/1/origin/https://scm.gforge.inria.= fr/anonscm/svn/mpfi/visit/latest/ 2. From #1 one gets 'snapshot' and fetch: https://archive.softwareheritage.org/api/1/snapshot/e7fdd4dc6230f710dbc55c1= b308804fa1b5f51f0/ 3. From #3, one gets the 'target' and fetch: https://archive.softwareheritage.org/api/1/revision/f7b445a6bdc38bf075f2926= 5120ca49824f698ea/log/ And #3 lists all the revisions in SWH. Well, this should be enough for the saving request. WDYT? However, it is not clear how to fetch cooking from the vault. To be continued... Cheers, simon From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 01 17:01:23 2020 Received: (at 43442) by debbugs.gnu.org; 1 Oct 2020 21:01:23 +0000 Received: from localhost ([127.0.0.1]:38573 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kO5hb-00018R-3F for submit@debbugs.gnu.org; Thu, 01 Oct 2020 17:01:23 -0400 Received: from mail-qk1-f194.google.com ([209.85.222.194]:37064) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kO5hY-00018B-RT for 43442@debbugs.gnu.org; Thu, 01 Oct 2020 17:01:21 -0400 Received: by mail-qk1-f194.google.com with SMTP id 16so7306462qkf.4 for <43442@debbugs.gnu.org>; Thu, 01 Oct 2020 14:01:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=DirNretSCFmic08WdR5jWCBM78tj5a2x8XFWQ03OE6k=; b=msZW3YzQJukci6wCOrHZPahY6hwjMiVkcSmsHNJDfB1L237LTemEHIxYuo60yAbeEZ RxR+SXIXcpEPX+2uEWQA+N6Cgh06MWzgdDfTnNgRmFW1PPGdMWze7LyzHCL1yFDmZjCM seYOLJpq4Br1lIwQKTenV/zfucfvbSvC5v5j0di/o9I8KQWBwxvDmW3W8nT5WC2pFjDr 1Ee1n5GBhC0TcQ/4Z7wAEVkMUlleh1OIQV0OwLji1hQeLHlS8rk4oH+ezlzu32AyAaR8 zDd49IaCDrHMC7LGRcptKl8QLSZvyXMzSIjVgh/Z5F3RkNkctOl5HcFAoMzIin5pumci m/fQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=DirNretSCFmic08WdR5jWCBM78tj5a2x8XFWQ03OE6k=; b=hFQqU/FZp0prnNeQS0+tMGi7odbsrvlaCRro2j0NJWJuwS4fj+MOVi4IeqeFEqGGfP X2htwFKvpK6DwxWmR7K9clRNgmi28s0TfRa+ArwRwhD5JcmSIk3Wck6YGpLioBw6FFj9 UY5M05RW92ZBQxLTIq/ubtZu24cLGjGxwsfV9szexqtcDAvoQLhlZhq5vorOFDyvoWCf YRS/Sx4KTEQKmSCKx8pfUtOeXihgYOK/CZeaF8yhafK/ZybBLSCLinUD+uBFdNtqw3JJ g77aslIN+F/JxA6ybllbj1fU6MkWUuf3By6uj8DfjcuZbUC+VgXC7eabI+uwmqf+gs4G aZKw== X-Gm-Message-State: AOAM530vHqakJ+eBny9QTLQOw5VXkf5VZeJt5nwilOQMEaA//iyzD9o1 lV/aCREPlVLx3is5DRHqLixe1n0k0tVH6kzm2/4= X-Google-Smtp-Source: ABdhPJyrGxevODNnBEVJImCf+AdvFrSCY6Wl4CrS6IHooTb8cjDIq6o+yUOMzOQkPcM086q3GAO88FG6Br14nAdoiP8= X-Received: by 2002:a37:9b4d:: with SMTP id d74mr8740277qke.201.1601586075280; Thu, 01 Oct 2020 14:01:15 -0700 (PDT) MIME-Version: 1.0 References: <20200916081411.5801-1-zimon.toutoune@gmail.com> <20200916081642.6716-1-zimon.toutoune@gmail.com> <87o8lyj090.fsf@gnu.org> <86zh5iol1n.fsf@gmail.com> <87h7rocvkt.fsf@gnu.org> <877dsi44lu.fsf@gnu.org> In-Reply-To: From: zimoun Date: Thu, 1 Oct 2020 23:01:03 +0200 Message-ID: Subject: Re: [bug#43442] [PATCH 1/2] gnu: mpfi: Replace 'url-fetch' by 'svn-fetch'. To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 43442 Cc: 43442@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Thu, 1 Oct 2020 at 22:26, zimoun wrote: > 1. With the URL, fetch: > https://archive.softwareheritage.org/api/1/origin/https://scm.gforge.inria.fr/anonscm/svn/mpfi/visit/latest/ > > 2. From #1 one gets 'snapshot' and fetch: > https://archive.softwareheritage.org/api/1/snapshot/e7fdd4dc6230f710dbc55c1b308804fa1b5f51f0/ > > 3. From #3, one gets the 'target' and fetch: > https://archive.softwareheritage.org/api/1/revision/f7b445a6bdc38bf075f29265120ca49824f698ea/log/ > > And #3 lists all the revisions in SWH. > > Well, this should be enough for the saving request. WDYT? > > However, it is not clear how to fetch cooking from the vault. To be > continued... >From #3, using 'directory' (4193e93b4aea0abeaff715b1a1274c4d7eb4a27d), it seems possible to cook from the vault and get the tarball (I did with the web interface). And the integrity field (guix hash -r) is the same as the one I put in the patch submission. From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 03 04:59:10 2020 Received: (at 43442) by debbugs.gnu.org; 3 Oct 2020 08:59:10 +0000 Received: from localhost ([127.0.0.1]:42963 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kOdNm-00020d-36 for submit@debbugs.gnu.org; Sat, 03 Oct 2020 04:59:10 -0400 Received: from eggs.gnu.org ([209.51.188.92]:53464) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kOdNk-00020Q-Hg for 43442@debbugs.gnu.org; Sat, 03 Oct 2020 04:59:09 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:51867) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kOdNf-0004mf-6V; Sat, 03 Oct 2020 04:59:03 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=43598 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kOdNe-0003GW-Cl; Sat, 03 Oct 2020 04:59:03 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: zimoun Subject: Re: [bug#43442] [PATCH 1/2] gnu: mpfi: Replace 'url-fetch' by 'svn-fetch'. References: <20200916081411.5801-1-zimon.toutoune@gmail.com> <20200916081642.6716-1-zimon.toutoune@gmail.com> <87o8lyj090.fsf@gnu.org> <86zh5iol1n.fsf@gmail.com> <87h7rocvkt.fsf@gnu.org> <877dsi44lu.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 12 =?utf-8?Q?Vend=C3=A9miaire?= 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: Sat, 03 Oct 2020 10:59:00 +0200 In-Reply-To: (zimoun's message of "Thu, 1 Oct 2020 22:26:28 +0200") Message-ID: <87y2knhei3.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 43442 Cc: 43442@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, zimoun skribis: > On Fri, 25 Sep 2020 at 10:56, Ludovic Court=C3=A8s wrote: > >> Note that the original svn revision number is discarded, AFAICS. > > No, it is not... but to find it one needs a bit of guidance by SWH folks.= :-) > > 1. With the URL, fetch: > https://archive.softwareheritage.org/api/1/origin/https://scm.gforge.inri= a.fr/anonscm/svn/mpfi/visit/latest/ > > 2. From #1 one gets 'snapshot' and fetch: > https://archive.softwareheritage.org/api/1/snapshot/e7fdd4dc6230f710dbc55= c1b308804fa1b5f51f0/ > > 3. From #3, one gets the 'target' and fetch: > https://archive.softwareheritage.org/api/1/revision/f7b445a6bdc38bf075f29= 265120ca49824f698ea/log/ > > And #3 lists all the revisions in SWH. Ah yes, under =E2=80=9Cextra_headers=E2=80=9D there=E2=80=99s the SVN revis= ion number. (guix swh) doesn=E2=80=99t expose =E2=80=9Cextra_headers=E2=80=9D yet, but once i= t does, we can walk snapshots until we find the SVN revision we=E2=80=99re looking for. --8<---------------cut here---------------start------------->8--- scheme@(guile-user)> (lookup-origin "https://scm.gforge.inria.fr/anonscm/sv= n/mpfi/") $3 =3D #< visits-url: "https://archive.softwareheritage.org/api/1/o= rigin/https://scm.gforge.inria.fr/anonscm/svn/mpfi/visits/" type: #f url: "= https://scm.gforge.inria.fr/anonscm/svn/mpfi"> scheme@(guile-user)> (origin-visits $3) $4 =3D (#< date: # origin: "https://scm.gfor= ge.inria.fr/anonscm/svn/mpfi" url: "https://archive.softwareheritage.org/ap= i/1/origin/https://scm.gforge.inria.fr/anonscm/svn/mpfi/visit/1/" snapshot-= url: "https://archive.softwareheritage.org/api/1/snapshot/e7fdd4dc6230f710d= bc55c1b308804fa1b5f51f0/" status: full number: 1>) scheme@(guile-user)> (visit-snapshot (car $4)) $5 =3D #< branches: (#< name: "HEAD" target-type: revisio= n target-url: "https://archive.softwareheritage.org/api/1/revision/f7b445a6= bdc38bf075f29265120ca49824f698ea/">)> --8<---------------cut here---------------end--------------->8--- So the next step is to augment (guix swh) with a =E2=80=98lookup-subversion-revision=E2=80=99 procedure. Thanks for investigating! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 20 09:47:26 2023 Received: (at control) by debbugs.gnu.org; 20 Mar 2023 13:47:26 +0000 Received: from localhost ([127.0.0.1]:54021 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peFrB-0000kG-T8 for submit@debbugs.gnu.org; Mon, 20 Mar 2023 09:47:26 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:8558) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peFrA-0000jx-Dh for control@debbugs.gnu.org; Mon, 20 Mar 2023 09:47:24 -0400 Authentication-Results: mail3-relais-sop.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=ludo@gnu.org; dmarc=fail (p=none dis=none) d=gnu.org X-IronPort-AV: E=Sophos;i="5.98,274,1673910000"; d="scan'208";a="50696815" Received: from unknown (HELO ribbon) ([193.50.110.213]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Mar 2023 14:47:18 +0100 Date: Mon, 20 Mar 2023 14:47:17 +0100 Message-Id: <87zg87mt5m.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #43442 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) severity 43442 important quit From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 20 10:09:21 2023 Received: (at 43442) by debbugs.gnu.org; 20 Mar 2023 14:09:21 +0000 Received: from localhost ([127.0.0.1]:55443 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peGCO-0004CN-Vw for submit@debbugs.gnu.org; Mon, 20 Mar 2023 10:09:21 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:51064) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peGCM-0004C2-DC for 43442@debbugs.gnu.org; Mon, 20 Mar 2023 10:09:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:cc:subject:references:date:in-reply-to: message-id:mime-version; bh=ZXgWW4DhDQrUfTaQOnOoMqLhzH2AVg6/Tt35qHUcGk0=; b=PXyR6HVLP05J1oetvEKzKq8zZoISabxVafitfcnSvHIXQJe9iXpqb0uy oninQB2KYeepWSAYlmNFGSHR3HpazwUDh2lkieI2ANMJqLtpLfYD7JiVL e1eiNTjz4BxFZrTQ1qAmEdUOXgjmW/P9RlwcfZ3Wuy42v6d1gKwg3DM2m A=; Authentication-Results: mail3-relais-sop.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=ludovic.courtes@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="5.98,274,1673910000"; d="scan'208";a="50699762" Received: from unknown (HELO ribbon) ([193.50.110.213]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Mar 2023 15:09:12 +0100 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: zimoun Subject: Re: bug#43442: [PATCH] Fixes init of #42162: gforge.inria.fr down Dec. 2020 References: <20200916081411.5801-1-zimon.toutoune@gmail.com> <20200916081642.6716-1-zimon.toutoune@gmail.com> <87o8lyj090.fsf@gnu.org> <86zh5iol1n.fsf@gmail.com> <87h7rocvkt.fsf@gnu.org> <877dsi44lu.fsf@gnu.org> <87y2knhei3.fsf@gnu.org> Date: Mon, 20 Mar 2023 15:09:11 +0100 In-Reply-To: <87y2knhei3.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Sat, 03 Oct 2020 10:59:00 +0200") Message-ID: <87jzzbms54.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 43442 Cc: 43442@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi! Ludovic Court=C3=A8s skribis: > Ah yes, under =E2=80=9Cextra_headers=E2=80=9D there=E2=80=99s the SVN rev= ision number. (guix > swh) doesn=E2=80=99t expose =E2=80=9Cextra_headers=E2=80=9D yet, but once= it does, we can walk > snapshots until we find the SVN revision we=E2=80=99re looking for. > > scheme@(guile-user)> (lookup-origin "https://scm.gforge.inria.fr/anonscm/= svn/mpfi/") > $3 =3D #< visits-url: "https://archive.softwareheritage.org/api/1= /origin/https://scm.gforge.inria.fr/anonscm/svn/mpfi/visits/" type: #f url:= "https://scm.gforge.inria.fr/anonscm/svn/mpfi"> > scheme@(guile-user)> (origin-visits $3) > $4 =3D (#< date: # origin: "https://scm.gf= orge.inria.fr/anonscm/svn/mpfi" url: "https://archive.softwareheritage.org/= api/1/origin/https://scm.gforge.inria.fr/anonscm/svn/mpfi/visit/1/" snapsho= t-url: "https://archive.softwareheritage.org/api/1/snapshot/e7fdd4dc6230f71= 0dbc55c1b308804fa1b5f51f0/" status: full number: 1>) > scheme@(guile-user)> (visit-snapshot (car $4)) > $5 =3D #< branches: (#< name: "HEAD" target-type: revis= ion target-url: "https://archive.softwareheritage.org/api/1/revision/f7b445= a6bdc38bf075f29265120ca49824f698ea/">)> > > So the next step is to augment (guix swh) with a > =E2=80=98lookup-subversion-revision=E2=80=99 procedure. The attached patch does that: --8<---------------cut here---------------start------------->8--- scheme@(guile-user)> (lookup-subversion-revision "https://scm.gforge.inria.= fr/anonscm/svn/mpfi" 680) $12 =3D #< id: "72102de7605a2459ebcb016338ebbf1a997e8c8d" date: #= directory: "5c89c025a4cd9d16befdfec12dfc23f7318d0d5= b" directory-url: "https://archive.softwareheritage.org/api/1/directory/5c8= 9c025a4cd9d16befdfec12dfc23f7318d0d5b/" parents-ids: ("16da41f1848d77a93aec= 565320b72b460c429b61") extra-headers: (("svn_repo_uuid" . "e2f78e0c-bb60-47= 09-9413-9660a31d4696") ("svn_revision" . "680"))> scheme@(guile-user)> (lookup-subversion-revision "https://scm.gforge.inria.= fr/anonscm/svn/mpfi" 666) $13 =3D #< id: "148eb1e7206b111af4075c73c656e54c9efed6cb" date: #= directory: "ed7b0bd7019fb85cd86d948a97c23b9d43aa8728= " directory-url: "https://archive.softwareheritage.org/api/1/directory/ed7b= 0bd7019fb85cd86d948a97c23b9d43aa8728/" parents-ids: ("0ba2aa7e0d3fc0a1eb3ba= 72b32094515415ae47a") extra-headers: (("svn_repo_uuid" . "e2f78e0c-bb60-470= 9-9413-9660a31d4696") ("svn_revision" . "666"))> --8<---------------cut here---------------end--------------->8--- The implementation is pretty bad though, because it walks the revision history until it finds the right revision number=E2=80=94so you=E2=80=99re = likely to reach the bandwidth rate limit before you=E2=80=99ve found the revision you= =E2=80=99re looking for. More importantly, most svn origins cannot be found, or at least not by passing the URL as-is: https://sympa.inria.fr/sympa/arc/swh-devel/2023-03/msg00009.html This whole hack looks like a dead end. It would be ideal if SWH would compute nar hashes, as you proposed: https://gitlab.softwareheritage.org/swh/meta/-/issues/4538 As a stopgap, I wonder if we could use =E2=80=9Cdouble hashing=E2=80=9D on = our side, but only for svn: we=E2=80=99d store both the nar sha256 as we currently do, pl= us the swhid. It still seems to me that it=E2=80=99d be hard to scale and to maintain that over time, even if it=E2=80=99s limited to svn. Plus, there= =E2=80=99d still be the problem of =E2=80=98svn-multi-fetch=E2=80=99, which is what mo= st TeX=C2=A0Live packages use. Thoughts? Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable diff --git a/guix/swh.scm b/guix/swh.scm index c7c1c873a2..a65635b1db 100644 --- a/guix/swh.scm +++ b/guix/swh.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright =C2=A9 2018, 2019, 2020, 2021 Ludovic Court=C3=A8s +;;; Copyright =C2=A9 2018, 2019, 2020, 2021, 2023 Ludovic Court=C3=A8s ;;; Copyright =C2=A9 2020 Jakub K=C4=85dzio=C5=82ka ;;; Copyright =C2=A9 2021 Xinglu Chen ;;; Copyright =C2=A9 2021 Simon Tournier @@ -75,8 +75,10 @@ (define-module (guix swh) revision-id revision-date revision-directory + revision-parents lookup-revision lookup-origin-revision + lookup-subversion-revision =20 content? content-checksums @@ -207,6 +209,14 @@ (define string* ((? null?) #f) ;Guile-JSON 3.x ('null #f))) ;Guile-JSON 4.x =20 +(define pair-vector->alist + (match-lambda + ('null '()) + ((=3D vector->list lst) + (map (match-lambda + (#(key value) (cons key value))) + lst)))) + (define %allow-request? ;; Takes a URL and method (e.g., the 'http-get' procedure) and returns t= rue ;; to keep going. This can be used to disallow requests when @@ -346,7 +356,14 @@ (define-json-mapping make-revision revision? (id revision-id) (date revision-date "date" (maybe-null string->date*)) (directory revision-directory) - (directory-url revision-directory-url "directory_url")) + (directory-url revision-directory-url "directory_url") + (parents-ids revision-parent-ids "parents" + (lambda (vector) + (map (lambda (alist) + (assoc-ref alist "id")) + (vector->list vector)))) + (extra-headers revision-extra-headers ;alist--e.g., with "svn_revis= ion" + "extra_headers" pair-vector->alist)) =20 ;; (define-json-mapping make-content content? @@ -524,6 +541,50 @@ (define (lookup-origin-revision url tag) (() #f))))) =20 +(define (revision-parents revision) + "Return the parent revision(s) of REVISION." + (filter-map lookup-revision (revision-parent-ids revision))) + +(define (lookup-subversion-revision-in-history revision revision-number) + "Look for Subversion REVISION-NUMBER starting from REVISION and going ba= ck +in history." + (let loop ((revision revision)) + (let ((number (and=3D> (assoc-ref (revision-extra-headers revision) + "svn_revision") + string->number))) + (and number + (cond ((=3D number revision-number) + ;; Found it! + revision) + ((< number revision-number) + ;; REVISION is ancestor of REVISION-NUMBER, so stop here. + #f) + (else + ;; Check the parent(s) of REVISION. + (any loop (revision-parents revision)))))))) + +(define (lookup-subversion-revision url revision-number) + "Return either #f or the revision of the Subversion repository once +available at URL with the given REVISION-NUMBER." + (match (lookup-origin url) + (#f #f) + (origin + (match (filter (lambda (visit) + ;; Return #f if (visit-snapshot VISIT) would return= #f. + (and (visit-snapshot-url visit) + (eq? 'full (visit-status visit)))) + (origin-visits origin)) + (() + #f) + ((visit . _) + (any (lambda (branch) + (match (branch-target branch) + ((? revision? revision) + (lookup-subversion-revision-in-history revision + revision-number)) + (_ #f))) + (snapshot-branches (visit-snapshot visit)))))))) + (define (release-target release) "Return the revision that is the target of RELEASE." (match (release-target-type release) --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 20 10:11:03 2023 Received: (at control) by debbugs.gnu.org; 20 Mar 2023 14:11:03 +0000 Received: from localhost ([127.0.0.1]:55448 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peGE2-0004Ff-Q0 for submit@debbugs.gnu.org; Mon, 20 Mar 2023 10:11:02 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:51159) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peGE1-0004F4-JV for control@debbugs.gnu.org; Mon, 20 Mar 2023 10:11:01 -0400 Authentication-Results: mail3-relais-sop.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=ludo@gnu.org; dmarc=fail (p=none dis=none) d=gnu.org X-IronPort-AV: E=Sophos;i="5.98,274,1673910000"; d="scan'208";a="50699972" Received: from unknown (HELO ribbon) ([193.50.110.213]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Mar 2023 15:10:57 +0100 Date: Mon, 20 Mar 2023 15:10:55 +0100 Message-Id: <87ilevms28.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #43442 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) retitle 43442 Code stored with Subversion (SVN) cannot be retrieved from SWH quit From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 22 18:42:52 2023 Received: (at 43442) by debbugs.gnu.org; 22 Mar 2023 22:42:52 +0000 Received: from localhost ([127.0.0.1]:36853 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pf7AR-0006IV-U2 for submit@debbugs.gnu.org; Wed, 22 Mar 2023 18:42:52 -0400 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:48509) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pf7AP-0006I8-PM for 43442@debbugs.gnu.org; Wed, 22 Mar 2023 18:42:50 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id B270B3200312; Wed, 22 Mar 2023 18:42:42 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Wed, 22 Mar 2023 18:42:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1679524962; x=1679611362; bh=xQPUc74W/vXs1TFmZwpQsdK+9S4EUQVp1Ch QFeFj6I0=; b=F8Mr+P5NDVfoc6UIaMw3IlRGYl92UXBSZc29ugQFSRFFMv/Y4Np e6z93oYcb/uXQjH5FKwsbm0mpLqCqKNXwYM83urWc5eAadFNcTlzqO65jDkyg1vA lduBR2gRlQcJM4nCWB6zS8/taBy2u+mzeGGgg/mdFlEMkNZCf1hq3YS/scFfS/GV PIbzscXCIV0uDVnOLvRw9QnM+KUhBK6iP9MYcgRfqTrtVnybGAxsyttpGVEGHxF1 /2zKURIM8ETDtMpXyrFAqqN4eCy6GzjutDPoZwi4Fy7gr3odqf++CaZ9fZCHjQQQ sHp2V/I0Gu5qax4CznXMx0cUzqIAHFY6hHg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdegvddgudeihecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvfevufhfffgjkfgfgggtgfesthhqredttderjeenucfhrhhomhepvfhi mhhothhhhicuufgrmhhplhgvuceoshgrmhhplhgvthesnhhghihrohdrtghomheqnecugg ftrfgrthhtvghrnhepudfhvedugfdvhfejlefffeejgfeiffethfdtkeetgfejueeghedu geeitddukedvnecuffhomhgrihhnpehsohhfthifrghrvghhvghrihhtrghgvgdrohhrgh dpihhnrhhirgdrfhhrnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghi lhhfrhhomhepshgrmhhplhgvthesnhhghihrohdrtghomh X-ME-Proxy: Feedback-ID: i4721425c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 22 Mar 2023 18:42:41 -0400 (EDT) From: Timothy Sample To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: [bug#43442] [PATCH] Fixes init of #42162: gforge.inria.fr down Dec. 2020 References: <20200916081411.5801-1-zimon.toutoune@gmail.com> <20200916081642.6716-1-zimon.toutoune@gmail.com> <87o8lyj090.fsf@gnu.org> <86zh5iol1n.fsf@gmail.com> <87h7rocvkt.fsf@gnu.org> <877dsi44lu.fsf@gnu.org> <87y2knhei3.fsf@gnu.org> <87jzzbms54.fsf_-_@gnu.org> Date: Wed, 22 Mar 2023 16:42:39 -0600 In-Reply-To: <87jzzbms54.fsf_-_@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s?= =?utf-8?Q?=22's?= message of "Mon, 20 Mar 2023 15:09:11 +0100") Message-ID: <87jzz8xva8.fsf@ngyro.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 43442 Cc: 43442@debbugs.gnu.org, zimoun X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hello, Ludovic Court=C3=A8s writes: > This whole hack looks like a dead end. > > It would be ideal if SWH would compute nar hashes, as you proposed: > > https://gitlab.softwareheritage.org/swh/meta/-/issues/4538 > > As a stopgap, I wonder if we could use =E2=80=9Cdouble hashing=E2=80=9D o= n our side, but > only for svn: we=E2=80=99d store both the nar sha256 as we currently do, = plus > the swhid. It still seems to me that it=E2=80=99d be hard to scale and to > maintain that over time, even if it=E2=80=99s limited to svn. Plus, ther= e=E2=80=99d > still be the problem of =E2=80=98svn-multi-fetch=E2=80=99, which is what = most TeX=C2=A0Live > packages use. > > Thoughts? Not too many, but I do have more bad news. Apologies if this is already known, but I=E2=80=99m just getting up to speed with how SWH handles Subver= sion (for coverage checking) and thought this seemed pretty significant. I was starting with doing a simple check for the =E2=80=9Ceasy=E2=80=9D Sub= version repositories. That is, no externals (=E2=80=98recursive?=E2=80=99) and no =E2=80=98svn-multi-fetch=E2=80=99 [1]. I immediately hit a problem. Guix = hashes the export of the repository with the keywords processed, while SWH hashes it with unprocessed keywords. For example, take =E2=80=98libsmpeg=E2=80=99. It has a file called =E2=80= =9Cmkinstalldirs=E2=80=9D, which has a keyword in it: =E2=80=9C$Id$=E2=80=9D. The SWH loader hashes t= his as $Id$ while we hash it as $Id: mkinstalldirs 9 1999-10-21 15:55:01Z hercules $ This is not a big issue in terms of coverage checking, but it will be an issue for automatic recovery. Even if you know the exact SWH directory ID, you won=E2=80=99t get a directory that satisfies the daemon=E2=80=99s h= ash check. I have no idea how hard it is to process the keywords with only data from SWH. In this case, you would have to walk revisions to find the last time =E2=80=9Cmkinstalldirs=E2=80=9D was modified, and then format its meta= data. However, I assume the Subversion properties are gone, so there might be edge cases like a file with =E2=80=9C$Id$=E2=80=9D (or whatever) that Subve= rsion wouldn=E2=80=99t processes. Again, apologies if this is old news. Actually apologies either way, =E2=80=99cause this is a bit of a downer! -- Tim [1] More precisely, I was going to process recursive =E2=80=98svn-fetch=E2= =80=99 origins because a lot of them are needlessly marked as recursive. In some (many?) cases, the repositories don=E2=80=99t actually have external refere= nces, so the flag does nothing. I was only going to skip the ones where it makes a difference. From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 24 13:22:16 2023 Received: (at 43442) by debbugs.gnu.org; 24 Mar 2023 17:22:16 +0000 Received: from localhost ([127.0.0.1]:41287 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pfl7I-0007xQ-C6 for submit@debbugs.gnu.org; Fri, 24 Mar 2023 13:22:16 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:34155) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pfl7F-0007xB-DB for 43442@debbugs.gnu.org; Fri, 24 Mar 2023 13:22:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:cc:subject:references:date:in-reply-to: message-id:mime-version; bh=iWXEd8VieoJ9zk9Eu/YpB3f8L6uCAVkSevnY5OpXjT8=; b=B/Y6xj5Q+w4CY4IRuinAC3mP0zr6txcTwys0SU4FmUT/Gz6U3dqpYZZC +LloHzvQ0CXQI8A5OBWVKQyq6eCEDeHatjcq0QY7/NW6KN11CwVOcL3ZZ ZMWqio5c2qWt4ZENsCtjXA0goBd8SYq/7SkmRrW3HdUx/c/n8HP5TnI1d M=; Authentication-Results: mail3-relais-sop.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=ludovic.courtes@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="5.98,288,1673910000"; d="scan'208";a="51181893" Received: from unknown (HELO ribbon) ([193.50.110.81]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Mar 2023 18:22:08 +0100 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Timothy Sample Subject: Subversion keyword substitution References: <20200916081411.5801-1-zimon.toutoune@gmail.com> <20200916081642.6716-1-zimon.toutoune@gmail.com> <87o8lyj090.fsf@gnu.org> <86zh5iol1n.fsf@gmail.com> <87h7rocvkt.fsf@gnu.org> <877dsi44lu.fsf@gnu.org> <87y2knhei3.fsf@gnu.org> <87jzzbms54.fsf_-_@gnu.org> <87jzz8xva8.fsf@ngyro.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Quartidi 4 Germinal an 231 de la =?utf-8?Q?R=C3=A9vo?= =?utf-8?Q?lution=2C?= jour de la Tulipe 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: Fri, 24 Mar 2023 18:22:06 +0100 In-Reply-To: <87jzz8xva8.fsf@ngyro.com> (Timothy Sample's message of "Wed, 22 Mar 2023 16:42:39 -0600") Message-ID: <871qle6p4x.fsf_-_@inria.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 43442 Cc: 43442@debbugs.gnu.org, zimoun X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Timothy, Timothy Sample skribis: > I was starting with doing a simple check for the =E2=80=9Ceasy=E2=80=9D S= ubversion > repositories. That is, no externals (=E2=80=98recursive?=E2=80=99) and no > =E2=80=98svn-multi-fetch=E2=80=99 [1]. I immediately hit a problem. Gui= x hashes the > export of the repository with the keywords processed, while SWH hashes > it with unprocessed keywords. Ouch. I had forgotten keywords were also a thing in Subversion. :-/ Can we tell Subversion to not expand them? That could be the way forward in Guix, though it won=E2=80=99t help for past revisions. How frequent is the use of keywords though? I tried the patch below to turn off keyword substitution, and then ran guix build -S --check -v1 --keep-going for the 407 packages identified by: --8<---------------cut here---------------start------------->8--- scheme@(guile-user)> (define svn (fold-packages (lambda (p lst) (if (and (not (hidden-package? p)) (not (package-superseded p)) (origin? (package-source p)) (memq (origin-method (package-source p)) (list svn-fetch svn-multi-fetch))) (cons p lst) lst)) '())) scheme@(guile-user)> (length svn) $8 =3D 407 --8<---------------cut here---------------end--------------->8--- That led to: --8<---------------cut here---------------start------------->8--- guix build: error: build of `/gnu/store/2byn59zmdbc4bz2wknnv0df4n67bdvgr-te= xlive-pdftex-59745-checkout.drv', `/gnu/store/2gj88z4plmwhraghxj5626zpiir1c= k6k-libsmpeg-0.4.5-401-checkout.drv', `/gnu/store/2zygylsb2b333rzrvjyrh4qyb= w799hl3-ghmm-0.9-rc3-0.2341-checkout.drv', `/gnu/store/4a81qlka5w73rprapzi1= w63xzb01n0r8-java-geronimo-xbean-reflect-4.5.drv', `/gnu/store/4mabgwil0ygw= m3bkka3nzfbrwg1kk0wz-texlive-kpathsea-59745-checkout.drv', `/gnu/store/5ivk= 83abj22bs9ka10dk1v67kyczcd80-texlive-dvips-59745-checkout.drv', `/gnu/store= /6zhnahylfr1zmpwzb8qzh8qp3yf9yl1p-texlive-tex-plain-59745-checkout.drv', `/= gnu/store/f1sjmghs0f4v0y2pnljqaplifq52qbn2-texlive-cm-59745-checkout.drv', = `/gnu/store/kd7kahaq71gi8j6zbabr0njqw60sjjxc-libsmpeg-0.4.5-399-checkout.dr= v', `/gnu/store/q3kip5bxkkdh14kx81afakbmpy7l4lr4-texlive-latexconfig-59745-= checkout.drv', `/gnu/store/qskxc2c30fdclmrjp7nk35n1q2sl6sp8-texlive-tetex-5= 9745-checkout.drv', `/gnu/store/wibsxy4kxlpq8lr76wvwgdyc2x5farr4-texlive-hy= phen-base-59745-checkout.drv' failed --8<---------------cut here---------------end--------------->8--- That=E2=80=99s 11 failures out of 407. So, how about applying the =E2=80=98--ignore-keywords=E2=80=99 change and u= pdating hashes accordingly? > [1] More precisely, I was going to process recursive =E2=80=98svn-fetch= =E2=80=99 origins > because a lot of them are needlessly marked as recursive. In some > (many?) cases, the repositories don=E2=80=99t actually have external refe= rences, > so the flag does nothing. I was only going to skip the ones where it > makes a difference. We should remove that recursive flag when it has no effect. Perhaps we could proceed similarly? Thanks, Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable diff --git a/guix/build/svn.scm b/guix/build/svn.scm index 2d960cb364..863c48e46d 100644 --- a/guix/build/svn.scm +++ b/guix/build/svn.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright =C2=A9 2014, 2020 Ludovic Court=C3=A8s +;;; Copyright =C2=A9 2014, 2020, 2023 Ludovic Court=C3=A8s ;;; Copyright =C2=A9 2014 Sree Harsha Totakura ;;; Copyright =C2=A9 2018 Mark H Weaver ;;; Copyright =C2=A9 2020 Simon Tournier @@ -47,6 +47,11 @@ (define* (svn-fetch url revision directory ;; verify the checksum later. This can be removed when ;; ca-certificates package is added. "--trust-server-cert" "-r" (number->string revision) + + ;; Disable keyword substitution (keywords are CVS-like strings + ;; like "$Date$", "$Id$", and so on). + "--ignore-keywords" + `(,@(if (and user-name password) (list (string-append "--username=3D" user-name) (string-append "--password=3D" password)) --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 24 19:32:05 2023 Received: (at 43442) by debbugs.gnu.org; 24 Mar 2023 23:32:05 +0000 Received: from localhost ([127.0.0.1]:41700 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pfqtA-0006Ay-Lx for submit@debbugs.gnu.org; Fri, 24 Mar 2023 19:32:05 -0400 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:49515) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pfqt8-0006AS-OP for 43442@debbugs.gnu.org; Fri, 24 Mar 2023 19:32:03 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id F334032002F9; Fri, 24 Mar 2023 19:31:53 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Fri, 24 Mar 2023 19:31:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1679700713; x= 1679787113; bh=iOct0zbYHXyLHcXji1njlqlZ/f6Eg8qtisbHzE+Z974=; b=O nZVBVb+/I5G9/cmdjpoR4yXrc+/Q2hrn8JJ/ygKr+iVpRvC2AztOPRP9hvM8bN59 Tc1KzgIuaT9jssjKx62kBJmoFKFutg9lVPytHC/6RQd5/5dsPe7ETzUqg1D2ptaz bNQ/j8lM4sGLnO88/6yCmTUTLninTl0ine29Smcvv2kynKFM43BX5NeJMnV6X1/d BV8Vbjr0pkkEe0RBEgLWNRB2pejmVL/FKm+/PRTHjd6uwgfRoDJMxDAb4iJvadsW p9TiG+xwU+2gqIz8HoiNilr1rdrOOikJbj2OCTLjVGn316K9JKmebaTDM8HTlK5J B6PvcKVGBmTsnqYcEZNQQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdegjedgudduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufhffkfgfgggtgfesthhqredttderjeenucfhrhhomhepvfhimhho thhhhicuufgrmhhplhgvuceoshgrmhhplhgvthesnhhghihrohdrtghomheqnecuggftrf grthhtvghrnhepkeegfeehieeigeejtdefgfeiudevffegtedtgfffhfetffeggfdvjeeu leeffffhnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epshgrmhhplhgvthesnhhghihrohdrtghomh X-ME-Proxy: Feedback-ID: i4721425c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 24 Mar 2023 19:31:52 -0400 (EDT) From: Timothy Sample To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: Subversion keyword substitution References: <20200916081411.5801-1-zimon.toutoune@gmail.com> <20200916081642.6716-1-zimon.toutoune@gmail.com> <87o8lyj090.fsf@gnu.org> <86zh5iol1n.fsf@gmail.com> <87h7rocvkt.fsf@gnu.org> <877dsi44lu.fsf@gnu.org> <87y2knhei3.fsf@gnu.org> <87jzzbms54.fsf_-_@gnu.org> <87jzz8xva8.fsf@ngyro.com> <871qle6p4x.fsf_-_@inria.fr> Date: Fri, 24 Mar 2023 17:31:51 -0600 Message-ID: <87v8ipwwt4.fsf@ngyro.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 43442 Cc: 43442@debbugs.gnu.org, zimoun X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hey, Ludovic Court=C3=A8s writes: > Hi Timothy, > > Timothy Sample skribis: > >> I was starting with doing a simple check for the =E2=80=9Ceasy=E2=80=9D = Subversion >> repositories. That is, no externals (=E2=80=98recursive?=E2=80=99) and = no >> =E2=80=98svn-multi-fetch=E2=80=99 [1]. I immediately hit a problem. Gu= ix hashes the >> export of the repository with the keywords processed, while SWH hashes >> it with unprocessed keywords. > > Ouch. I had forgotten keywords were also a thing in Subversion. :-/ > > Can we tell Subversion to not expand them? That could be the way > forward in Guix, though it won=E2=80=99t help for past revisions. Thinking entirely abstractly, the keywords should be expanded. I=E2=80=99m= not really long enough in the tooth (old enough) to know how people use keywords, but one might be tempted to do something like: printf ("This is foo version %s\n", "$Revision$"); If that ever happens, processing the keywords would be very important. Thinking practically, we=E2=80=99ve never encountered anything like that (s= ee below), and compatibility with SWH is nice. It=E2=80=99s not clear to me why SWH passes =E2=80=98--ignore-keywords=E2= =80=99 to Subversion in the first place. I guess it saves storage, because having identical files allows deduplication. > How frequent is the use of keywords though? Well, you found 11 in the current Guix, and I see 30 when I process everything I have (from version 1.0 to a few weeks ago). Furthermore, the only usage pattern I see is =E2=80=9C$Id=E2=80=9D in a comment. > So, how about applying the =E2=80=98--ignore-keywords=E2=80=99 change and= updating > hashes accordingly? It=E2=80=99s probably the right default given the circumstances. It seems like there=E2=80=99s a direct conflict between ease of packaging a= nd ease of time travel. In the hypothetical case that a keyword mattered, it would be a nasty surprise to the package author. They would have to (a) discover the problem and (b) manually do the keyword substitution in Scheme (or work around it). Similarly, for recursive checkouts (including Git), it would be easier to do time travel if we explicitly listed each source and how to compose them. However, that=E2=80=99s a pain for package authors and maintainers. Add to those two examples all the discussions about multihashing or keeping track of the SWHID and something of a theme emerges.... Having said that, it=E2=80=99s nice that the work we are doing is letting us think very clearly about this trade-off. >> [1] More precisely, I was going to process recursive =E2=80=98svn-fetch= =E2=80=99 >> origins because a lot of them are needlessly marked as recursive. In >> some (many?) cases, the repositories don=E2=80=99t actually have external >> references, so the flag does nothing. I was only going to skip the >> ones where it makes a difference. > > We should remove that recursive flag when it has no effect. Perhaps we > could proceed similarly? Huh. My scripts tell me that we haven=E2=80=99t needed it at all in the la= st three years. That=E2=80=99s a suspicious enough result that I wonder if th= ere=E2=80=99s a bug in my scripts. The results are looking good so far, but there are a few things I still need to look over. I ran your same experiment, passing all the packages through: (define (make-svn-package-non-recursive pkg) (package (inherit pkg) (source (origin (inherit (package-source pkg)) (uri (match (origin-uri (package-source pkg)) ((? svn-reference? ref) (svn-reference (inherit ref) (recursive? #f))) ((? svn-multi-reference? ref) (svn-multi-reference (inherit ref) (recursive? #f))))))))) All of them were fine. Maybe we just haven=E2=80=99t had a truly recursive Subversion source in recent memory. -- Tim From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 27 05:05:05 2023 Received: (at 43442) by debbugs.gnu.org; 27 Mar 2023 09:05:05 +0000 Received: from localhost ([127.0.0.1]:46509 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pgimn-0004DA-E7 for submit@debbugs.gnu.org; Mon, 27 Mar 2023 05:05:05 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:33564) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pgimk-0004CW-8N for 43442@debbugs.gnu.org; Mon, 27 Mar 2023 05:05:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:cc:subject:references:date:in-reply-to: message-id:mime-version:content-transfer-encoding; bh=iCA1NBcs6NguAOzae8qtcqcH7sw4pTMVvXUSMb1dctU=; b=EumQsUUI81QHua3D1sZO5bzrB9Aqg8HYlUBjza/ZGUrhIsu1ztprr/2l jQw8JTaKGg2m8jHlm4xwMg3i+OEUPqfgsnnCHeHJts3ceqhXg6o8mV0pi WBjaLcg2jjVVytc8X9Ry4i4z/pB3WngdFQDoM2o+KJaAfEpOAPE+RZ4p7 M=; Authentication-Results: mail2-relais-roc.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=ludovic.courtes@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="5.98,294,1673910000"; d="scan'208";a="99238308" Received: from unknown (HELO ribbon) ([193.50.110.81]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Mar 2023 11:04:56 +0200 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Timothy Sample Subject: Re: Subversion keyword substitution References: <20200916081411.5801-1-zimon.toutoune@gmail.com> <20200916081642.6716-1-zimon.toutoune@gmail.com> <87o8lyj090.fsf@gnu.org> <86zh5iol1n.fsf@gmail.com> <87h7rocvkt.fsf@gnu.org> <877dsi44lu.fsf@gnu.org> <87y2knhei3.fsf@gnu.org> <87jzzbms54.fsf_-_@gnu.org> <87jzz8xva8.fsf@ngyro.com> <871qle6p4x.fsf_-_@inria.fr> <87v8ipwwt4.fsf@ngyro.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Septidi 7 Germinal an 231 de la =?utf-8?Q?R=C3=A9vol?= =?utf-8?Q?ution=2C?= jour du Bouleau 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: Mon, 27 Mar 2023 11:04:55 +0200 In-Reply-To: <87v8ipwwt4.fsf@ngyro.com> (Timothy Sample's message of "Fri, 24 Mar 2023 17:31:51 -0600") Message-ID: <87v8imimyw.fsf@inria.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 43442 Cc: 43442@debbugs.gnu.org, zimoun X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Timothy Sample skribis: > Thinking entirely abstractly, the keywords should be expanded. I=E2=80= =99m not > really long enough in the tooth (old enough) to know how people use > keywords, but one might be tempted to do something like: > > printf ("This is foo version %s\n", "$Revision$"); > > If that ever happens, processing the keywords would be very important. =E2=80=9CVery=E2=80=9D might be an overstatement. :-) In practice, these were typically used in source file headers, so that if you exported or copied files around (outside version control), they=E2= =80=99d have a timestamp of sorts at the top. [...] > It=E2=80=99s not clear to me why SWH passes =E2=80=98--ignore-keywords=E2= =80=99 to Subversion in > the first place. I guess it saves storage, because having identical > files allows deduplication. I asked on #swh-devel and the fine folks there hinted at non-reproducibility. Looking at , one thing that=E2=80=99s definitely not reproducible is the =E2=80=9Clocal = time zone=E2=80=9D bit. From that perspective it makes a lot of sense to disable keyword substitution. >> How frequent is the use of keywords though? > > Well, you found 11 in the current Guix, and I see 30 when I process > everything I have (from version 1.0 to a few weeks ago). Furthermore, > the only usage pattern I see is =E2=80=9C$Id=E2=80=9D in a comment. Interesting. >> So, how about applying the =E2=80=98--ignore-keywords=E2=80=99 change an= d updating >> hashes accordingly? > > It=E2=80=99s probably the right default given the circumstances. OK. I=E2=80=99ll submit a patch to that effect, unless you beat me at it. = :-) > It seems like there=E2=80=99s a direct conflict between ease of packaging= and > ease of time travel. In the hypothetical case that a keyword mattered, > it would be a nasty surprise to the package author. They would have to > (a) discover the problem and (b) manually do the keyword substitution in > Scheme (or work around it). My intuition is that the worst =E2=80=9Cproblem=E2=80=9D we might have is = =E2=80=98--version=E2=80=99 showing unexpanded keywords. [...] >> We should remove that recursive flag when it has no effect. Perhaps we >> could proceed similarly? > > Huh. My scripts tell me that we haven=E2=80=99t needed it at all in the = last > three years. That=E2=80=99s a suspicious enough result that I wonder if = there=E2=80=99s > a bug in my scripts. The results are looking good so far, but there are > a few things I still need to look over. Looks like it might be easily addressed! Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 03 12:57:56 2023 Received: (at 43442) by debbugs.gnu.org; 3 Apr 2023 16:57:56 +0000 Received: from localhost ([127.0.0.1]:45126 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pjNVD-00018o-Mz for submit@debbugs.gnu.org; Mon, 03 Apr 2023 12:57:56 -0400 Received: from mail-wm1-f52.google.com ([209.85.128.52]:36485) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pjNVB-00018L-GH for 43442@debbugs.gnu.org; Mon, 03 Apr 2023 12:57:53 -0400 Received: by mail-wm1-f52.google.com with SMTP id j18-20020a05600c1c1200b003ee5157346cso20287371wms.1 for <43442@debbugs.gnu.org>; Mon, 03 Apr 2023 09:57:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680541067; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=/gI9DDFHB8tKPYNMCahM/Aqn1BSa35AQkh9PiOaDG7g=; b=NLZzBqDClm4a+QyzKKcc37vjoFvz+GHCNPX9LBSuvGky4DnBBEbmI7jnhgH1Wzas/v 9AlbYHtyxf7P7TtscGww1KtHVpj3pruY1z2Cr9zk23eztMrEq1olhb9q8qeB5I3bwIhl 9YoNlbZ40VItNHLRtpRZFD9gR7MkztKEojBGGHxHc+0TGCwhzQkD7fTikPaA+j+J1Z5F e15j81EnPiGLx6ZcrZwpeeQhCd6Y+Bq9DfbqX32CzKmOdntWtNqd5cYcOV788G9XpOAD B744+wOyLWmp9HfXTkfLunOVx0UdfOjJzJXE5c7gIai4Y93nIU2MJaZ7T6LMwlxexQWt VENA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680541067; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/gI9DDFHB8tKPYNMCahM/Aqn1BSa35AQkh9PiOaDG7g=; b=ZxzXBZPzXfvttZYDjL9ZKONqMhyHJNOYhMsXkrzu+8fz5fumQ/wVAQqy/oLr7m4qxp JMSVmcB2VlCMKbHl8NNtK+EKbjOiZUyQXgTAHhsuIJHlKwqec4uYbXGU/MeaBIEId1RN +Ix8SzkUYvbwtdDBzeMMqjXCP+PeonrBYzZeNXB0Q1fydRbrtIqnU8+0Bp0+UxEQrM84 xEh3vWl2dWgfo8y0lwPnwT9ueIsmUp6v2uQYhm3dgQpIk73RNpI5WkAXYLVBSncuG4sQ KqW1tsYaJ3eSA7WzFt6gJG5QWLBMDC6FRAYPxWk47DebosjXJrw9YBlWgJAE0srUxXAI F57Q== X-Gm-Message-State: AAQBX9flJSArDBxOSrukkyU7xDUy9CrmxCcUAmKx8hhopz1CWOZwihNF H2PvsPaAt0HuG8raEV5mF4VoogygKEc= X-Google-Smtp-Source: AKy350ZPBhDNkwp5fHSq8pf8ubkiIjpcqncURZZpjA/Bh9MtGmqBo11qTfaLZB3ndpfKHKzMLxvdFQ== X-Received: by 2002:a05:600c:3b99:b0:3ed:2a41:8529 with SMTP id n25-20020a05600c3b9900b003ed2a418529mr162652wms.2.1680541067455; Mon, 03 Apr 2023 09:57:47 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id l32-20020a05600c1d2000b003f0321c22basm18527306wms.12.2023.04.03.09.57.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Apr 2023 09:57:47 -0700 (PDT) From: Simon Tournier To: Ludovic =?utf-8?Q?Court=C3=A8s?= , Timothy Sample Subject: Re: [bug#43442] Subversion keyword substitution In-Reply-To: <87v8imimyw.fsf@inria.fr> References: <20200916081411.5801-1-zimon.toutoune@gmail.com> <20200916081642.6716-1-zimon.toutoune@gmail.com> <87o8lyj090.fsf@gnu.org> <86zh5iol1n.fsf@gmail.com> <87h7rocvkt.fsf@gnu.org> <877dsi44lu.fsf@gnu.org> <87y2knhei3.fsf@gnu.org> <87jzzbms54.fsf_-_@gnu.org> <87jzz8xva8.fsf@ngyro.com> <871qle6p4x.fsf_-_@inria.fr> <87v8ipwwt4.fsf@ngyro.com> <87v8imimyw.fsf@inria.fr> Date: Mon, 03 Apr 2023 14:05:14 +0200 Message-ID: <875yadgohx.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.1 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi, On lun., 27 mars 2023 at 11:04, Ludovic Courtès wrote: >> It seems like there’s a direct conflict between ease of packaging and >> ease of time travel. In the hypothetical case that a keyword mattered, >> it would be a nasty surprise to the package auth [...] Content analysis details: (1.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (zimon.toutoune[at]gmail.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 1.1 DATE_IN_PAST_03_06 Date: is 3 to 6 hours before Received: date -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.128.52 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.128.52 listed in list.dnswl.org] X-Debbugs-Envelope-To: 43442 Cc: 43442@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.1 (/) Hi, On lun., 27 mars 2023 at 11:04, Ludovic Court=C3=A8s wrote: >> It seems like there=E2=80=99s a direct conflict between ease of packagin= g and >> ease of time travel. In the hypothetical case that a keyword mattered, >> it would be a nasty surprise to the package author. They would have to >> (a) discover the problem and (b) manually do the keyword substitution in >> Scheme (or work around it). That=E2=80=99s an application of the non-free lunch theorem, no? :-) > My intuition is that the worst =E2=80=9Cproblem=E2=80=9D we might have is= =E2=80=98--version=E2=80=99 > showing unexpanded keywords. Somehow, I would prefer to pay the surprise by package author using Subversion rather than not being fully reproducible over the time. Cheers, simon From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 03 12:57:59 2023 Received: (at 43442) by debbugs.gnu.org; 3 Apr 2023 16:57:59 +0000 Received: from localhost ([127.0.0.1]:45132 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pjNVG-00019B-JL for submit@debbugs.gnu.org; Mon, 03 Apr 2023 12:57:59 -0400 Received: from mail-wr1-f49.google.com ([209.85.221.49]:47086) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pjNVC-00018N-43 for 43442@debbugs.gnu.org; Mon, 03 Apr 2023 12:57:55 -0400 Received: by mail-wr1-f49.google.com with SMTP id r29so30038655wra.13 for <43442@debbugs.gnu.org>; Mon, 03 Apr 2023 09:57:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680541068; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=KPajlva+nHlcWxrrFEqtOLAPPhe5fSODDOW/fHh/2Pw=; b=lwJcNnaQ1BjBzyqVosCFChH5ejWj505anyBHuFxYmsoAyCWI3WG8FloXma6z92rZCL R2kq95Enk43nob/JljYsBUXSk40FHagtFiq9aFOOUOgIKp00kWF4JSOmmME2cJgmkaP0 waZPA73lToUAK7PHrahRrgRr/LTYdRFF2W3GzZpgoSWl1ssoaRK/mkYxJ+DK8hI9pGwZ VRgTnZHkPcjI1zC2oSWSWBUcQZUP0qpPeGub67XmE8uVpdeASsWcwoepWJLyavGlXMLq YfcNGp78kXGRlnPT63O1ZZ7ni7e4b6+MTO2C4WMBFx2dLf2HOylLq+ACuF9q6q07k90A a6Og== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680541068; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KPajlva+nHlcWxrrFEqtOLAPPhe5fSODDOW/fHh/2Pw=; b=doLOpjxV9cw1KoHkBl+FQNmW2U/SxM0kUFGIM1YIxIvGkNAtvU9WiXe2O5T8grMNv8 pAMP62MBRn34HnRnYDgnV5oBgcBAIgfCQgSEKBShm/QZujWk+MKaGnTry30P6Fw0hv3x 5y2M17t+5jJIOn2Y+wCVDyL8yhaTV+HEsE0Oxr/AXAEOb5ZR7Hkr/T9hKy9svExqxekP 04jaCVZdt3IwFNR1yiMXCmXCl0wRGvcFMU7xALhw4CHWLV3EglCaaoLCYa0Ga8PFyWj9 07l4x2K9JxQaWQ/p9JZPPIF1kjC/MQYlughwez/iTQyv75hqtFllcZ0DaJ25pq4ccduV Jq/A== X-Gm-Message-State: AAQBX9fNpf9p9c6cuzPMlHSfiGg5tBYPtAxC9MzMNJdL/4Fi7OIdThJJ Bs3ooUMALEGvkgzDuyE63ncM086BM5I= X-Google-Smtp-Source: AKy350bsBTwr1Snf3du8E3vsJr4x4HMWHzUl1GOqm7Vq7EIYxNMxhT/vP7IhjgPj42jjUP8GGvp0+A== X-Received: by 2002:adf:e6cd:0:b0:2c7:940c:26f8 with SMTP id y13-20020adfe6cd000000b002c7940c26f8mr8988801wrm.5.1680541068078; Mon, 03 Apr 2023 09:57:48 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id f7-20020adff8c7000000b002c5a1bd5280sm10084626wrq.95.2023.04.03.09.57.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Apr 2023 09:57:47 -0700 (PDT) From: Simon Tournier To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: [bug#43442] [PATCH] Fixes init of #42162: gforge.inria.fr down Dec. 2020 In-Reply-To: <87jzzbms54.fsf_-_@gnu.org> References: <20200916081411.5801-1-zimon.toutoune@gmail.com> <20200916081642.6716-1-zimon.toutoune@gmail.com> <87o8lyj090.fsf@gnu.org> <86zh5iol1n.fsf@gmail.com> <87h7rocvkt.fsf@gnu.org> <877dsi44lu.fsf@gnu.org> <87y2knhei3.fsf@gnu.org> <87jzzbms54.fsf_-_@gnu.org> Date: Mon, 03 Apr 2023 15:34:59 +0200 Message-ID: <871ql1gkcc.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.1 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi, On lun., 20 mars 2023 at 15:09, Ludovic Courtès wrote: > As a stopgap, I wonder if we could use “double hashing” on our side, but > only for svn: we’d store both the nar sha256 as we currently do, plus > the swhid. It still seems to me that it’d b [...] Content analysis details: (1.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (zimon.toutoune[at]gmail.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 1.1 DATE_IN_PAST_03_06 Date: is 3 to 6 hours before Received: date -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.221.49 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.221.49 listed in list.dnswl.org] X-Debbugs-Envelope-To: 43442 Cc: 43442@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.1 (/) Hi, On lun., 20 mars 2023 at 15:09, Ludovic Court=C3=A8s wrote: > As a stopgap, I wonder if we could use =E2=80=9Cdouble hashing=E2=80=9D o= n our side, but > only for svn: we=E2=80=99d store both the nar sha256 as we currently do, = plus > the swhid. It still seems to me that it=E2=80=99d be hard to scale and to > maintain that over time, even if it=E2=80=99s limited to svn. Plus, ther= e=E2=80=99d > still be the problem of =E2=80=98svn-multi-fetch=E2=80=99, which is what = most TeX=C2=A0Live > packages use. As proposed, somehow, in [1], I think we have nothing to loose with optionally =E2=80=9Cdouble hashing=E2=80=9D (or even triple or more). I do= not understand your concerns in [1] and I will discuss overthere. :-) About =E2=80=99svn-multi-fetch=E2=80=99 and TeX, what is at our advantage i= s that most TeX Live packages use =E2=80=99svn-multi-fetch=E2=80=99 via =E2=80=99simple= -texlive-package=E2=80=99 relying on =E2=80=99texlive-origin=E2=80=99. And from official TeX documen= tation [2], Subversion is not the recommended access, instead they suggest to rely on =E2=80=99rsync=E2=80=99. Moreover, some Git mirror is available. Therefore, about TeX we could ask if relying on Subversion is still the =E2=80=9Cgood=E2=80=9D way and maybe we could switch to something else as u= rl-fetch or git-fetch. Hum?! Not convinced by my proposal here. :-) Well, IMHO, there is 2 issues: one about using SWH as fallback for packages using svn-fetch and another one about TeX Live packages. It could be nice to solve them both at once but maybe we should start now one foot, now the other. 1: https://yhetil.org/guix/87jzzxd7z8.fsf@gmail.com 2: https://tug.org/texlive/svn/ Cheers, simon From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 04 13:16:55 2023 Received: (at 43442) by debbugs.gnu.org; 4 Apr 2023 17:16:55 +0000 Received: from localhost ([127.0.0.1]:50063 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pjkH9-0007bg-4e for submit@debbugs.gnu.org; Tue, 04 Apr 2023 13:16:55 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:56227) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pjkH6-0007bO-8p for 43442@debbugs.gnu.org; Tue, 04 Apr 2023 13:16:53 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 7C7215C0048; Tue, 4 Apr 2023 13:16:46 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Tue, 04 Apr 2023 13:16:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1680628606; x=1680715006; bh=dNzICEQ3slAztOw1VULCSq+UDPQ9cUKy7lF CqmIGMkM=; b=e6GbhsHN8pQtK/PdY/lu2WDxNnRQBzrQ+BkphmqIEXKU5utdYzq +sneW8AY6mvwWMO4SuHAC59W4f6kzJJvJ+XbUtHumIVK3fBXPnU3kSoATBm3GbN+ 1FejdDK6lnDqQsaW0gh5naRg6hGV/mVgkN0he1R4gPdUkzsr9NikCnfODDcluOIT h+IfkXMrtSjwzJfL10LOWMThOnqdkQdLaCDFp1OBcocrEQiy1Bi1bHzGCHnKG1DG Q3k6gIe8R4ckkdHsSuswlw+/8exyP1x/TxuSpUfmDQ/l+mcglyL2UR97zz8ZTKez oARQCaQ3FRAPPkXEbR0NyFE7KHW2qAFnA7A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdeiledgudduudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvfevufhfffgjkfgfgggtgfesthhqredttderjeenucfhrhhomhepvfhi mhhothhhhicuufgrmhhplhgvuceoshgrmhhplhgvthesnhhghihrohdrtghomheqnecugg ftrfgrthhtvghrnheptdekvefgkeevgeffhedtgfevtedvudekfeffhedvveetgedtvedu iefgfedttedvnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepshgrmhhplhgvthesnhhghihrohdrtghomh X-ME-Proxy: Feedback-ID: i4721425c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 4 Apr 2023 13:16:45 -0400 (EDT) From: Timothy Sample To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: Subversion keyword substitution References: <20200916081411.5801-1-zimon.toutoune@gmail.com> <20200916081642.6716-1-zimon.toutoune@gmail.com> <87o8lyj090.fsf@gnu.org> <86zh5iol1n.fsf@gmail.com> <87h7rocvkt.fsf@gnu.org> <877dsi44lu.fsf@gnu.org> <87y2knhei3.fsf@gnu.org> <87jzzbms54.fsf_-_@gnu.org> <87jzz8xva8.fsf@ngyro.com> <871qle6p4x.fsf_-_@inria.fr> <87v8ipwwt4.fsf@ngyro.com> <87v8imimyw.fsf@inria.fr> Date: Tue, 04 Apr 2023 11:16:43 -0600 In-Reply-To: <87v8imimyw.fsf@inria.fr> ("Ludovic =?utf-8?Q?Court=C3=A8s=22?= =?utf-8?Q?'s?= message of "Mon, 27 Mar 2023 11:04:55 +0200") Message-ID: <87v8iby3d0.fsf@ngyro.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 43442 Cc: 43442@debbugs.gnu.org, zimoun X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hi! Ludovic Court=C3=A8s writes: > OK. I=E2=80=99ll submit a patch to that effect, unless you beat me at it= . :-) I=E2=80=99m on it! It might take me another day or two to actually submit = the patch. The keyword expansion change affects =E2=80=98texlive-bin=E2=80=99,= which means a lot of rebuilds, so I guess we will need to coordinate a feature branch or whatever (my understanding is that core-updates is essentially frozen and deprecated at this point). > Timothy Sample skribis: > >> Thinking entirely abstractly, the keywords should be expanded. I=E2=80= =99m not >> really long enough in the tooth (old enough) to know how people use >> keywords, but one might be tempted to do something like: >> >> printf ("This is foo version %s\n", "$Revision$"); >> >> If that ever happens, processing the keywords would be very important. > > =E2=80=9CVery=E2=80=9D might be an overstatement. :-) > > In practice, these were typically used in source file headers, so that > if you exported or copied files around (outside version control), they=E2= =80=99d > have a timestamp of sorts at the top. I ended up finding 17 origins that make use of keyword expansion. Two of them indeed do so outside of comments. (1) The =E2=80=9Ctexlive-scripts= =E2=80=9D source has some Perl scripts that do the Perl equivalent of my example above. (2) There=E2=80=99s some Java code (=E2=80=9Cgeronimo=E2=80=9D) tha= t uses keywords in Javadoc comments, which might show up in generated documentation. So no, definitely not =E2=80=9Cvery=E2=80=9D important! :) >> Huh. My scripts tell me that we haven=E2=80=99t needed it at all in the= last >> three years. That=E2=80=99s a suspicious enough result that I wonder if= there=E2=80=99s >> a bug in my scripts. The results are looking good so far, but there are >> a few things I still need to look over. > > Looks like it might be easily addressed! I=E2=80=99ll switch the =E2=80=98recursive?=E2=80=99 field to =E2=80=98#f= =E2=80=99 by default as part of the series I send in. -- Tim From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 07 12:45:16 2023 Received: (at 43442) by debbugs.gnu.org; 7 Apr 2023 16:45:17 +0000 Received: from localhost ([127.0.0.1]:57148 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pkpDA-0000ch-MK for submit@debbugs.gnu.org; Fri, 07 Apr 2023 12:45:16 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:46661) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pkpD7-0000cP-B3 for 43442@debbugs.gnu.org; Fri, 07 Apr 2023 12:45:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:cc:subject:references:date:in-reply-to: message-id:mime-version:content-transfer-encoding; bh=a37QYAlmaVQ6svXMSyHR1l8Bs/wEsAIzCLLiCcalEWQ=; b=sgzvhX2ThIN0gNXpEOHRGKfU8PwBtqKdnBtj2uZmVR8SHh2/GkeLBYax B8mP5AH6ej/2+7cAwMTTCQopzWR0ChO3Hxuh/ebe5YWfnSmNHR4cxGgdT mGTvUwF0Zfx9rQJu6cg1flCR7/tNHnBLdA2lxxP46V7q6tgDAhMyh5PUn 8=; Authentication-Results: mail3-relais-sop.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=ludovic.courtes@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="5.98,327,1673910000"; d="scan'208";a="52534663" 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/ECDHE-RSA-AES256-GCM-SHA384; 07 Apr 2023 18:45:07 +0200 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Timothy Sample Subject: Re: Subversion keyword substitution References: <20200916081411.5801-1-zimon.toutoune@gmail.com> <20200916081642.6716-1-zimon.toutoune@gmail.com> <87o8lyj090.fsf@gnu.org> <86zh5iol1n.fsf@gmail.com> <87h7rocvkt.fsf@gnu.org> <877dsi44lu.fsf@gnu.org> <87y2knhei3.fsf@gnu.org> <87jzzbms54.fsf_-_@gnu.org> <87jzz8xva8.fsf@ngyro.com> <871qle6p4x.fsf_-_@inria.fr> <87v8ipwwt4.fsf@ngyro.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Octidi 18 Germinal an 231 de la =?utf-8?Q?R=C3=A9vol?= =?utf-8?Q?ution=2C?= jour de la =?utf-8?Q?Cigu=C3=AB?= 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: Fri, 07 Apr 2023 18:45:06 +0200 In-Reply-To: <87v8ipwwt4.fsf@ngyro.com> (Timothy Sample's message of "Fri, 24 Mar 2023 17:31:51 -0600") Message-ID: <87sfdbbq0d.fsf@inria.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 43442 Cc: 43442@debbugs.gnu.org, zimoun X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi! Timothy Sample skribis: >> So, how about applying the =E2=80=98--ignore-keywords=E2=80=99 change an= d updating >> hashes accordingly? > > It=E2=80=99s probably the right default given the circumstances. Patch submitted: . Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 09 17:35:10 2024 Received: (at 43442-done) by debbugs.gnu.org; 9 Mar 2024 22:35:10 +0000 Received: from localhost ([127.0.0.1]:34957 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rj5HZ-0004BN-7q for submit@debbugs.gnu.org; Sat, 09 Mar 2024 17:35:10 -0500 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:26085) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rj5HU-0004Ah-8N for 43442-done@debbugs.gnu.org; Sat, 09 Mar 2024 17:35:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:cc:subject:in-reply-to:references:date: message-id:mime-version:content-transfer-encoding; bh=vqDLpp08B7rCxG67/YqhOTnAiPSbs51KYnUfqtBkP+0=; b=FJ1uVSRql3+Kp4dHil31gD2/gOFX0N8wpZMh3g84X46e4N+nBk0G0XIn Zq+2we6DwCL0iAwaxTwcLKb27qY18VAyR6KPkt2bh232qbQ8XVKUZ3Iwy p+RvoyAvyvqKRzSa88Bp3Y2NGa7lUMoi6aCKaC5UBWl+q9OhIHpFzIUh3 A=; Authentication-Results: mail2-relais-roc.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=ludovic.courtes@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="6.07,113,1708383600"; d="scan'208";a="155840185" Received: from 91-160-117-201.subs.proxad.net (HELO ribbon) ([91.160.117.201]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Mar 2024 23:34:24 +0100 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: zimoun Subject: Re: bug#43442: Code stored with Subversion (SVN) cannot be retrieved from SWH In-Reply-To: <87jzzbms54.fsf_-_@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s?= =?utf-8?Q?=22's?= message of "Mon, 20 Mar 2023 15:09:11 +0100") References: <20200916081411.5801-1-zimon.toutoune@gmail.com> <20200916081642.6716-1-zimon.toutoune@gmail.com> <87o8lyj090.fsf@gnu.org> <86zh5iol1n.fsf@gmail.com> <87h7rocvkt.fsf@gnu.org> <877dsi44lu.fsf@gnu.org> <87y2knhei3.fsf@gnu.org> <87jzzbms54.fsf_-_@gnu.org> Date: Sat, 09 Mar 2024 23:34:24 +0100 Message-ID: <87ttlfyqz3.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 43442-done Cc: 43442-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Ludovic Court=C3=A8s skribis: > The attached patch does that: > > scheme@(guile-user)> (lookup-subversion-revision "https://scm.gforge.inri= a.fr/anonscm/svn/mpfi" 680) > $12 =3D #< id: "72102de7605a2459ebcb016338ebbf1a997e8c8d" date:= # directory: "5c89c025a4cd9d16befdfec12dfc23f7318d0= d5b" directory-url: "https://archive.softwareheritage.org/api/1/directory/5= c89c025a4cd9d16befdfec12dfc23f7318d0d5b/" parents-ids: ("16da41f1848d77a93a= ec565320b72b460c429b61") extra-headers: (("svn_repo_uuid" . "e2f78e0c-bb60-= 4709-9413-9660a31d4696") ("svn_revision" . "680"))> > scheme@(guile-user)> (lookup-subversion-revision "https://scm.gforge.inri= a.fr/anonscm/svn/mpfi" 666) > $13 =3D #< id: "148eb1e7206b111af4075c73c656e54c9efed6cb" date:= # directory: "ed7b0bd7019fb85cd86d948a97c23b9d43aa87= 28" directory-url: "https://archive.softwareheritage.org/api/1/directory/ed= 7b0bd7019fb85cd86d948a97c23b9d43aa8728/" parents-ids: ("0ba2aa7e0d3fc0a1eb3= ba72b32094515415ae47a") extra-headers: (("svn_repo_uuid" . "e2f78e0c-bb60-4= 709-9413-9660a31d4696") ("svn_revision" . "666"))> > > The implementation is pretty bad though, because it walks the revision > history until it finds the right revision number=E2=80=94so you=E2=80=99r= e likely to > reach the bandwidth rate limit before you=E2=80=99ve found the revision y= ou=E2=80=99re > looking for. > > More importantly, most svn origins cannot be found, or at least not > by passing the URL as-is: > > https://sympa.inria.fr/sympa/arc/swh-devel/2023-03/msg00009.html > > This whole hack looks like a dead end. > > It would be ideal if SWH would compute nar hashes, as you proposed: > > https://gitlab.softwareheritage.org/swh/meta/-/issues/4538 Happy to report that this is solved with nar-sha256 ExtIDs at SWH, which commit 0e73f933b291c7e154c7e019b6de1e2f3a97e4c1 uses to implement the SWH fallback for Subversion checkouts. Wo0t! Ludo=E2=80=99. From unknown Tue Jun 17 20:18:24 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 07 Apr 2024 11:24:25 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator