From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 0GwZO3UudWP1awAAbAwnHQ (envelope-from ) for ; Wed, 16 Nov 2022 19:39:50 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id IFv+OnUudWPcSAEA9RJhRA (envelope-from ) for ; Wed, 16 Nov 2022 19:39:49 +0100 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 5588D1391F for ; Wed, 16 Nov 2022 19:39:49 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ovNJQ-0004Wi-1l; Wed, 16 Nov 2022 13:39:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ovNJN-0004WD-Nq for emacs-orgmode@gnu.org; Wed, 16 Nov 2022 13:39:01 -0500 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ovNJJ-0005vA-AO; Wed, 16 Nov 2022 13:38:59 -0500 Received: by mail-wm1-x335.google.com with SMTP id v7so12544647wmn.0; Wed, 16 Nov 2022 10:38:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=/D5Tkv7sVli6+OEnk0ekFP7L33RG/ek3raz5UvPYHow=; b=bbVzjpFGVcwPEnSrp8WsX+Q1QnjmQfU91XVa1NlX04cEgoCl+PcxPtXVbK5KJlYm+I Ox9VyAmUW7xDmA7PqLNys+Ixgr35CpwrnChVYHrS88uSYiGLBSt+Q1zUTX1feOSm5LOs NstVQnCcqt9lXMjdg7H1inIO3Sc1PSd2QiZKolUgIZHM6SFuhPkducxCRuqcuw3eDiOD xdjk4ArAyXwpOkZN0WBX8L9BLMsLTUVuNCiNcHWOQcSMQqhr6fMe3EgpCqH6vMLdRjhO Fm2LzTA4Dt+Q5eU/ViFPIf0htPhOa4Nv/wV+DWq0/tdVlz7DdpYoTIEbZcGqwKJcV3XD 08cA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=/D5Tkv7sVli6+OEnk0ekFP7L33RG/ek3raz5UvPYHow=; b=v0mlizkZG+ls0nn68ih/Rk5Lvb36J8CsYot5fW2gyhLZMlYP7hGKdTgfKMcq1U5fQp aA0mZIAbzw25oorV1eGbWWZIOXyjQNyhJFfzMQBEFcMFcZW34zJcLV7kZ5Dn0DdBkPeh kGNE8Mn2rEXbzgkjXjbVm6OMcdHICCtAovROeDcel5pNHJEsNKrtVQJw/EnZ/i3WFOoj 4dIuZAN3kw7ggoZbXWdd0Eaol55SMf95DVgs8W55d6S8Hmtes5O89hPvTlj1rfaWgjSd iuImPni896Scm4VhY07PVNfH0A34fAIwtg/EllDPU4i7nguBWw4Y5442BdjwAHd7J0Yb Ow8w== X-Gm-Message-State: ANoB5pkkWpzWCKxqStoqtan+/zmyjc6ETo0du7/H4uyuoqF1dg4Lg9rO UDGAklM7z7KQcK6LggBvDVoQPJrOsoU= X-Google-Smtp-Source: AA0mqf7cfA2EjbBX+f5NH0zrAWuPkm7gy/hxKWjTVLRgOBqWFRqDhvz6iWlNaHrTuqBT/MVUt7vGhg== X-Received: by 2002:a05:600c:1c84:b0:3cf:e137:b31d with SMTP id k4-20020a05600c1c8400b003cfe137b31dmr3005755wms.205.1668623933377; Wed, 16 Nov 2022 10:38:53 -0800 (PST) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id c2-20020a5d4cc2000000b0023655e51c14sm15306115wrt.32.2022.11.16.10.38.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Nov 2022 10:38:52 -0800 (PST) From: Simon Tournier To: emacs-orgmode@gnu.org Cc: Philip Kaludercic , Bastien Subject: About org-mode-tests and CI Date: Wed, 16 Nov 2022 19:38:50 +0100 Message-ID: <87sfiiycat.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::335; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x335.google.com 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-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1668623989; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=/D5Tkv7sVli6+OEnk0ekFP7L33RG/ek3raz5UvPYHow=; b=gHxIcBX1dzE3jxCPFlSMeZuPq3ESsqq+ddICayWeT14FNBQNl+uWeCs8O9wMjvSzZAC7DQ l+NzDa0ybK62hQ4rl7Tl5iEePkOcL2TtPMp74JUaRCfKaiPSkuxI8qyP7f4iFzt+knljem g92Ns8K5YSVwH+xxNIjxKnloLKGJLJik0X5U+m9K0KVCcHxzspQitJy+oi4id9ivrdFyK+ DrY3/wuKIBgpmW5neZuWZJpmJ1d0HtDL3X9/Ezs8qzolDre8pKpcozSkPNQ41ohEZE3CWY PgWNi2IuxSxMuZg0fuNUpA58DctNO9bdU7HyJouQQc2YDpUUOwforJHf63hHSA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1668623989; a=rsa-sha256; cv=none; b=Zuhvfg1GBpIU7A8bVD0VJO6wXAwv8VBrSqmGGu7KfhnlVZAfohwlp3JT1kvWkDXmLKewHi urdZyYsbD5PE8ZNF2blBH3iGHl5pFCpih395Ty5Nj7CXaooX9atmasyuDR1ADB/QBYk1OE +g8C9vKbTafml9n0gW3keaDxHra7YIZQVLfbN31GfYEQwqybhRFR2WQjedz7JEu2JUFwis vo1iXMJYXu6L8wqzv3xhKRg3KwVfsPdwoYYGtsw3u29dmOkqc/gaquXxMOZd3eJNj9pluP 5nYCyNkqVXD67RTpcIuYAIjBsrJkAHUEorfmKo46QjtOJ9igSPws6wJKY3rgQw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=bbVzjpFG; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.23 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=bbVzjpFG; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 5588D1391F X-Spam-Score: -3.23 X-Migadu-Scanner: scn0.migadu.com X-TUID: oMHH6yqyYLH1 Hi, Recently, Bastien told me about using GNU Guix for some tests of Org. Neat! Then, Bastien pointed this org-mode-tests [1] effort. Unrelated, Philip provides Guix recipes [2] for various old Emacs versions. Org and Guix are part of the GNU system. Therefore, we could imagine to bridge instead of relying on Debian. :-) Moreover, what would be another advantage? Run the exact same computational environment from locally to SourceHut builds. Two directions: 1. The SourceHut image of Guix [3] could be used but =E2=80=93 and maybe I = am missing a point since I am not an expert about SourceHut CI =E2=80=93 the s= tate (revision) of this image is not controlled and thus it requires something like: image: guix tasks: - guix: | guix pull -C project/path/to/channels.scm Well, I do not know how SourceHut is caching but somehow the .yml configuration leads to always the same computational environment (image), in which =E2=80=9Cmake test=E2=80=9D is run. Therefore, the CI co= uld spend more time in computing again and again this fixed state than running the Org test suite. :-) 2. Using [2], it appears to me almost straightforward to build beforehand a Docker pack containing all the requirements; say emacs@26, curl, gcc-toolchain, git, etc. And this Docker pack would be built using GNU Guix, guix pack -f docker -m manifest.scm where the file manifest.scm lists all the requirements. Using adequate option as --save-provenance, this Docker pack can be inspectable [4] and it could be stored to any Docker registery. Hence, the line, image: debian/oldstable or some images as, image: ubuntu/focal repositories: emacs: http://ppa.launchpad.net/kelleyk/emacs/ubuntu focal main 3= FF0E01EEAAFC9CD would be replaced by some images produced by =E2=80=9Cguix pack -f docker= =E2=80=9D stored to some Docker registery. All in all, I forked the project [1] but the SourceHuts build (CI) requires some fee, right? Well, let me know how we could test this approach of using Guix as base for running Org test suite. (The maintenance of such can be part of the story too. ;-)) Last, without putting the cart before the horse, I think this work could be a kind of preliminary proof-of-concept for testing Emacs packages (ELPA, MELPA, etc.). Cheers, simon 1: https://git.sr.ht/~bzg/org-mode-tests 2: https://git.sr.ht/~pkal/guix-emacs-historical 3: https://man.sr.ht/~dhruvin/builds.sr.ht-guix-cookbook/ 4: https://hpc.guix.info/blog/2021/10/when-docker-images-become-fixed-point/