From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id uLSxBAcidmOYPwAAbAwnHQ (envelope-from ) for ; Thu, 17 Nov 2022 12:59:03 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 8JOuBAcidmN44QAA9RJhRA (envelope-from ) for ; Thu, 17 Nov 2022 12:59:03 +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 AEA0F214B0 for ; Thu, 17 Nov 2022 12:59:02 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ovdX4-00048N-FG; Thu, 17 Nov 2022 06:58:14 -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 1ovdX3-00048C-2K for emacs-orgmode@gnu.org; Thu, 17 Nov 2022 06:58:13 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ovdX0-0005Co-SW for emacs-orgmode@gnu.org; Thu, 17 Nov 2022 06:58:12 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id E9FA4240029 for ; Thu, 17 Nov 2022 12:58:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1668686288; bh=QJkTQJeFeUpkdlYVDnf8WCixO92xq25z0wuMONQB0xQ=; h=From:To:Cc:Subject:Date:From; b=SWgM6oIe949b9DabljhOPJF/gnq6zNT3MZ+5AHAXGPrW21ramvr7bcfF9TMXZMPHe M/ykK6WS5ZXmvUz49zxWghZE6U0YdAcuNUyldUh6GouG+V+hWEpy2bgqaLtbvue4Q6 2WR2p9RPq/GIIR14Ktntd4HxzMWynlOah9Y4n3J1BYH/lAN+MRj5YJDhMBbuI/L/4H PC5oQwdGq4nHBxkhxtsieffi2Wa8K5z0IXSkH60AXXeR+IIgdhZTWlWYqC1k797O3I +rw7B1I6pHLHrw6a83rcYRljX9KfQX/lWo/htf6LhRLHkkqrv0I4x7dXk11vFH+IlR rH71jyOgCYf/g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NCdhr2wfCz9rxG; Thu, 17 Nov 2022 12:58:04 +0100 (CET) From: Ihor Radchenko To: Simon Tournier Cc: emacs-orgmode@gnu.org, Philip Kaludercic , Bastien Subject: Re: About org-mode-tests and CI In-Reply-To: <87sfiiycat.fsf@gmail.com> References: <87sfiiycat.fsf@gmail.com> Date: Thu, 17 Nov 2022 11:58:46 +0000 Message-ID: <87fsehbxmx.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable 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=1668686342; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=PIbZe3dyMyHmA9Yx4QiLyZ82fDHPn1sMErvq5H+ooYw=; b=VsloLur0ZnZsjO39jZFaB6LutUflofW+0BjWQmDjUuqpM8ye/KWJ48dQOjeASfPOXV4e/8 ewYpmXx5vjtnxPuFDIJqejYnvRVd3JsVw8oP1uW5w8XKPX+0xA9DDomgBEujK0niavw6OV wiE6Jms9Pjtok5yCw4mKSSQh+OfltIN61PHlUAg7HmxKPEvU4tIF7fkLW/ZGlj5MLM2C+3 eCYY2IE5oHElBEAI+9Lp3nF9Y0PuJnw5TtYHZKP+YFEJ/IYdoMNgClVaclJKTN4UYcMgjL bX0frZIr3kiAZf/F8Pa1WIm9W8ksGRKxm3KVlMrE8aFYWqEXTDMUP8Dg0ETUYA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1668686342; a=rsa-sha256; cv=none; b=HjnKf4WkShfYP4TscdTfPNFLvRJNXeygunMCsBOlPvcvB0vAc73lAvsv7f+71lestsPszR GYBKS1xeQAWv6sG2H/XjitfYJHOo4k18RxzT6dNixjwUMStGrvtfsECZuK4YRJ1S2eX1EK FACLTv1INe+UkGhGKJLtw0uKCyyrPmbitHWYhm6LiYN1Lo/MSgXHYpsUT0F/n2zKolJPVH aXvNehNzxxgtyxUdqYKtmvT7K0EPuNE7qonnNqaapNBodO6AkbqQbFteuUyZNQn9CIWals TE4nR9Vg9Dt6rG6Nn1oUkGSarw3Ix3rirZoxCJr3k2EfdT6NR95WGondlAifiQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=SWgM6oIe; dmarc=pass (policy=none) header.from=posteo.net; 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: -2.03 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=SWgM6oIe; dmarc=pass (policy=none) header.from=posteo.net; 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: AEA0F214B0 X-Spam-Score: -2.03 X-Migadu-Scanner: scn1.migadu.com X-TUID: i3XcTHcGZXXK Simon Tournier writes: > 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. I am not sure what you mean here. Also, note that org-mode-tests has /local folder running local podman builds with reproducible environment. See https://git.sr.ht/~bzg/org-mode-tests/#usage > 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= state > (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 = could spend > more time in computing again and again this fixed state than running the > Org test suite. :-) I do not think that is it dramatically different from other images (debian/ubuntu). Need to install non-default packages one way or another. > 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= 3FF0E01EEAAFC9CD > > would be replaced by some images produced by =E2=80=9Cguix pack -f docker= =E2=80=9D > stored to some Docker registery. I guess it could be fine. Though I am not sure how the images are going to be upgraded then as the required packages (Elisp and system) are updated to new versions. > 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. ;-)) I think Bastien will contact you about this. He has access to the build servers. > 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.). Yep. Or maybe even Emacs itself? I am not sure if Emacs is currently using CI. Just recall talks about it. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at