From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: NonGNU ELPA Date: Sat, 24 Oct 2020 21:12:04 +0200 Message-ID: <87lffvwi9n.fsf@gmx.de> References: <8lm0yhy2jv5wsc.fsf@iki.fi> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8926"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: emacs-devel@gnu.org, Stefan Kangas , bugs@gnu.support, rms@gnu.org To: Antoine Kalmbach Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Oct 24 21:16:03 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kWP1H-0002Cd-CS for ged-emacs-devel@m.gmane-mx.org; Sat, 24 Oct 2020 21:16:03 +0200 Original-Received: from localhost ([::1]:42086 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kWP1G-0007bg-8I for ged-emacs-devel@m.gmane-mx.org; Sat, 24 Oct 2020 15:16:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52350) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kWOyA-0006yy-3v for emacs-devel@gnu.org; Sat, 24 Oct 2020 15:12:50 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:37285) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kWOy8-000397-4m; Sat, 24 Oct 2020 15:12:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1603566726; bh=GoRgWk82eZLq5mG3ahlqk18U1D3IlGYOhsb3VOEYxeI=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=hf9/xWWZDhoMlsoU1gylX5mW6PxVzw6QidPzgM/60WSyfdw1SSABJ5X0vhQTfn/0C pdLJCjhgWBSVpvZpJy6k1/ThDY9cW9VqwuHRvF69KttAYQLNvSCgDvJYjmmvQyQhFR fCA0IcREjlumELwxztJqBTLNEDXKT0eMu3cMilkg= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from gandalf.gmx.de ([212.86.54.44]) by mail.gmx.com (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1N3bX1-1kOSrV1tCd-010aog; Sat, 24 Oct 2020 21:12:06 +0200 In-Reply-To: <8lm0yhy2jv5wsc.fsf@iki.fi> (Antoine Kalmbach's message of "Sat, 24 Oct 2020 21:00:35 +0300") X-Provags-ID: V03:K1:bgl1TuUsfafUG+rWlg3xE5KbXWh59v+lC4Sj3KgmFgquVu4YcUZ Ycc/fvXtiD/pWpD0uSc/mR14FUgc5OktRkh8NSeJFoHQ3R7kEmFO8InqxSmmf+sMgaGdBib T2F4gW0kQGmFoUZctmYvDbIK5UTJGFNtZLa5poKoGGwrzrG1mN2XARzJ9RWv6aKOQDKrhxu G/mg8xbKOTV/LrqGbgFvw== X-UI-Out-Filterresults: notjunk:1;V03:K0:NjHN8/+coEk=:L2WsSHAAFtSeAQy8zTTdmh L5KFUtZnFGbPAylNiALzlsWUkaU5m7hOb8H61ZfYLm/+CBxXJHHXON4X/qHcALdE34pXK/bwV vGOGuw0Ilyq8YagyIsvFAv8spyWTaynqR6S8mxuZK/+ybFRuYpmBlmIeO3Ri/+0w42dh32Cud n3kMixoMzxe/k23W8b7vQ7xc/lUZEkfthFf0QxKO+XC+oHjlmSaE7X89/Ug+/ztUYXwG1+Sou 2tCkXaVetyLRuAysYV+fvRUjclDmqlnB6O6q39x3TBy5xsB4NVre5/ccAS9ppcbw5v1EEgYPH e9J0Sl2KQy8G0MkWstOvqA1SYuIzPx5M7cSh7nxTs2d2+6AdtS0cWMAsFMd3dQhqG8dWQhU6M I+B0+c6fS1CE9jKy/9npliWrwl/YnBqo0WQlVfWyN0Ytl8+zQM+X5cm83uHarMgtS+D+6Ls2W 4cUgkAMnDryzKCuD9gegKN2beNKKGu3lKmyKqfKDZxdwR4eqL4wto/LBNB8yTl4N10IUxKfWT SJ7pNdid79yocFVPEvwEn4gLgDV3MzGfYAjzHq+oybfMcQjDqximIDmsbM3SEzTVz8XZLCT6Z mveAhPLaA00JCt66mQ2ouki2YosNnU0zHyg6udIXG0xH0kjezpb4pjNj0ooka0t8NIBoWv2o0 UnkdwDF3kQZdsXoIemzAeV4RZlVanIL7kBXaANsGOga2Uaq2Pvuun3b6ntQiNpa1YV+UNrvS8 38MMrhpj6FedqxHe8GchE7PZJ/2VRwsm0eST0V0Enq5m+8tutPkRmhvwTGirCWfwrh9QWQij Received-SPF: pass client-ip=212.227.17.20; envelope-from=michael.albinus@gmx.de; helo=mout.gmx.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/24 15:12:45 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:258434 Archived-At: Antoine Kalmbach writes: Hi Antoine, > I think the gist of the ELPA CI would be something like: > > 1. Clone the repository and emacs.git Well, emacs.git is already cloned and compiled on emba.gnu.org regularly. I guess we could use the artifacts of such a build for a running Emacs. And this step shall also take into account the external packages. > 2. Build the package archive Depends how it is called. If it is called for every push to the elpa repository, it might not be wise to build always a whole archive. Just the package in question shall be built. > These steps already have automation in place, since that's what is done > for building the ELPA index. Then, for the CI run, > > 3. Start a batch Emacs instance and replace `package-archives' with > (("elpa-test" . "/path/to/built/archive")) where that path points > to the built package archive in step 2. The GNUmakefile knows already the target archive. > 4. Loop through each package and run `package-install` on it. Or do it for the package in question. > 5. Optionally run also some linters etc., like checkdoc. Yep. Some packages come with ERT tests, they could run. > The good part about this is that it's essentially just taking existing > automation one step further, i.e. verifying each package in the > repository can actually be installed. I have no idea what's going to > happen with cyclic dependencies though. I suppose package.el can handle > all that. Could you write an initial .gitlab-ci.yml? You might look at the respective file in the Emacs repo (which also needs some improvements). Thanks, and best regards, Michael.