From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id SOiUJiO7115LQwAA0tVLHw (envelope-from ) for ; Wed, 03 Jun 2020 15:00:51 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 6LJ5IiO71142BgAAbx9fmQ (envelope-from ) for ; Wed, 03 Jun 2020 15:00:51 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E70D994036C for ; Wed, 3 Jun 2020 15:00:50 +0000 (UTC) Received: from localhost ([::1]:47230 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jgUsr-0006nR-RS for larch@yhetil.org; Wed, 03 Jun 2020 11:00:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36564) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jgUr8-00030x-ST for guix-patches@gnu.org; Wed, 03 Jun 2020 10:59:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:32817) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jgUr8-0001MX-HC for guix-patches@gnu.org; Wed, 03 Jun 2020 10:59:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jgUr8-0008M9-HE for guix-patches@gnu.org; Wed, 03 Jun 2020 10:59:02 -0400 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 X-Spam-Score: -2.3 (--) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=AJzNSSYT; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 4.09 X-TUID: nTtZ9w8Gz5zX 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