From unknown Tue Sep 23 07:29:04 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#41690] [PATCH 0/1] Add svn-multi, hg, url/{tarbomb, zipbomb} to {sources, packages}.json Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 03 Jun 2020 14:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 41690 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 41690@debbugs.gnu.org Cc: ludo@gnu.org, zimoun X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159119631332081 (code B ref -1); Wed, 03 Jun 2020 14:59:02 +0000 Received: (at submit) by debbugs.gnu.org; 3 Jun 2020 14:58:33 +0000 Received: from localhost ([127.0.0.1]:44363 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jgUqe-0008LI-Q9 for submit@debbugs.gnu.org; Wed, 03 Jun 2020 10:58:33 -0400 Received: from lists.gnu.org ([209.51.188.17]:37064) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jgUqW-0008L3-O6 for submit@debbugs.gnu.org; Wed, 03 Jun 2020 10:58:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36486) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jgUqV-0001al-Mz for guix-patches@gnu.org; Wed, 03 Jun 2020 10:58:24 -0400 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]:56319) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jgUqU-0001FY-W2; Wed, 03 Jun 2020 10:58:23 -0400 Received: by mail-wm1-x32f.google.com with SMTP id c71so2234190wmd.5; Wed, 03 Jun 2020 07:58: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=gqLQwsxO5AOe+HIqMKLJkRV/8vHaIJKmY6axmYF+g2k=; b=AJzNSSYTRqVO7Uz1ZBR4P540eScvishRBZOJy2+RLtA5j7Xsk9QLeFLoaoL6kULWhZ D70rwWdOZsCZddBA9CISdUETz52DrfPcPXKz/bIKnJWlB3lTlCwCj8fyhkChxbHS1U1H fAq26hgizV3MweZRo+PwtsR3hfeBSCImtdQFrDoRbV3AuV705BeYcGl0TrkefBzbJJQb wuAYq7KcFyf14M8BOW786dnIJE1ZO/I8DF7VAbKGr6t6FgvjUZTpxDatxXIjqekO4GrM dpu4tPaUnlVKWfWDRy4QkKTQK8sQEBEVgxS//THnEHh7YJ1JfO+RuG1pIysVDjCXXg7s 3Ytw== 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=gqLQwsxO5AOe+HIqMKLJkRV/8vHaIJKmY6axmYF+g2k=; b=BEcam3rG1gIV+LXInstN2cIgFjurv3zn3vCkeAWQXMoqJ55AH3FyGVcEziZCPybQIO 4nT5LCklenu8m3otV3othcKuCgHEWF2w5k6rBn/1jsCl4NkjtQ0vYaA/CNMgHhAoYy89 6W0OLUGCJSz1u+qfT7vnNMr5JVxTHtX1SqaBoedHaqWVAqOLtGdPRGVYufVNNaZzF5wA Nbm4TgSjFl77iSW6vIcgzD86SdBEW4vkRKGWCzJuSTR03XB6VfQRntaKOJiKKTN6R582 bNzVNa2vP16ydSWwqDQfG0irUsRDUCxyytz8Pnolu8XsQ0/W8W6n9+/8oahBtJUHyYgN uMxg== X-Gm-Message-State: AOAM532lh6L1GMXp5uRhEF4oEoobS5mDOoott9sRzZHYwbxvRL8s62JH uxPKUUZaF4WOr1JIw/G7oyLegE7N X-Google-Smtp-Source: ABdhPJy+aMj+78aamkgeiM1GQvHyX3iKCVyWjVkYaHJOL25n9poy6RcXmKY9MLedphQQT77IN4sNtw== X-Received: by 2002:a1c:7414:: with SMTP id p20mr8956177wmc.124.1591196300505; Wed, 03 Jun 2020 07:58:20 -0700 (PDT) Received: from localhost.localdomain (57.246.195.77.rev.sfr.net. [77.195.246.57]) by smtp.gmail.com with ESMTPSA id q128sm3202526wma.38.2020.06.03.07.58.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jun 2020 07:58:19 -0700 (PDT) From: zimoun Date: Wed, 3 Jun 2020 16:58:10 +0200 Message-Id: <20200603145810.13199-1-zimon.toutoune@gmail.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::32f; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x32f.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: 3 X-Spam_score: 0.3 X-Spam_bar: / X-Spam_report: (0.3 / 5.0 requ) BAYES_00=-1.9, DEAR_NOBODY=2.442, 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_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: 0.7 (/) 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, This patch applies against commit 4efa5ce of guix-artwork. It adds missing sources; in preparation to SWH fetcher. Let me know if it is preferable to split it in 3 parts: svn-multi, hg and url bombs. The source of packages is summarized by, --8<---------------cut here---------------start------------->8--- guix build -f /tmp/origin/lister.scm \ | grep '#8--- These sources are still unarchivable by SWH: 1 bzr-fetch 3 cvs-fetch 30 computed-origin-method 67 no-origin Well, the 4 "historical" packages are --8<---------------cut here---------------start------------->8--- guix build -f /tmp/origin/lister.scm \ | grep ';;' | grep -E '(cvs|bzr)' ;; "bzr-fetch" # "libmemcached" ;; "cvs-fetch" # "emacs-w3m" ;; "cvs-fetch" # "gnu-standards" ;; "cvs-fetch" # "tidy" --8<---------------cut here---------------end--------------->8--- and "guix refresh -l" says --8<---------------cut here---------------start------------->8--- libmemcached Building the following 2 packages would ensure 2 dependent packages are rebuilt: python-pylibmc@1.6.1 python2-pylibmc@1.6.1 emacs-w3m No dependents other than itself: emacs-w3m@2018-11-11 gnu-standards No dependents other than itself: gnu-standards@2018-02-18 tidy Building the following 5 packages would ensure 9 dependent packages are rebuilt: hoedown@3.0.7 hugin@2019.2.0 emacs-telega@0.6.0-0.ae09592 arcanist@0.0.0-1.45a8d22 pumpa@0.9.3 --8<---------------cut here---------------end--------------->8--- What do we do for these 4 packages? Especially libmemcached and tidy? Last, what about the 30 'computed-origin-method' packages? All the best, simon --8<---------------cut here---------------start------------->8--- (define-module (lister) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix git-download) #:use-module (guix svn-download) #:use-module (guix hg-download) #:use-module (guix cvs-download) #:use-module (guix bzr-download) #:use-module (gnu packages)) (fold-packages (lambda (package result) (let ((method (if (origin? (package-source package)) (let* ((method (origin-method (package-source package))) (pkg (package-name package)) (print (lambda (p m) (format #t ";; ~s \t# ~s\n" m p)))) (cond ((eq? method bzr-fetch) (print pkg "bzr-fetch")) ((eq? method cvs-fetch) (print pkg "cvs-fetch")) ((eq? method svn-multi-fetch) (print pkg "svn-multi-fetch")) ((eq? method hg-fetch) (print pkg "hg-fetch"))) method) (begin (format #t ";; no-origin \t# ~s\n" (package-name package)) "#")))) (format #t "~s\n" method))) #f) (format #t "\n\n") (specification->package "hello") --8<---------------cut here---------------end--------------->8--- zimoun (1): website: Add fetch methods to JSON sources and packages list. website/apps/packages/builder.scm | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) -- 2.26.2 From unknown Tue Sep 23 07:29:04 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#41690] [PATCH 1/1] website: Add fetch methods to JSON sources and packages list. References: <20200603145810.13199-1-zimon.toutoune@gmail.com> In-Reply-To: <20200603145810.13199-1-zimon.toutoune@gmail.com> Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 03 Jun 2020 15:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41690 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 41690@debbugs.gnu.org Cc: zimoun Received: via spool by 41690-submit@debbugs.gnu.org id=B41690.159119642232374 (code B ref 41690); Wed, 03 Jun 2020 15:01:02 +0000 Received: (at 41690) by debbugs.gnu.org; 3 Jun 2020 15:00:22 +0000 Received: from localhost ([127.0.0.1]:44369 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jgUsQ-0008Q5-9T for submit@debbugs.gnu.org; Wed, 03 Jun 2020 11:00:22 -0400 Received: from mail-wm1-f51.google.com ([209.85.128.51]:54299) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jgUsO-0008Pq-DM for 41690@debbugs.gnu.org; Wed, 03 Jun 2020 11:00:21 -0400 Received: by mail-wm1-f51.google.com with SMTP id g10so2243384wmh.4 for <41690@debbugs.gnu.org>; Wed, 03 Jun 2020 08:00:20 -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=c1tVQdJRkr3GFw9bXZLwp+NEbTF1oE0lMxDHOeeInZU=; b=vRmK3IbZseVL5yXp6FxLOXxOaHsWTmksobzSuJoHFqMg4HRoNeuI8Y0RQKUpHulitN 7QpQznbKPn1UiC2tpWjINa/C7RC/jby9fjfEZY9fNk+m4lKY8NvKX//0/FifCuZ30Jtz 3kITrXBfke/bJoAPE8CFFLzyLU3yM6c76g312R2eX7Y4yWuOWMjXG6RQLNz8/QXP0I1T b0fuZCcl+43lLOGcPWSKfQ6GMPE88j3EnWA7ZVPnM8cK18sZ8hQVLtaSRzSLBV3E7nYB gyKi2jLXMEAEG438dPrzMUW0GBLMpCDEzfRNy8+qCEPdvK+C+okZDZNtdd7PoX5qIk0Z rN0w== 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=c1tVQdJRkr3GFw9bXZLwp+NEbTF1oE0lMxDHOeeInZU=; b=cNj0ed7+x7WSmTzv0Jh/GTMaQjtQG8Ez/KS/liZTgKNIPCD6WT7McLk+2/IPcWylnG nUwZdDK2Gfkg/MJllfQDiHc2pd/BySHINVXJwgzHsgILEaxqz+tyB5trG45x9eYjcyfH mL3+QYofqeYhREmJUNAe5NLCAo+as6pj1xE76gdgyjk49ZE33xI+291HPePH4ihWcqht 02O1tqHVa1tUlyg3ljAs6Ck78Zl3/I35vYU2Y9i2dz2AC9N1iHB77/f/JZvhL6Vky41A FBDBbtiu2H1gHJiDJl2CiYqEDcqYoWmDuGdHnGa9wkeCEosRhiHNTNKVwgpbRYlLkn5+ ZsXw== X-Gm-Message-State: AOAM533/O3rcvyUBZGioUwuLDcA7NYHtf2e02l3R8nIAGju63jAO69Fi hMYDC5L76nqc9Ku7XQ2cbUJwTUwj X-Google-Smtp-Source: ABdhPJycUmdBv7GNgXNXKy6QzC/JBPrvO2JJduazwJsBg2Q0jg8zGTlmo8lQPet3jGjbSsW6+7PWzw== X-Received: by 2002:a1c:32c5:: with SMTP id y188mr10028237wmy.16.1591196414355; Wed, 03 Jun 2020 08:00:14 -0700 (PDT) Received: from localhost.localdomain (57.246.195.77.rev.sfr.net. [77.195.246.57]) by smtp.gmail.com with ESMTPSA id e5sm3792311wrw.19.2020.06.03.08.00.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jun 2020 08:00:13 -0700 (PDT) From: zimoun Date: Wed, 3 Jun 2020 17:00:10 +0200 Message-Id: <20200603150010.13979-1-zimon.toutoune@gmail.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) 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 (-) * website/apps/packages/builder.scm (origin->json): Add 'url-fetch/tarbomb', 'url-fetc/zipbomb', 'svn-multi-fetch' and 'hg-fetch' methods. --- website/apps/packages/builder.scm | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/website/apps/packages/builder.scm b/website/apps/packages/builder.scm index 85494a6..d2bccd7 100644 --- a/website/apps/packages/builder.scm +++ b/website/apps/packages/builder.scm @@ -43,6 +43,7 @@ #:use-module (guix download) #:use-module (guix git-download) #:use-module (guix svn-download) + #:use-module (guix hg-download) #:use-module (guix utils) ;location #:use-module ((guix build download) #:select (maybe-expand-mirrors)) #:use-module (json) @@ -102,11 +103,17 @@ (append-map (cut maybe-expand-mirrors <> %mirrors) (map string->uri urls)))) - `((type . ,(cond ((eq? url-fetch method) 'url) + `((type . ,(cond ((or (eq? url-fetch method) + (eq? url-fetch/tarbomb method) + (eq? url-fetch/zipbomb method)) 'url) ((eq? git-fetch method) 'git) - ((eq? svn-fetch method) 'svn) + ((or (eq? svn-fetch method) + (eq? svn-multi-fetch method)) 'svn) + ((eq? hg-fetch method) 'hg) (else #nil))) - ,@(cond ((eq? url-fetch method) + ,@(cond ((or (eq? url-fetch method) + (eq? url-fetch/tarbomb method) + (eq? url-fetch/zipbomb method)) `(("url" . ,(list->vector (resolve (match uri @@ -116,13 +123,22 @@ `(("git_url" . ,(git-reference-url uri)))) ((eq? svn-fetch method) `(("svn_url" . ,(svn-reference-url uri)))) + ((eq? svn-multi-fetch method) + `(("svn_url" . ,(svn-multi-reference-url uri)))) + ((eq? hg-fetch method) + `(("hg_url" . ,(hg-reference-url uri)))) (else '())) ,@(if (eq? method git-fetch) `(("git_ref" . ,(git-reference-commit uri))) '()) ,@(if (eq? method svn-fetch) - `(("svn_revision" . ,(svn-reference-revision - uri))) + `(("svn_revision" . ,(svn-reference-revision uri))) + '()) + ,@(if (eq? method svn-multi-fetch) + `(("svn_revision" . ,(svn-multi-reference-revision uri))) + '()) + ,@(if (eq? method hg-fetch) + `(("hg_changeset" . ,(hg-reference-changeset uri))) '()))) (define (packages-json-builder) -- 2.26.2 From unknown Tue Sep 23 07:29:04 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: zimoun Subject: bug#41690: closed (Re: [bug#41690] [PATCH 0/1] Add svn-multi, hg, url/{tarbomb, zipbomb} to {sources, packages}.json) Message-ID: References: <87zh9gwkpy.fsf@gnu.org> <20200603145810.13199-1-zimon.toutoune@gmail.com> X-Gnu-PR-Message: they-closed 41690 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 41690@debbugs.gnu.org Date: Sat, 06 Jun 2020 10:30:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1591439402-12887-1" This is a multi-part message in MIME format... ------------=_1591439402-12887-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #41690: [PATCH 0/1] Add svn-multi, hg, url/{tarbomb, zipbomb} to {sources, = packages}.json which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 41690@debbugs.gnu.org. --=20 41690: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D41690 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1591439402-12887-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 41690-done) by debbugs.gnu.org; 6 Jun 2020 10:29:58 +0000 Received: from localhost ([127.0.0.1]:50799 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhW5O-0003LI-FA for submit@debbugs.gnu.org; Sat, 06 Jun 2020 06:29:58 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40966) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhW5N-0003L6-Bt for 41690-done@debbugs.gnu.org; Sat, 06 Jun 2020 06:29:57 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58824) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jhW5I-0005KS-40; Sat, 06 Jun 2020 06:29:52 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=51486 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jhW5G-0004SK-LW; Sat, 06 Jun 2020 06:29:51 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: zimoun Subject: Re: [bug#41690] [PATCH 0/1] Add svn-multi, hg, url/{tarbomb, zipbomb} to {sources, packages}.json References: <20200603145810.13199-1-zimon.toutoune@gmail.com> Date: Sat, 06 Jun 2020 12:29:45 +0200 In-Reply-To: <20200603145810.13199-1-zimon.toutoune@gmail.com> (zimoun's message of "Wed, 3 Jun 2020 16:58:10 +0200") Message-ID: <87zh9gwkpy.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (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: 41690-done Cc: 41690-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 (---) Hi, zimoun skribis: > The source of packages is summarized by, > > guix build -f /tmp/origin/lister.scm \ > | grep '# 1 bzr-fetch > 3 cvs-fetch > 9 url-fetch/tarbomb > 24 url-fetch/zipbomb > 28 hg-fetch > 30 computed-origin-method > 67 no-origin > 115 svn-fetch > 135 svn-multi-fetch > 3574 git-fetch > 9690 url-fetch Interesting. > * website/apps/packages/builder.scm (origin->json): Add 'url-fetch/tarbom= b', > 'url-fetc/zipbomb', 'svn-multi-fetch' and 'hg-fetch' methods. Applied, thank you! Ludo=E2=80=99. ------------=_1591439402-12887-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 3 Jun 2020 14:58:33 +0000 Received: from localhost ([127.0.0.1]:44363 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jgUqe-0008LI-Q9 for submit@debbugs.gnu.org; Wed, 03 Jun 2020 10:58:33 -0400 Received: from lists.gnu.org ([209.51.188.17]:37064) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jgUqW-0008L3-O6 for submit@debbugs.gnu.org; Wed, 03 Jun 2020 10:58:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36486) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jgUqV-0001al-Mz for guix-patches@gnu.org; Wed, 03 Jun 2020 10:58:24 -0400 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]:56319) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jgUqU-0001FY-W2; Wed, 03 Jun 2020 10:58:23 -0400 Received: by mail-wm1-x32f.google.com with SMTP id c71so2234190wmd.5; Wed, 03 Jun 2020 07:58: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=gqLQwsxO5AOe+HIqMKLJkRV/8vHaIJKmY6axmYF+g2k=; b=AJzNSSYTRqVO7Uz1ZBR4P540eScvishRBZOJy2+RLtA5j7Xsk9QLeFLoaoL6kULWhZ D70rwWdOZsCZddBA9CISdUETz52DrfPcPXKz/bIKnJWlB3lTlCwCj8fyhkChxbHS1U1H fAq26hgizV3MweZRo+PwtsR3hfeBSCImtdQFrDoRbV3AuV705BeYcGl0TrkefBzbJJQb wuAYq7KcFyf14M8BOW786dnIJE1ZO/I8DF7VAbKGr6t6FgvjUZTpxDatxXIjqekO4GrM dpu4tPaUnlVKWfWDRy4QkKTQK8sQEBEVgxS//THnEHh7YJ1JfO+RuG1pIysVDjCXXg7s 3Ytw== 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=gqLQwsxO5AOe+HIqMKLJkRV/8vHaIJKmY6axmYF+g2k=; b=BEcam3rG1gIV+LXInstN2cIgFjurv3zn3vCkeAWQXMoqJ55AH3FyGVcEziZCPybQIO 4nT5LCklenu8m3otV3othcKuCgHEWF2w5k6rBn/1jsCl4NkjtQ0vYaA/CNMgHhAoYy89 6W0OLUGCJSz1u+qfT7vnNMr5JVxTHtX1SqaBoedHaqWVAqOLtGdPRGVYufVNNaZzF5wA Nbm4TgSjFl77iSW6vIcgzD86SdBEW4vkRKGWCzJuSTR03XB6VfQRntaKOJiKKTN6R582 bNzVNa2vP16ydSWwqDQfG0irUsRDUCxyytz8Pnolu8XsQ0/W8W6n9+/8oahBtJUHyYgN uMxg== X-Gm-Message-State: AOAM532lh6L1GMXp5uRhEF4oEoobS5mDOoott9sRzZHYwbxvRL8s62JH uxPKUUZaF4WOr1JIw/G7oyLegE7N X-Google-Smtp-Source: ABdhPJy+aMj+78aamkgeiM1GQvHyX3iKCVyWjVkYaHJOL25n9poy6RcXmKY9MLedphQQT77IN4sNtw== X-Received: by 2002:a1c:7414:: with SMTP id p20mr8956177wmc.124.1591196300505; Wed, 03 Jun 2020 07:58:20 -0700 (PDT) Received: from localhost.localdomain (57.246.195.77.rev.sfr.net. [77.195.246.57]) by smtp.gmail.com with ESMTPSA id q128sm3202526wma.38.2020.06.03.07.58.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jun 2020 07:58:19 -0700 (PDT) From: zimoun To: guix-patches@gnu.org Subject: [PATCH 0/1] Add svn-multi, hg, url/{tarbomb, zipbomb} to {sources, packages}.json Date: Wed, 3 Jun 2020 16:58:10 +0200 Message-Id: <20200603145810.13199-1-zimon.toutoune@gmail.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::32f; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x32f.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: 3 X-Spam_score: 0.3 X-Spam_bar: / X-Spam_report: (0.3 / 5.0 requ) BAYES_00=-1.9, DEAR_NOBODY=2.442, 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_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: submit Cc: ludo@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: -2.3 (--) Dear, This patch applies against commit 4efa5ce of guix-artwork. It adds missing sources; in preparation to SWH fetcher. Let me know if it is preferable to split it in 3 parts: svn-multi, hg and url bombs. The source of packages is summarized by, --8<---------------cut here---------------start------------->8--- guix build -f /tmp/origin/lister.scm \ | grep '#8--- These sources are still unarchivable by SWH: 1 bzr-fetch 3 cvs-fetch 30 computed-origin-method 67 no-origin Well, the 4 "historical" packages are --8<---------------cut here---------------start------------->8--- guix build -f /tmp/origin/lister.scm \ | grep ';;' | grep -E '(cvs|bzr)' ;; "bzr-fetch" # "libmemcached" ;; "cvs-fetch" # "emacs-w3m" ;; "cvs-fetch" # "gnu-standards" ;; "cvs-fetch" # "tidy" --8<---------------cut here---------------end--------------->8--- and "guix refresh -l" says --8<---------------cut here---------------start------------->8--- libmemcached Building the following 2 packages would ensure 2 dependent packages are rebuilt: python-pylibmc@1.6.1 python2-pylibmc@1.6.1 emacs-w3m No dependents other than itself: emacs-w3m@2018-11-11 gnu-standards No dependents other than itself: gnu-standards@2018-02-18 tidy Building the following 5 packages would ensure 9 dependent packages are rebuilt: hoedown@3.0.7 hugin@2019.2.0 emacs-telega@0.6.0-0.ae09592 arcanist@0.0.0-1.45a8d22 pumpa@0.9.3 --8<---------------cut here---------------end--------------->8--- What do we do for these 4 packages? Especially libmemcached and tidy? Last, what about the 30 'computed-origin-method' packages? All the best, simon --8<---------------cut here---------------start------------->8--- (define-module (lister) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix git-download) #:use-module (guix svn-download) #:use-module (guix hg-download) #:use-module (guix cvs-download) #:use-module (guix bzr-download) #:use-module (gnu packages)) (fold-packages (lambda (package result) (let ((method (if (origin? (package-source package)) (let* ((method (origin-method (package-source package))) (pkg (package-name package)) (print (lambda (p m) (format #t ";; ~s \t# ~s\n" m p)))) (cond ((eq? method bzr-fetch) (print pkg "bzr-fetch")) ((eq? method cvs-fetch) (print pkg "cvs-fetch")) ((eq? method svn-multi-fetch) (print pkg "svn-multi-fetch")) ((eq? method hg-fetch) (print pkg "hg-fetch"))) method) (begin (format #t ";; no-origin \t# ~s\n" (package-name package)) "#")))) (format #t "~s\n" method))) #f) (format #t "\n\n") (specification->package "hello") --8<---------------cut here---------------end--------------->8--- zimoun (1): website: Add fetch methods to JSON sources and packages list. website/apps/packages/builder.scm | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) -- 2.26.2 ------------=_1591439402-12887-1--